[PATCHv4 06/17] arm64: sdei: move uaccess logic to arch/arm64/

Catalin Marinas catalin.marinas at arm.com
Mon Nov 16 12:42:23 EST 2020


On Fri, Nov 13, 2020 at 12:49:26PM +0000, Mark Rutland wrote:
> The SDEI support code is split across arch/arm64/ and drivers/firmware/,
> largley this is split so that the arch-specific portions are under
> arch/arm64, and the management logic is under drivers/firmware/.
> However, exception entry fixups are currently under drivers/firmware.
> 
> Let's move the exception entry fixups under arch/arm64/. This
> de-clutters the management logic, and puts all the arch-specific
> portions in one place. Doing this also allows the fixups to be applied
> earlier, so things like PAN and UAO will be in a known good state before
> we run other logic. This will also make subsequent refactoring easier.
> 
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Christoph Hellwig <hch at lst.de>
> Cc: James Morse <james.morse at arm.com>
> Cc: Will Deacon <will at kernel.org>

James, could you please have a look at the SDEI changes in this series
and give an ack/reviewed-by if all looks fine? I plan to queue them
sometime this week.

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list