Re: [PATCH 10/10] iommu/amd: Copy the old ir table

2015-10-10 Thread Baoquan He
On 09/29/15 at 06:11pm, Joerg Roedel wrote: > On Thu, Sep 24, 2015 at 02:37:36PM +0800, Baoquan He wrote: > Is it necessary to copy the old ir tables? On AMD these tables are > per-device, so it is probably the best to handle them like the io > page-tables and just update the pointer to it in the d

Re: [PATCH 10/10] iommu/amd: Copy the old ir table

2015-09-29 Thread Joerg Roedel
On Thu, Sep 24, 2015 at 02:37:36PM +0800, Baoquan He wrote: > Signed-off-by: Baoquan He > --- > drivers/iommu/amd_iommu.c | 25 +++-- > 1 file changed, 19 insertions(+), 6 deletions(-) > > diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c > index 1e86f4c..f4f