Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-31 Thread Sedat Dilek
On Fri, Jul 31, 2020 at 4:53 PM Arvind Sankar wrote: > > On Fri, Jul 24, 2020 at 04:25:20PM -0700, Kees Cook wrote: > > On Sat, Jul 18, 2020 at 08:44:50AM +0300, Ard Biesheuvel wrote: > > > On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers > > > wrote: > > > > > > > > On Fri, Jul 17, 2020 at 6:46 A

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-31 Thread Arvind Sankar
On Fri, Jul 24, 2020 at 04:25:20PM -0700, Kees Cook wrote: > On Sat, Jul 18, 2020 at 08:44:50AM +0300, Ard Biesheuvel wrote: > > On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers > > wrote: > > > > > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar > > > wrote: > > > > > > > > On Tue, Jul 14, 2020

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-24 Thread Kees Cook
On Sat, Jul 18, 2020 at 08:44:50AM +0300, Ard Biesheuvel wrote: > On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers > wrote: > > > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > > > > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > > > The compressed kernel currentl

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-18 Thread Sedat Dilek
On Sat, Jul 18, 2020 at 7:45 AM Ard Biesheuvel wrote: > > On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers > wrote: > > > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > > > > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > > > The compressed kernel currently conta

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-17 Thread Ard Biesheuvel
On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers wrote: > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > > The compressed kernel currently contains bogus run-time relocations in > > > the startup code in head_{32,64}

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-17 Thread Sedat Dilek
On Fri, Jul 17, 2020 at 8:17 PM Nick Desaulniers wrote: > > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > > The compressed kernel currently contains bogus run-time relocations in > > > the startup code in head_{32,6

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-17 Thread Nick Desaulniers
On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote: > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > > The compressed kernel currently contains bogus run-time relocations in > > the startup code in head_{32,64}.S, which are generated by the linker, > > but must not actually be

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-17 Thread Arvind Sankar
On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote: > The compressed kernel currently contains bogus run-time relocations in > the startup code in head_{32,64}.S, which are generated by the linker, > but must not actually be processed at run-time. > > This generates warnings when linkin

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-15 Thread Sedat Dilek
On Wed, Jul 15, 2020 at 3:46 AM Sedat Dilek wrote: > > On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote: > > > > The compressed kernel currently contains bogus run-time relocations in > > the startup code in head_{32,64}.S, which are generated by the linker, > > but must not actually be proces

Re: [PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-14 Thread Sedat Dilek
On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote: > > The compressed kernel currently contains bogus run-time relocations in > the startup code in head_{32,64}.S, which are generated by the linker, > but must not actually be processed at run-time. > > This generates warnings when linking with t

[PATCH v5 0/7] x86/boot: Remove run-time relocations from compressed kernel

2020-07-14 Thread Arvind Sankar
The compressed kernel currently contains bogus run-time relocations in the startup code in head_{32,64}.S, which are generated by the linker, but must not actually be processed at run-time. This generates warnings when linking with the BFD linker, and errors with LLD, which defaults to erroring on