Re: [PATCH v2 14/14] powerpc/64s: Clear gprs on interrupt routine entry

2022-08-12 Thread Andrew Donnellan
On Mon, 2022-07-25 at 16:32 +1000, 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 v2 14/14] powerpc/64s: Clear gprs on interrupt routine entry

2022-07-25 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