diff options
author | 2019-01-29 18:48:52 +0000 | |
---|---|---|
committer | 2019-02-07 23:10:45 +0100 | |
commit | b484079b9f520cc9a0797d885f1cd7f64b72b1b2 (patch) | |
tree | 05ed1f1df8add409f6d70a53142197d1d58acf6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / APEI: Move locking to the notification helper (diff) | |
download | wireguard-linux-b484079b9f520cc9a0797d885f1cd7f64b72b1b2.tar.xz wireguard-linux-b484079b9f520cc9a0797d885f1cd7f64b72b1b2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions