Re: [PATCH 10/10] powerpc: move norestart trap flag to bit 0

2021-03-16 Thread Christophe Leroy
Le 16/03/2021 à 08:11, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of March 15, 2021 6:14 pm: Le 15/03/2021 à 04:17, Nicholas Piggin a écrit : Compact the trap flags down to use the low 4 bits of regs.trap. A few 64e interrupt trap numbers set bit 4. Although they t

Re: [PATCH 10/10] powerpc: move norestart trap flag to bit 0

2021-03-16 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of March 15, 2021 6:14 pm: > > > Le 15/03/2021 à 04:17, Nicholas Piggin a écrit : >> Compact the trap flags down to use the low 4 bits of regs.trap. >> >> A few 64e interrupt trap numbers set bit 4. Although they tended to be >> trivial so it wasn't a rea

Re: [PATCH 10/10] powerpc: move norestart trap flag to bit 0

2021-03-15 Thread Christophe Leroy
Le 15/03/2021 à 04:17, Nicholas Piggin a écrit : Compact the trap flags down to use the low 4 bits of regs.trap. A few 64e interrupt trap numbers set bit 4. Although they tended to be trivial so it wasn't a real problem[1], it is not the right thing to do, and confusing. [*] E.g., 0x310 hype

[PATCH 10/10] powerpc: move norestart trap flag to bit 0

2021-03-14 Thread Nicholas Piggin
Compact the trap flags down to use the low 4 bits of regs.trap. A few 64e interrupt trap numbers set bit 4. Although they tended to be trivial so it wasn't a real problem[1], it is not the right thing to do, and confusing. [*] E.g., 0x310 hypercall goes to unknown_exception, which prints regs