[PATCHv4 14/17] arm64: uaccess: remove set_fs()

Catalin Marinas catalin.marinas at arm.com
Tue Nov 17 06:10:44 EST 2020


On Tue, Nov 17, 2020 at 11:07:58AM +0000, Mark Rutland wrote:
> On Tue, Nov 17, 2020 at 11:02:20AM +0000, Catalin Marinas wrote:
> > Could we apply the same logic to SDEI+PAN?
> 
> I don't think we can; existing TF-A FW will clear PAN (since it
> generates the new PSTATE from scratch), so we need to set PAN explicitly
> to support that.

Ah, you are right, we need PAN set (and UAO clear).

-- 
Catalin



More information about the linux-arm-kernel mailing list