]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ACPI / APEI: Make estatus pool allocation a static size
authorJames Morse <james.morse@arm.com>
Tue, 29 Jan 2019 18:48:41 +0000 (18:48 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 22:10:45 +0000 (23:10 +0100)
commitfb7be08f1a091ec243780bfdad4bf0c492057808
treeb19b32d9887a4a310657ed8690c5c9f17e4a2185
parente147133a42cb9df6cbc99503fdf58d0e6388bf2a
ACPI / APEI: Make estatus pool allocation a static size

Adding new NMI-like notifications duplicates the calls that grow
and shrink the estatus pool. This is all pretty pointless, as the
size is capped to 64K. Allocate this for each ghes and drop
the code that grows and shrinks the pool.

Suggested-by: Borislav Petkov <bp@suse.de>
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>
drivers/acpi/apei/ghes.c
drivers/acpi/apei/hest.c
include/acpi/ghes.h