linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPI, x86/efi: Remove ACPI BGRT tables for kexec
@ 2016-02-17 15:45 Matt Fleming
  2016-02-17 15:45 ` [PATCH 1/2] ACPICA: Tables: Add function to remove ACPI tables Matt Fleming
  2016-02-17 15:45 ` [PATCH 2/2] x86/efi: Delete ACPI BGRT when booting via kexec Matt Fleming
  0 siblings, 2 replies; 8+ messages in thread
From: Matt Fleming @ 2016-02-17 15:45 UTC (permalink / raw)
  To: Dave Young
  Cc: linux-kernel, linux-efi, linux-acpi, kexec, Rafael J . Wysocki,
	Josh Triplett, Borislav Petkov, Matthew Garrett, Vivek Goyal,
	Matt Fleming

Based on Dave's report that the BGRT image regions are being accessed
on kexec reboot (which by that time contain garbage),

  https://lkml.kernel.org/r/20160127112044.GA2961@dhcp-128-65.nay.redhat.com

the following patches simply delete the table when doing a kexec boot.

This is part of a wider compaign to stop kexec-specific code from
leaking into all parts of arch/x86. Instead of sprinkling "if
(efi_setup)", kexec should be shaping the platform information to more
accurately describe which features are still available, so that
existing drivers work transparently without kexec quirks.

Matt Fleming (2):
  ACPICA: Tables: Add function to remove ACPI tables
  x86/efi: Delete ACPI BGRT when booting via kexec

 arch/x86/include/asm/efi.h    |  1 +
 arch/x86/kernel/setup.c       |  4 +++-
 arch/x86/platform/efi/efi.c   | 38 ++++++++++++++++++++++++++++++
 drivers/acpi/acpica/tbxface.c | 54 +++++++++++++++++++++++++++++++++++++++++++
 include/acpi/acpixf.h         |  3 +++
 5 files changed, 99 insertions(+), 1 deletion(-)

-- 
2.6.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-19  3:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 15:45 [PATCH 0/2] ACPI, x86/efi: Remove ACPI BGRT tables for kexec Matt Fleming
2016-02-17 15:45 ` [PATCH 1/2] ACPICA: Tables: Add function to remove ACPI tables Matt Fleming
2016-02-18  2:34   ` Zheng, Lv
2016-02-18 20:15     ` Rafael J. Wysocki
2016-02-18 20:41       ` Matt Fleming
2016-02-18 20:45         ` Rafael J. Wysocki
2016-02-19  3:19         ` Zheng, Lv
2016-02-17 15:45 ` [PATCH 2/2] x86/efi: Delete ACPI BGRT when booting via kexec Matt Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).