Re: [PATCH 1/3] powerpc: boot: include compiler_attributes.h

2020-11-17 Thread Arvind Sankar
On Sun, Nov 15, 2020 at 08:35:30PM -0800, Nick Desaulniers wrote: > The kernel uses `-include` to include include/linux/compiler_types.h > into all translation units (see scripts/Makefile.lib), which #includes > compiler_attributes.h. > > arch/powerpc/boot/ uses different compiler flags from the

Re: [PATCH] x86: Fix early boot crash on gcc-10, next try

2020-04-25 Thread Arvind Sankar
On Sat, Apr 25, 2020 at 02:15:49PM -0500, Segher Boessenkool wrote: > On Sat, Apr 25, 2020 at 08:53:13PM +0200, Borislav Petkov wrote: > > On Sat, Apr 25, 2020 at 01:37:01PM -0500, Segher Boessenkool wrote: > > > That is a lot more typing then > > > asm(""); > > > > That's why a macro with a

Re: [PATCH] x86: Fix early boot crash on gcc-10, next try

2020-04-25 Thread Arvind Sankar
On Sat, Apr 25, 2020 at 10:57:59AM +0200, Borislav Petkov wrote: > On Fri, Apr 24, 2020 at 09:46:57PM -0400, Arvind Sankar wrote: > > The comment above boot_init_stack_canary's definition should be updated > > to note that it needs to be called from a function th

[PATCH] powerpc/32: Stop printing the virtual memory layout

2020-03-05 Thread Arvind Sankar
) 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout") 3182f798 ("m68k/mm: Stop printing the virtual memory layout") fd8d0ca25631 ("parisc: Hide virtual kernel memory layout") adb1fe9ae2ee ("mm/page_alloc: Remove kernel address exposure i