aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-ep.c
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-05-26 11:33:50 +0000
committerakpm <[email protected]>2022-05-27 15:55:18 +0000
commit24c8e27e63224ce832b4723cb60632d3eddb55de (patch)
tree7bfdfa301eb22eacbc930dbfc807823350146848 /drivers/pci/controller/dwc/pcie-qcom-ep.c
parentkexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] (diff)
downloadkernel-24c8e27e63224ce832b4723cb60632d3eddb55de.tar.gz
kernel-24c8e27e63224ce832b4723cb60632d3eddb55de.zip
mm/page_table_check: fix accessing unmapped ptep
ptep is unmapped too early, so ptep could theoretically be accessed while it's unmapped. This might become a problem if/when CONFIG_HIGHPTE becomes available on riscv. Fix it by deferring pte_unmap() until page table checking is done. [[email protected]: account for ptep alteration, per Matthew] Link: https://lkml.kernel.org/r/[email protected] Fixes: 80110bbfbba6 ("mm/page_table_check: check entries at pmd levels") Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Pasha Tatashin <[email protected]> Cc: Qi Zheng <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions