[PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-07-04 Thread Daniel Kiper
abled bootloader would be expected to copy into a setup_data chunk. This patch does not bump setup_header version in arch/x86/boot/header.S because it will be followed by additional changes coming into the Linux/x86 boot protocol. Suggested-by: H. Peter Anvin Signed-off-by: Daniel Kiper Reviewed-by

[PATCH v2 3/3] x86/boot: Introduce the kernel_info.setup_type_max

2019-07-04 Thread Daniel Kiper
This field contains maximal allowed type for setup_data and setup_indirect structs. And finally bump setup_header version in arch/x86/boot/header.S. Suggested-by: H. Peter Anvin Signed-off-by: Daniel Kiper Reviewed-by: Ross Philipson Reviewed-by: Eric Snowberg --- Documentation/x86/boot.rst

[PATCH v2 2/3] x86/boot: Introduce the setup_indirect

2019-07-04 Thread Daniel Kiper
boot protocol. Suggested-by: H. Peter Anvin Signed-off-by: Daniel Kiper Reviewed-by: Eric Snowberg Reviewed-by: Ross Philipson --- v2 - suggestions/fixes: - add setup_indirect usage example (suggested by Eric Snowberg and Ross Philipson). --- Documentation/x86/boot.rst| 38

[PATCH v2 0/3] x86/boot: Introduce the kernel_info et consortes

2019-07-04 Thread Daniel Kiper
deletions(-) Daniel Kiper (3): x86/boot: Introduce the kernel_info x86/boot: Introduce the setup_indirect x86/boot: Introduce the kernel_info.setup_type_max

Re: [PATCH v2 0/3] x86/boot: Introduce the kernel_info et consortes

2019-07-12 Thread Daniel Kiper
On Thu, Jul 04, 2019 at 06:36:09PM +0200, Daniel Kiper wrote: > Hi, > > Due to very limited space in the setup_header this patch series introduces new > kernel_info struct which will be used to convey information from the kernel to > the bootloader. This way the boot protocol

Re: [PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-09-30 Thread Daniel Kiper
On Fri, Jul 12, 2019 at 09:04:23AM -0700, h...@zytor.com wrote: > On July 4, 2019 9:36:10 AM PDT, Daniel Kiper wrote: > >The relationships between the headers are analogous to the various data > >sections: > > > > setup_header = .data > > boot_params/setup_d

Re: [PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-10-01 Thread Daniel Kiper
On Mon, Sep 30, 2019 at 10:18:43AM -0700, H. Peter Anvin wrote: > On 2019-09-30 08:01, Daniel Kiper wrote: > > > > OK. > > > >> field for the entire .kernel_info section, thus ensuring it is a > >> single self-contained blob. > > > > .rodata.ker

Re: [PATCH v2 2/3] x86/boot: Introduce the setup_indirect

2019-10-01 Thread Daniel Kiper
On Fri, Jul 12, 2019 at 08:56:44AM -0700, h...@zytor.com wrote: > On July 4, 2019 9:36:11 AM PDT, Daniel Kiper wrote: [...] > >diff --git a/arch/x86/include/uapi/asm/bootparam.h > >b/arch/x86/include/uapi/asm/bootparam.h > >index b05318112452..17fa6ad6 100644 > >

Re: [PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-10-02 Thread Daniel Kiper
On Tue, Oct 01, 2019 at 03:28:01PM -0700, H. Peter Anvin wrote: > On 2019-10-01 04:41, Daniel Kiper wrote: > > > > OK, so, this is more or less what I had in my v3 patch before sending > > this email. So, it looks that I am on good track. Great! Though I am not > > sur

Re: [PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 12:43:10PM +0100, Juergen Gross wrote: > Documentation/x86/boot.txt is missing protocol 2.13 description. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel

Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

2016-05-25 Thread Daniel Kiper
On Tue, May 24, 2016 at 09:54:31AM -0500, Tom Lendacky wrote: > On 05/12/2016 01:20 PM, Tom Lendacky wrote: > > On 05/10/2016 08:57 AM, Borislav Petkov wrote: > >> On Tue, May 10, 2016 at 02:43:58PM +0100, Matt Fleming wrote: > >>> Is it not possible to maintain some kind of kernel virtual address