GHES: Make NMI handler have a single reader
authorJiri Kosina <jkosina@suse.cz>
Fri, 27 Mar 2015 09:05:00 +0000 (10:05 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 27 Apr 2015 19:35:33 +0000 (21:35 +0200)
commit6fe9e7c26a97105645fd24f264f1b94e21aade3e
treea636b710834338a34af1dbc932afa1ced659e03a
parent2383844d4850888cfdf6d202563d2ddb4125a4e9
GHES: Make NMI handler have a single reader

Since GHES sources are global, we theoretically need only a single CPU
reading them per NMI instead of a thundering herd of CPUs waiting on a
spinlock in NMI context for no reason at all.

Do that.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/acpi/apei/ghes.c