Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fix from Catalin Marinas:
"Fix memory corruption (overwriting the kmalloc redzone) when saving
the SVE state while in SVE streaming mode"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: sme: Use STR P to clear FFR context field in streaming SVE mode

+3 -3
+3 -3
arch/arm64/include/asm/fpsimdmacros.h
··· 316 316 _for n, 0, 15, _sve_str_p \n, \nxbase, \n - 16 317 317 cbz \save_ffr, 921f 318 318 _sve_rdffr 0 319 - _sve_str_p 0, \nxbase 320 - _sve_ldr_p 0, \nxbase, -16 321 319 b 922f 322 320 921: 323 - str xzr, [x\nxbase] // Zero out FFR 321 + _sve_pfalse 0 // Zero out FFR 324 322 922: 323 + _sve_str_p 0, \nxbase 324 + _sve_ldr_p 0, \nxbase, -16 325 325 mrs x\nxtmp, fpsr 326 326 str w\nxtmp, [\xpfpsr] 327 327 mrs x\nxtmp, fpcr