Re: [PATCH v3 7/8] arm64/efi: Move uaccess en/disable out of efi_set_pgd()
From: Will Deacon
Date: Fri Sep 19 2025 - 07:36:05 EST
On Thu, Sep 18, 2025 at 12:30:18PM +0200, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@xxxxxxxxxx>
>
> efi_set_pgd() will no longer be called when invoking EFI runtime
> services via the efi_rts_wq work queue, but the uaccess en/disable are
> still needed when using PAN emulation using TTBR0 switching. So move
> these into the callers.
>
> Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
> ---
> arch/arm64/include/asm/efi.h | 13 +++----------
> arch/arm64/kernel/efi.c | 18 ++++++++++++++++++
> 2 files changed, 21 insertions(+), 10 deletions(-)
Thanks. This addresses the comment I made last time around:
Acked-by: Will Deacon <will@xxxxxxxxxx>
Will