x86/setup: Merge several reservations of start of memory
authorMike Rapoport <rppt@linux.ibm.com>
Tue, 2 Mar 2021 10:04:06 +0000 (12:04 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 23 Mar 2021 16:17:36 +0000 (17:17 +0100)
commit4c674481dcf9974834b96622fa4b079c176f36f9
tree18dbd1642dd424414ef15338664bf9cac4eb508a
parenta799c2bd29d19c565f37fa038b31a0a1d44d0e4d
x86/setup: Merge several reservations of start of memory

Currently, the first several pages are reserved both to avoid leaking
their contents on systems with L1TF and to avoid corrupting BIOS memory.

Merge the two memory reservations.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210302100406.22059-3-rppt@kernel.org
arch/x86/kernel/setup.c