Thread (3 messages) flat view 3 messages, 2 authors, 2020-09-09

Re: [PATCH] selftests/powerpc: Fix prefixes in alignment_handler signal handler

From: Michael Ellerman <hidden>
Date: 2020-09-09 14:04:02

On Mon, 24 Aug 2020 23:12:31 +1000, Jordan Niethe wrote:
The signal handler in the alignment handler self test has the ability to
jump over the instruction that triggered the signal. It does this by
incrementing the PT_NIP in the user context by 4. If it were a prefixed
instruction this will mean that the suffix is then executed which is
incorrect. Instead check if the major opcode indicates a prefixed
instruction (e.g. it is 1) and if so increment PT_NIP by 8.

[...]
Applied to powerpc/next.

[1/1] selftests/powerpc: Fix prefixes in alignment_handler signal handler
      https://git.kernel.org/powerpc/c/db96221a683342fd4775fd820a4d5376cd2f2ed0

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help