Re: [PATCH 22/23] powerpc/64s: Clear gprs on interrupt routine entry in Book3S

2022-09-19 Thread Nicholas Piggin
On Fri Sep 16, 2022 at 3:32 PM AEST, Rohan McLure wrote: > Zero GPRS r0, r2-r11, r14-r31, on entry into the kernel for all > other interrupt sources to limit influence of user-space values > in potential speculation gadgets. The remaining gprs are overwritten by > entry macros to interrupt

[PATCH 22/23] powerpc/64s: Clear gprs on interrupt routine entry in Book3S

2022-09-15 Thread Rohan McLure
Zero GPRS r0, r2-r11, r14-r31, on entry into the kernel for all other interrupt sources to limit influence of user-space values in potential speculation gadgets. The remaining gprs are overwritten by entry macros to interrupt handlers, irrespective of whether or not a given handler consumes these