]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
authorWill Deacon <will.deacon@arm.com>
Thu, 10 Aug 2017 13:13:33 +0000 (14:13 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 11 Dec 2017 13:40:44 +0000 (13:40 +0000)
commit9b0de864b5bc298ea53005ad812f3386f81aee9c
tree5143abb5c7341b5b8ace917388e8a5ba534852c1
parentfc0e1299da548b32440051f58f08e0c1eb7edd0b
arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI

Since an mm has both a kernel and a user ASID, we need to ensure that
broadcast TLB maintenance targets both address spaces so that things
like CoW continue to work with the uaccess primitives in the kernel.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/tlbflush.h