On 08.04.2016 16:59, Helge Deller wrote: >>>>> So, it seems that handling exceptions from modules never worked on >>>>> pa-risc, it was just masked by the fact that exceptions from modules don't >>>>> happen during normal use. >>> >>> Sadly you seem to be right :-( >>> I did more testing with the test_user_copy module (with vanilla kernel 4.5 and without the relative extable support). >> >> The attached patch fixes the exception handling for modules for me. >> This is realized by saving the %r27 register in the fault handler and restoring it in the exception path. >> With this patch the "test_user_copy" kernel module succeeds when loaded. >> Mikulas, can you try it with your testcases ? > > Attached patch additionally adds support for resolving R_PARISC_PCREL32 relocations, > which fixes the 32bit extable change which was introduced with kernel 4.6-rc1. > > With that I think we have all module issues resolved ? I've pushed all relevant changes into my for-next tree which can be pulled: http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next Helge -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html