[Xen-devel] [PATCH v3 0/3] x86/boot: Introduce the kernel_info et consortes

Daniel Kiper posted 3 patches 4 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
Documentation/x86/boot.rst             | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/x86/boot/Makefile                 |   2 +-
arch/x86/boot/compressed/Makefile      |   4 +-
arch/x86/boot/compressed/kaslr.c       |  12 ++++++
arch/x86/boot/compressed/kernel_info.S |  22 +++++++++++
arch/x86/boot/header.S                 |   3 +-
arch/x86/boot/tools/build.c            |   5 +++
arch/x86/include/uapi/asm/bootparam.h  |  16 +++++++-
arch/x86/kernel/e820.c                 |  11 ++++++
arch/x86/kernel/kdebugfs.c             |  20 ++++++++--
arch/x86/kernel/ksysfs.c               |  30 ++++++++++----
arch/x86/kernel/setup.c                |   4 ++
arch/x86/mm/ioremap.c                  |  11 ++++++
13 files changed, 292 insertions(+), 16 deletions(-)
[Xen-devel] [PATCH v3 0/3] x86/boot: Introduce the kernel_info et consortes
Posted by Daniel Kiper 4 years, 6 months ago
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 can be extended regardless of the
setup_header limitations. Additionally, the patch series introduces some
convenience features like the setup_indirect struct and the
kernel_info.setup_type_max field.

Daniel

 Documentation/x86/boot.rst             | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/x86/boot/Makefile                 |   2 +-
 arch/x86/boot/compressed/Makefile      |   4 +-
 arch/x86/boot/compressed/kaslr.c       |  12 ++++++
 arch/x86/boot/compressed/kernel_info.S |  22 +++++++++++
 arch/x86/boot/header.S                 |   3 +-
 arch/x86/boot/tools/build.c            |   5 +++
 arch/x86/include/uapi/asm/bootparam.h  |  16 +++++++-
 arch/x86/kernel/e820.c                 |  11 ++++++
 arch/x86/kernel/kdebugfs.c             |  20 ++++++++--
 arch/x86/kernel/ksysfs.c               |  30 ++++++++++----
 arch/x86/kernel/setup.c                |   4 ++
 arch/x86/mm/ioremap.c                  |  11 ++++++
 13 files changed, 292 insertions(+), 16 deletions(-)

Daniel Kiper (3):
      x86/boot: Introduce the kernel_info
      x86/boot: Introduce the kernel_info.setup_type_max
      x86/boot: Introduce the setup_indirect


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH v3 0/3] x86/boot: Introduce the kernel_info et consortes
Posted by Daniel Kiper 4 years, 6 months ago
On Wed, Oct 09, 2019 at 12:53:55PM +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 can be extended regardless of the
> setup_header limitations. Additionally, the patch series introduces some
> convenience features like the setup_indirect struct and the
> kernel_info.setup_type_max field.
>
> Daniel
>
>  Documentation/x86/boot.rst             | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  arch/x86/boot/Makefile                 |   2 +-
>  arch/x86/boot/compressed/Makefile      |   4 +-
>  arch/x86/boot/compressed/kaslr.c       |  12 ++++++
>  arch/x86/boot/compressed/kernel_info.S |  22 +++++++++++
>  arch/x86/boot/header.S                 |   3 +-
>  arch/x86/boot/tools/build.c            |   5 +++
>  arch/x86/include/uapi/asm/bootparam.h  |  16 +++++++-
>  arch/x86/kernel/e820.c                 |  11 ++++++
>  arch/x86/kernel/kdebugfs.c             |  20 ++++++++--
>  arch/x86/kernel/ksysfs.c               |  30 ++++++++++----
>  arch/x86/kernel/setup.c                |   4 ++
>  arch/x86/mm/ioremap.c                  |  11 ++++++
>  13 files changed, 292 insertions(+), 16 deletions(-)
>
> Daniel Kiper (3):
>       x86/boot: Introduce the kernel_info
>       x86/boot: Introduce the kernel_info.setup_type_max
>       x86/boot: Introduce the setup_indirect

hpa, ping?

Daniel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH v3 0/3] x86/boot: Introduce the kernel_info et consortes
Posted by H. Peter Anvin 4 years, 6 months ago
On 2019-10-16 04:06, Daniel Kiper wrote:
> On Wed, Oct 09, 2019 at 12:53:55PM +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 can be extended regardless of the
>> setup_header limitations. Additionally, the patch series introduces some
>> convenience features like the setup_indirect struct and the
>> kernel_info.setup_type_max field.
>>
>> Daniel
>>
>>  Documentation/x86/boot.rst             | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  arch/x86/boot/Makefile                 |   2 +-
>>  arch/x86/boot/compressed/Makefile      |   4 +-
>>  arch/x86/boot/compressed/kaslr.c       |  12 ++++++
>>  arch/x86/boot/compressed/kernel_info.S |  22 +++++++++++
>>  arch/x86/boot/header.S                 |   3 +-
>>  arch/x86/boot/tools/build.c            |   5 +++
>>  arch/x86/include/uapi/asm/bootparam.h  |  16 +++++++-
>>  arch/x86/kernel/e820.c                 |  11 ++++++
>>  arch/x86/kernel/kdebugfs.c             |  20 ++++++++--
>>  arch/x86/kernel/ksysfs.c               |  30 ++++++++++----
>>  arch/x86/kernel/setup.c                |   4 ++
>>  arch/x86/mm/ioremap.c                  |  11 ++++++
>>  13 files changed, 292 insertions(+), 16 deletions(-)
>>
>> Daniel Kiper (3):
>>       x86/boot: Introduce the kernel_info
>>       x86/boot: Introduce the kernel_info.setup_type_max
>>       x86/boot: Introduce the setup_indirect
> 
> hpa, ping?
> 

Looks really good to me, modulo the feedback Randy already brought up.

Reviewed-by: H. Peter Anvin (Intel) <hpa@zytor.com>

	-hpa


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel