[PATCH v2 03/13] arm64: mm: Implicitly invalidate user ASID based on TLBI operation
Jonathan Cameron
jonathan.cameron at huawei.com
Tue Jan 27 03:31:30 PST 2026
On Mon, 19 Jan 2026 17:21:50 +0000
Ryan Roberts <ryan.roberts at arm.com> wrote:
> When kpti is enabled, separate ASIDs are used for userspace and
> kernelspace, requiring ASID-qualified TLB invalidation by virtual
> address to invalidate both of them.
>
> Push the logic for invalidating the two ASIDs down into the low-level
> tlbi-op-specific functions and remove the burden from the caller to
> handle the kpti-specific behaviour.
>
> Co-developed-by: Will Deacon <will at kernel.org>
> Signed-off-by: Will Deacon <will at kernel.org>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
More information about the linux-arm-kernel
mailing list