aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2017-11-06 18:44:24 +0000
committerRafael J. Wysocki <[email protected]>2017-11-07 11:12:44 +0000
commit4f89fa286f6729312e227e7c2d764e8e7b9d340e (patch)
tree1e7dd47667d1c871dc741ccbfa90b6016f7e6164 /drivers/tty/serial/sccnxp.c
parentACPI / APEI: remove the unused dead-code for SEA/NMI notification type (diff)
downloadkernel-4f89fa286f6729312e227e7c2d764e8e7b9d340e.tar.gz
kernel-4f89fa286f6729312e227e7c2d764e8e7b9d340e.zip
ACPI / APEI: Replace ioremap_page_range() with fixmap
Replace ghes_io{re,un}map_pfn_{nmi,irq}()s use of ioremap_page_range() with __set_fixmap() as ioremap_page_range() may sleep to allocate a new level of page-table, even if its passed an existing final-address to use in the mapping. The GHES driver can only be enabled for architectures that select HAVE_ACPI_APEI: Add fixmap entries to both x86 and arm64. clear_fixmap() does the TLB invalidation in __set_fixmap() for arm64 and __set_pte_vaddr() for x86. In each case its the same as the respective arch_apei_flush_tlb_one(). Reported-by: Fengguang Wu <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: James Morse <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Tested-by: Tyler Baicar <[email protected]> Tested-by: Toshi Kani <[email protected]> [ For the arm64 bits: ] Acked-by: Will Deacon <[email protected]> [ For the x86 bits: ] Acked-by: Ingo Molnar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Cc: All applicable <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions