|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2] AMD IOMMU: use ioremap()
On 7/10/2013 5:49 AM, Jan Beulich wrote: There's no point in using the fixmap here, and it gets map_iommu_mmio_region() in line with unmap_iommu_mmio_region(), which was already using iounmap() (thus crashing if actually used). Signed-off-by: Jan Beulich<jbeulich@xxxxxxxx> --- a/xen/drivers/passthrough/amd/iommu_init.c +++ b/xen/drivers/passthrough/amd/iommu_init.c @@ -48,19 +48,10 @@ static int iommu_has_ht_flag(struct amd_static int __init map_iommu_mmio_region(struct amd_iommu *iommu) This should have been "if ( !iommu->mmio_base )". Once I changed the above logic, IOMMU is initialized correctly. I have
tested pass-though a NIC and thing looks fine.
Suravee _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |