xen/arm: mm: Rename and clarify AP[1] in the stage-1 page table
authorJulien Grall <julien.grall@arm.com>
Mon, 9 Oct 2017 13:23:34 +0000 (14:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 10 Oct 2017 21:22:07 +0000 (14:22 -0700)
commit9a7f6dd6d2244993968569deb9963934add0a50d
tree878b94c4b4538049aac8c311aeba95eb81f978ba
parenta0543df403d457e139069d3356d42a89b25d11df
xen/arm: mm: Rename and clarify AP[1] in the stage-1 page table

The description of AP[1] in Xen is based on testing rather than the ARM
ARM.

Per the ARM ARM, on EL2 stage-1 page table, AP[1] is RES1 as the
translation regime applies to only one exception level (see D4.4.4 and
G4.6.1 in ARM DDI 0487B.a).

Update the comment and also rename the field to match the description in
the ARM ARM.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c
xen/include/asm-arm/lpae.h