[PATCH v2 11/14] powerpc/64s: Clear/restore caller gprs in syscall interrupt/return
Segher Boessenkool
segher at kernel.crashing.org
Fri Aug 12 01:13:02 AEST 2022
Hi!
On Mon, Jul 25, 2022 at 04:31:11PM +1000, Rohan McLure wrote:
> + /*
> + * Zero user registers to prevent influencing speculative execution
> + * state of kernel code.
> + */
> + NULLIFY_GPRS(5, 12)
> + NULLIFY_NVGPRS()
"Nullify" means "invalidate", which is not what this does or is for :-(
Segher
More information about the Linuxppc-dev
mailing list