summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-05-02 16:52:01 +0400
committerWill Deacon <will.deacon@arm.com>2013-05-30 19:02:33 +0400
commite38a517578d6c0f764b0d0f6e26dcdf9f70c69d7 (patch)
tree118c5eeced958a227e1cdf77fa365e2881069d3f /scripts
parent28d4bf7a2929c5e525171d249e12662e21130ec3 (diff)
downloadlinux-e38a517578d6c0f764b0d0f6e26dcdf9f70c69d7.tar.xz
ARM: lpae: fix definition of PTE_HWTABLE_PTRS
For 2-level page tables, PTE_HWTABLE_PTRS describes the offset between Linux PTEs and hardware PTEs. On LPAE, there is no distinction (since we have 64-bit descriptors with plenty of space) so PTE_HWTABLE_PTRS should be 0. Unfortunately, it is wrongly defined as PTRS_PER_PTE, meaning that current pte table flushing is off by a page. Luckily, all current LPAE implementations are SMP, so the hardware walker can snoop L1. This patch fixes the broken definition. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions