Re: [PATCH v2 05/13] powerpc: use linux/unaligned/le_struct.h on LE power7

2021-05-14 Thread Arnd Bergmann
On Fri, May 14, 2021 at 1:48 PM Segher Boessenkool wrote: > On Fri, May 14, 2021 at 12:00:53PM +0200, Arnd Bergmann wrote: > > Little-endian POWER7 kernels disable > > CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS because that is not supported on > > the hardware, but the kernel still uses direct load/st

Re: [PATCH v2 05/13] powerpc: use linux/unaligned/le_struct.h on LE power7

2021-05-14 Thread Segher Boessenkool
Hi Arnd, On Fri, May 14, 2021 at 12:00:53PM +0200, Arnd Bergmann wrote: > Little-endian POWER7 kernels disable > CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS because that is not supported on > the hardware, but the kernel still uses direct load/store for explicti > get_unaligned()/put_unaligned(). > >

[PATCH v2 05/13] powerpc: use linux/unaligned/le_struct.h on LE power7

2021-05-14 Thread Arnd Bergmann
From: Arnd Bergmann Little-endian POWER7 kernels disable CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS because that is not supported on the hardware, but the kernel still uses direct load/store for explicti get_unaligned()/put_unaligned(). I assume this is a mistake that leads to power7 having to trap