-
- Downloads
x86/boot: Introduce setup_indirect
The setup_data is a bit awkward to use for extremely large data objects, both because the setup_data header has to be adjacent to the data object and because it has a 32-bit length field. However, it is important that intermediate stages of the boot process have a way to identify which chunks of memory are occupied by kernel data. Thus introduce an uniform way to specify such indirect data as setup_indirect struct and SETUP_INDIRECT type. And finally bump setup_header version in arch/x86/boot/header.S. Suggested-by:H. Peter Anvin (Intel) <hpa@zytor.com> Signed-off-by:
Daniel Kiper <daniel.kiper@oracle.com> Signed-off-by:
Borislav Petkov <bp@suse.de> Reviewed-by:
Ross Philipson <ross.philipson@oracle.com> Reviewed-by:
H. Peter Anvin (Intel) <hpa@zytor.com> Acked-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: ard.biesheuvel@linaro.org Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: dave.hansen@linux.intel.com Cc: eric.snowberg@oracle.com Cc: Ingo Molnar <mingo@redhat.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Juergen Gross <jgross@suse.com> Cc: kanth.ghatraju@oracle.com Cc: linux-doc@vger.kernel.org Cc: linux-efi <linux-efi@vger.kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: rdunlap@infradead.org Cc: ross.philipson@oracle.com Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Cc: xen-devel@lists.xenproject.org Link: https://lkml.kernel.org/r/20191112134640.16035-4-daniel.kiper@oracle.com
Showing
- Documentation/x86/boot.rst 42 additions, 1 deletionDocumentation/x86/boot.rst
- arch/x86/boot/compressed/kaslr.c 12 additions, 0 deletionsarch/x86/boot/compressed/kaslr.c
- arch/x86/boot/compressed/kernel_info.S 1 addition, 1 deletionarch/x86/boot/compressed/kernel_info.S
- arch/x86/boot/header.S 1 addition, 1 deletionarch/x86/boot/header.S
- arch/x86/include/uapi/asm/bootparam.h 13 additions, 3 deletionsarch/x86/include/uapi/asm/bootparam.h
- arch/x86/kernel/e820.c 11 additions, 0 deletionsarch/x86/kernel/e820.c
- arch/x86/kernel/kdebugfs.c 17 additions, 4 deletionsarch/x86/kernel/kdebugfs.c
- arch/x86/kernel/ksysfs.c 24 additions, 7 deletionsarch/x86/kernel/ksysfs.c
- arch/x86/kernel/setup.c 6 additions, 0 deletionsarch/x86/kernel/setup.c
- arch/x86/mm/ioremap.c 11 additions, 0 deletionsarch/x86/mm/ioremap.c
Please register or sign in to comment