David Miller <davem@xxxxxxxxxxxxx> wrote: > Can someone with the effected hardware please test this? > > -------------------- > [PATCH] sparc: Kill custom io_remap_pfn_range(). > > To handle the large physical addresses, just make a simple wrapper > around remap_pfn_range() like MIPS does. > > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > --- > arch/sparc/include/asm/pgtable_32.h | 20 ++++- > arch/sparc/include/asm/pgtable_64.h | 20 ++++- > arch/sparc/mm/Makefile | 1 - > arch/sparc/mm/generic_32.c | 99 --------------------- > arch/sparc/mm/generic_64.c | 165 ----------------------------------- > 5 files changed, 32 insertions(+), 273 deletions(-) > delete mode 100644 arch/sparc/mm/generic_32.c > delete mode 100644 arch/sparc/mm/generic_64.c > Hello David! After applying your patch I still get the errors: [ 1117.556582] swap_free: Bad swap file entry 100004e000061800 [ 1117.556710] BUG: Bad page map in process ibv_devinfo pte:9c0000c300104608 pmd:00f882d0 [ 1117.556827] addr:fffff80100114000 vm_flags:400844fa anon_vma: (null) mapping:fffff807f623a410 index:6180082 [ 1117.557007] vma->vm_file->f_op->mmap: ib_uverbs_mmap+0x8/0x38 [ib_uverbs] [ 1117.557054] Call Trace: [ 1117.557093] [00000000004ccff8] unmap_vmas+0x514/0x7f4 [ 1117.557143] [00000000004d0d14] unmap_region+0xb4/0x164 [ 1117.557192] [00000000004d1d60] do_munmap+0x2a8/0x31c [ 1117.557247] [000000000042d340] SyS_64_munmap+0x88/0xa8 [ 1117.557302] [0000000000406154] linux_sparc_syscall+0x34/0x44 [ 1117.557347] Disabling lock debugging due to kernel taint Regards, Lukas -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html