]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:45 +0000 (08:15 -0600)
commit73b96d40e5dc6038cc221ea91a53866779e17297
tree43fe14a917d8ef9fa61652c3e28d574b15e3d457
parent007b6c3dbd500849b92ca30c206dbcbc97acacd5
arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI

BugLink: http://bugs.launchpad.net/bugs/1751064
Commit 9b0de864b5bc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/include/asm/tlbflush.h