Re: [PATCH v4 2/7] powerpc/64: Add interrupt register sanitisation macros

2022-11-29 Thread Nicholas Piggin
On Tue Nov 29, 2022 at 2:43 PM AEST, Rohan McLure wrote: > Include in asm/ppc_asm.h macros to be used in multiple successive > patches to implement zeroising architected registers in interrupt > handlers. Registers will be sanitised in this fashion in future patches > to reduce the speculation

[PATCH v4 2/7] powerpc/64: Add interrupt register sanitisation macros

2022-11-28 Thread Rohan McLure
Include in asm/ppc_asm.h macros to be used in multiple successive patches to implement zeroising architected registers in interrupt handlers. Registers will be sanitised in this fashion in future patches to reduce the speculation influence of user-controlled register values. These mitigations will