Message ID | 4555187.D5eRSF5r8x@mexican (mailing list archive) |
---|---|
State | Accepted |
Commit | 67bfa0ee6691f62d5e2d9602d032a19716fe7b34 |
Headers | show |
On Wed, Jan 29, Alistair Popple wrote: > Looks like I missed the dart iommu code when changing the iommu table > initialisation. The patch below should fix it, would you mind testing it Ben? > +++ b/arch/powerpc/sysdev/dart_iommu.c > + iommu_table_dart.it_page_shift = IOMMU_PAGE_SHIFT_4K; Yes, that fixes it for me. Thanks! Olaf
diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c index bd968a4..62c47bb 100644 --- a/arch/powerpc/sysdev/dart_iommu.c +++ b/arch/powerpc/sysdev/dart_iommu.c @@ -292,6 +292,7 @@ static void iommu_table_dart_setup(void) iommu_table_dart.it_offset = 0; /* it_size is in number of entries */ iommu_table_dart.it_size = dart_tablesize / sizeof(u32); + iommu_table_dart.it_page_shift = IOMMU_PAGE_SHIFT_4K; /* Initialize the common IOMMU code */ iommu_table_dart.it_base = (unsigned long)dart_vbase;