Thread (22 messages) 22 messages, 4 authors, 2025-09-22

Re: [PATCH v3 7/8] arm64/efi: Move uaccess en/disable out of efi_set_pgd()

From: Will Deacon <will@kernel.org>
Date: 2025-09-19 11:36:05
Also in: linux-efi, lkml

On Thu, Sep 18, 2025 at 12:30:18PM +0200, Ard Biesheuvel wrote:
From: Ard Biesheuvel <ardb@kernel.org>

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@kernel.org>
---
 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@kernel.org>

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help