Skip to content
Commit 116798bb authored by James Morse's avatar James Morse
Browse files

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.

clear_fixmap() does the TLB invalidation on arm64, but not on x86,
so arch_apei_flush_tlb_one() gets to live another day.

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 7cd8bc69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment