[PATCH 3/3] powerpc/sstep: Always test lmw and stmw

Jordan Niethe jniethe5 at gmail.com
Tue Apr 6 12:04:23 AEST 2021


On Fri, Apr 2, 2021 at 12:39 AM Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> Hi Jordan,
>
> Jordan Niethe <jniethe5 at gmail.com> writes:
> > 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 <jniethe5 at gmail.com>
> > ---
> >  .../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


More information about the Linuxppc-dev mailing list