Re: [PATCH v3 11/18] powerpc: Add ZEROIZE_GPRS macros for register clears

2022-08-18 Thread Christophe Leroy
Le 19/08/2022 à 05:37, Rohan McLure a écrit : > Macros for restoring and saving registers to and from the stack exist. > Provide macros with the same interface for clearing a range of gprs by > setting each register's value in that range to zero. > > The resulting macros are called ZEROIZE_GPRS

[PATCH v3 11/18] powerpc: Add ZEROIZE_GPRS macros for register clears

2022-08-18 Thread Rohan McLure
Macros for restoring and saving registers to and from the stack exist. Provide macros with the same interface for clearing a range of gprs by setting each register's value in that range to zero. The resulting macros are called ZEROIZE_GPRS and ZEROIZE_NVGPRS, keeping with the naming of the accompa