----- Ursprüngliche Message ----- > Von: David Miller <davem@xxxxxxxxxxxxx> > An: linux@xxxxxxxxxx > Cc: roland@xxxxxxxxxxxxxxx; sparclinux@xxxxxxxxxxxxxxx; linux-rdma@xxxxxxxxxxxxxxx > Gesendet: 7:55 Freitag, 18.November 2011 > Betreff: Re: [BUG] Bad page map in process ibv_devinfo > > From: David Miller <davem@xxxxxxxxxxxxx> > Date: Fri, 18 Nov 2011 01:17:08 -0500 (EST) > >> That explains everything. The problem is that we don't do the sparc64 >> PTE handling code patching in modules. So it's left at the default 4U >> versions. > ... >> I'll work on a fix for this. > > Ok, please test this out, thanks! > > -------------------- > [PATCH] sparc64: Patch sun4v code sequences properly on module load. > > Some of the sun4v code patching occurs in inline functions visible > to, and usable by, modules. > > Therefore we have to patch them up during module load. > > Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> > --- > arch/sparc/kernel/entry.h | 7 ++++++ > arch/sparc/kernel/module.c | 27 +++++++++++++++++++++++ > arch/sparc/kernel/setup_64.c | 48 +++++++++++++++++++++++++---------------- > 3 files changed, 63 insertions(+), 19 deletions(-) > Hi David, I could apply also your second patch to linux-2.6.39.4 manually. So you don't need to write another version. Now I'll try to test it with the new OFED drivers... 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