aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2018-02-21 12:59:27 +0000
committerCatalin Marinas <[email protected]>2018-02-22 11:25:53 +0000
commit15122ee2c515a253b0c66a3e618bc7ebe35105eb (patch)
tree930c790bb615babec3527f85fdbbec6628cf938d /scripts/gcc-plugins/cyc_complexity_plugin.c
parentarm64: perf: correct PMUVer probing (diff)
downloadkernel-15122ee2c515a253b0c66a3e618bc7ebe35105eb.tar.gz
kernel-15122ee2c515a253b0c66a3e618bc7ebe35105eb.zip
arm64: Enforce BBM for huge IO/VMAP mappings
ioremap_page_range doesn't honour break-before-make and attempts to put down huge mappings (using p*d_set_huge) over the top of pre-existing table entries. This leads to us leaking page table memory and also gives rise to TLB conflicts and spurious aborts, which have been seen in practice on Cortex-A75. Until this has been resolved, refuse to put block mappings when the existing entry is found to be present. Fixes: 324420bf91f60 ("arm64: add support for ioremap() block mappings") Reported-by: Hanjun Guo <[email protected]> Reported-by: Lei Li <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions