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

2019-07-12 Thread hpa
On July 4, 2019 9:36:11 AM PDT, Daniel Kiper wrote: >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

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

2019-07-12 Thread hpa
On July 4, 2019 9:36:12 AM PDT, Daniel Kiper wrote: >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

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

2019-07-12 Thread hpa
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_data = .bss > >What is missing from the above list? That's right: > > kernel_info = .rodata > >We have been (ab)us

Re: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc"

2019-09-25 Thread hpa
On September 25, 2019 11:01:39 PM PDT, Ingo Molnar wrote: >* Cao jin wrote: > >> The fields marked with (reloc) actually are not dedicated for >writing, >> but communicating info for relocatable kernel with boot loaders. For >> example: >> >> >> Field name:

Re: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc"

2019-09-26 Thread hpa
On September 26, 2019 12:55:51 AM PDT, Cao jin wrote: >On 9/26/19 2:01 PM, Ingo Molnar wrote: >> * Cao jin wrote: >> >>> The fields marked with (reloc) actually are not dedicated for >writing, >>> but communicating info for relocatable kernel with boot loaders. For >>> example: >>> >>> =

Re: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc"

2019-09-26 Thread hpa
On September 26, 2019 8:20:28 AM PDT, Randy Dunlap wrote: >On 9/26/19 12:58 AM, h...@zytor.com wrote: >> On September 26, 2019 12:55:51 AM PDT, Cao jin > wrote: >>> On 9/26/19 2:01 PM, Ingo Molnar wrote: * Cao jin wrote: > The fields marked with (reloc) actually are not dedicated f

Re: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc"

2019-09-26 Thread hpa
On September 26, 2019 1:20:02 AM PDT, Cao jin wrote: >On 9/26/19 3:58 PM, h...@zytor.com wrote: >> On September 26, 2019 12:55:51 AM PDT, Cao jin > wrote: >>> On 9/26/19 2:01 PM, Ingo Molnar wrote: * Cao jin wrote: > The fields marked with (reloc) actually are not dedicated for >>>

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-03-07 Thread hpa
On March 7, 2019 3:12:07 PM PST, Joel Fernandes wrote: >Enrico, > >On Thu, Mar 07, 2019 at 11:11:22PM +0100, Enrico Weigelt, metux IT >consult wrote: >> On 07.03.19 21:55, Greg KH wrote: >> >> > Ick, no, no more squashfs please, let's just kill that mess once >and for >> > all :) >> >> okay, the

Re: [PATCH 2/3] x86: Move CPU feature test out of uaccess region

2019-05-29 Thread hpa
On May 29, 2019 7:15:00 AM PDT, Marco Elver wrote: >This patch is a pre-requisite for enabling KASAN bitops >instrumentation: >moves boot_cpu_has feature test out of the uaccess region, as >boot_cpu_has uses test_bit. With instrumentation, the KASAN check would >otherwise be flagged by objtool. >

Re: [PATCH 2/3] x86: Move CPU feature test out of uaccess region

2019-05-31 Thread hpa
On May 31, 2019 2:57:36 AM PDT, Marco Elver wrote: >On Wed, 29 May 2019 at 16:29, wrote: >> >> On May 29, 2019 7:15:00 AM PDT, Marco Elver wrote: >> >This patch is a pre-requisite for enabling KASAN bitops >> >instrumentation: >> >moves boot_cpu_has feature test out of the uaccess region, as >>

Re: [PATCH v3 01/15] Documentation: add newcx initramfs format description

2018-02-16 Thread hpa
On February 16, 2018 1:47:35 PM PST, Victor Kamensky wrote: > > >On Fri, 16 Feb 2018, Rob Landley wrote: > >> >> On 02/16/2018 02:59 PM, H. Peter Anvin wrote: >>> On 02/16/18 12:33, Taras Kondratiuk wrote: Many of the Linux security/integrity features are dependent on file metadata, stor

Re: [PATCH v3 01/15] Documentation: add newcx initramfs format description

2018-02-17 Thread hpa
On February 17, 2018 4:15:12 PM PST, Mimi Zohar wrote: >On Fri, 2018-02-16 at 12:59 -0800, H. Peter Anvin wrote: >> On 02/16/18 12:33, Taras Kondratiuk wrote: >> > Many of the Linux security/integrity features are dependent on file >> > metadata, stored as extended attributes (xattrs), for making

Re: [PATCH v3 01/15] Documentation: add newcx initramfs format description

2018-02-17 Thread hpa
On February 17, 2018 4:15:12 PM PST, Mimi Zohar wrote: >On Fri, 2018-02-16 at 12:59 -0800, H. Peter Anvin wrote: >> On 02/16/18 12:33, Taras Kondratiuk wrote: >> > Many of the Linux security/integrity features are dependent on file >> > metadata, stored as extended attributes (xattrs), for making

Re: PLEASE REVERT URGENTLY: Re: [PATCH v5 2/3] x86/boot: add acpi rsdp address to setup_header

2018-11-11 Thread hpa
On November 10, 2018 7:22:29 AM PST, Juergen Gross wrote: >On 09/11/2018 23:23, H. Peter Anvin wrote: >> I just noticed this patch -- I missed it because the cover message >> seemed far more harmless so I didn't notice this change. >> >> THIS PATCH IS FATALLY WRONG AND NEEDS TO BE IMMEDIATELY REV

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-19 Thread hpa
On January 19, 2019 3:25:03 PM PST, Joel Fernandes wrote: >On Sat, Jan 19, 2019 at 12:43:35PM -0500, Daniel Colascione wrote: >> On Sat, Jan 19, 2019 at 11:27 AM Joel Fernandes > wrote: >> > >> > On Sat, Jan 19, 2019 at 09:25:32AM +0100, Greg KH wrote: >> > > On Fri, Jan 18, 2019 at 05:55:43PM -0

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-19 Thread hpa
On January 19, 2019 2:36:06 AM PST, Greg KH wrote: >On Sat, Jan 19, 2019 at 02:28:00AM -0800, Christoph Hellwig wrote: >> This seems like a pretty horrible idea and waste of kernel memory. > >It's only a waste if you want it to be a waste, i.e. if you load the >kernel module. > >This really isn't

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-21 Thread hpa
On January 20, 2019 5:45:53 PM PST, Joel Fernandes wrote: >On Sun, Jan 20, 2019 at 01:58:15PM -0800, h...@zytor.com wrote: >> On January 20, 2019 8:10:03 AM PST, Joel Fernandes > wrote: >> >On Sat, Jan 19, 2019 at 11:01:13PM -0800, h...@zytor.com wrote: >> >> On January 19, 2019 2:36:06 AM PST, G

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-21 Thread hpa
On January 20, 2019 8:10:03 AM PST, Joel Fernandes wrote: >On Sat, Jan 19, 2019 at 11:01:13PM -0800, h...@zytor.com wrote: >> On January 19, 2019 2:36:06 AM PST, Greg KH > wrote: >> >On Sat, Jan 19, 2019 at 02:28:00AM -0800, Christoph Hellwig wrote: >> >> This seems like a pretty horrible idea an

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-25 Thread hpa
On January 24, 2019 12:59:29 PM PST, Joel Fernandes wrote: >On Thu, Jan 24, 2019 at 07:57:26PM +0100, Karim Yaghmour wrote: >> >> On 1/23/19 11:37 PM, Daniel Colascione wrote: >[..] >> > > Personally I advocated a more aggressive approach with Joel in >private: >> > > just put the darn headers s

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-25 Thread hpa
On January 25, 2019 11:15:52 AM PST, Daniel Colascione wrote: >On Fri, Jan 25, 2019 at 11:01 AM wrote: >> >> On January 24, 2019 12:59:29 PM PST, Joel Fernandes > wrote: >> >On Thu, Jan 24, 2019 at 07:57:26PM +0100, Karim Yaghmour wrote: >> >> >> >> On 1/23/19 11:37 PM, Daniel Colascione wrote:

Re: [PATCH v3 24/37] Documentation/unicode.txt: convert it to ReST markup

2016-10-25 Thread hpa
On October 25, 2016 4:36:41 PM PDT, Jonathan Corbet wrote: >[Adding Peter to CC] > >On Mon, 24 Oct 2016 09:00:33 -0200 >Mauro Carvalho Chehab wrote: > >> Probably, unicode is something that we might remove from the >> docs, as all modern systems support it. Yet, this chapter >> is fun, as it ment