summaryrefslogtreecommitdiffstats
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorKristina Martsenko <kristina.martsenko@arm.com>2017-12-13 18:07:21 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2017-12-22 18:37:18 +0100
commit75387b92635e7dca410c1ef92cfe510019248f76 (patch)
treed3e2a0a1caee5599f1c53527a5671fd978da42a1 /lib/reciprocal_div.c
parentarm64: don't open code page table entry creation (diff)
downloadlinux-75387b92635e7dca410c1ef92cfe510019248f76.tar.xz
linux-75387b92635e7dca410c1ef92cfe510019248f76.zip
arm64: handle 52-bit physical addresses in page table entries
The top 4 bits of a 52-bit physical address are positioned at bits 12..15 of a page table entry. Introduce macros to convert between a physical address and its placement in a table entry, and change all macros/functions that access PTEs to use them. Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Tested-by: Bob Picco <bob.picco@oracle.com> Reviewed-by: Bob Picco <bob.picco@oracle.com> Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com> [catalin.marinas@arm.com: some long lines wrapped] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions