[PATCHv4 14/17] arm64: uaccess: remove set_fs()
Catalin Marinas
catalin.marinas at arm.com
Mon Nov 16 12:40:48 EST 2020
Hi Mark,
On Fri, Nov 13, 2020 at 12:49:34PM +0000, Mark Rutland wrote:
> We no longer need to flip UAO to access kernel memory under KERNEL_DS,
> and head.S unconditionally clears UAO for all kernel configurations via
> an ERET in init_kernel_el. Thus, we don't need to dynamically flip UAO,
> nor do we need to context-switch it. However, we do need to clear UAO
> (and set PAN) during SDEI entry.
If the kernel never sets the UAO bit, why do we need to clear it during
SDEI entry?
--
Catalin
More information about the linux-arm-kernel
mailing list