diff options
author | John Hubbard <jhubbard@nvidia.com> | 2019-08-21 22:25:13 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-21 23:37:09 +0300 |
commit | 7846f58fba964af7cb8cf77d4d13c33254725211 (patch) | |
tree | 69fb381a81aaa2366c73bea181153695f84135e5 /arch/x86/include/asm/nospec-branch.h | |
parent | c49a0a80137c7ca7d6ced4c812c9e07a949f6f24 (diff) | |
download | linux-7846f58fba964af7cb8cf77d4d13c33254725211.tar.xz |
x86/boot: Fix boot regression caused by bootparam sanitizing
commit a90118c445cc ("x86/boot: Save fields explicitly, zero out everything
else") had two errors:
* It preserved boot_params.acpi_rsdp_addr, and
* It failed to preserve boot_params.hdr
Therefore, zero out acpi_rsdp_addr, and preserve hdr.
Fixes: a90118c445cc ("x86/boot: Save fields explicitly, zero out everything else")
Reported-by: Neil MacLeod <neil@nmacleod.com>
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Neil MacLeod <neil@nmacleod.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20190821192513.20126-1-jhubbard@nvidia.com
Diffstat (limited to 'arch/x86/include/asm/nospec-branch.h')
0 files changed, 0 insertions, 0 deletions