summaryrefslogtreecommitdiff
path: root/lib/test_static_key_base.c
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2019-01-29 18:48:52 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-07 23:10:45 +0100
commitb484079b9f520cc9a0797d885f1cd7f64b72b1b2 (patch)
tree05ed1f1df8add409f6d70a53142197d1d58acf6c /lib/test_static_key_base.c
parent3b880cbe4df5dd78a2b2279dbe16db9d193412ca (diff)
ACPI / APEI: Let the notification helper specify the fixmap slot
ghes_copy_tofrom_phys() uses a different fixmap slot depending on in_nmi(). This doesn't work when there are multiple NMI-like notifications, that could interrupt each other. As with the locking, move the chosen fixmap_idx to the notification helper. This only matters for NMI-like notifications, anything calling ghes_proc() can use the IRQ fixmap slot as its already holding an irqsave spinlock. This lets us collapse the ghes_ioremap_pfn_*() helpers. Signed-off-by: James Morse <james.morse@arm.com> Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions