]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: Allocate ASIDs in pairs
authorWill Deacon <will.deacon@arm.com>
Thu, 10 Aug 2017 13:10:28 +0000 (14:10 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 11 Dec 2017 13:40:38 +0000 (13:40 +0000)
commit5e29c637dc28c4dde95282789b9c944829a2e569
tree351a23183a83c558e17184e736bd877c71a17bbe
parent9e3909d7f0ebe8dfc9ed1e38210237911612f584
arm64: mm: Allocate ASIDs in pairs

In preparation for separate kernel/user ASIDs, allocate them in pairs
for each mm_struct. The bottom bit distinguishes the two: if it is set,
then the ASID will map only userspace.

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/mmu.h
arch/arm64/mm/context.c