On Fri, Apr 2, 2021 at 12:39 AM Michael Ellerman [off-list ref] wrote:
Hi Jordan,
Jordan Niethe [off-list ref] writes:
quoted
Load Multiple Word (lmw) and Store Multiple Word (stmw) will raise an
Alignment Exception:
- Little Endian mode: always
- Big Endian mode: address not word aligned
These conditions do not depend on cache inhibited memory. Test the
alignment handler emulation of these instructions regardless of if there
is cache inhibited memory available or not.
Signed-off-by: Jordan Niethe <redacted>
---
.../powerpc/alignment/alignment_handler.c | 96 ++++++++++++++++++-
1 file changed, 94 insertions(+), 2 deletions(-)
Because of dd3a44c06f7b ("selftests/powerpc: Only test lwm/stmw on big endian")
this will need a respin sorry.
You'll need to add macros to generate lmw/stmw using .long, to avoid the
bug fixed in that commit.
Thanks, I will resend.
cheers