Thread (10 messages) flat view 10 messages, 4 authors, 2022-01-28

Re: [PATCH 0/2] powerpc: Disable syscall emulation and stepping

From: Christophe Leroy <hidden>
Date: 2022-01-24 06:40:31


Le 24/01/2022 à 06:57, Nicholas Piggin a écrit :
As discussed previously

https://lists.ozlabs.org/pipermail/linuxppc-dev/2022-January/238946.html

I'm wondering whether PPC32 should be returning -1 for syscall
instructions too here? That could be done in another patch anyway.
The 'Programming Environments Manual for 32-Bit Implementations of the 
PowerPC™ Architecture' says:

The following are not traced:
• rfi instruction
• sc and trap instructions that trap
• Other instructions that cause interrupts (other than trace interrupts)
• The first instruction of any interrupt handler
• Instructions that are emulated by software


So I think PPC32 should return -1 as well.

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