[PATCH 0/3] modpost: work around unaligned data access

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Dec 27 05:31:30 PST 2024


Hi Masahiro,

On Thu, 2024-12-26 at 22:55 +0900, Masahiro Yamada wrote:
> > I have just applied this series against Linus' tree and I can confirm that it fixes the
> > unalignment access anymore on sparc64. There is no more "Bus error" and the build succeeds.
> > 
> > Tested-by: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
> 
> 
> Thanks for the compile test.
> 
> Loadable modules (*.ko files) are relocatable ELF.
> So, there is no alignment in *.ko files any more
> if the latest binutils is used.
> 
> Just in case, I did run-tests for arm and arm64.
> Even if there is no alignment in *.ko files,
> I confirmed that the kernel can load modules.
> 
> If you have time, please run-test and
> double-check loadable modules are working.

I have just verified that. I applied your series against v6.13-rc4 and can confirm
that module loading works without any issues on sparc64. Tested on SPARC T5 LDOM.

So, please extend my Tested-By to both compile and runtime testing on sparc64.

Tested-by: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the linux-arm-kernel mailing list