Re: [PATCH] x86/speculation/l1tf: Add assembly guard for xtensa/ia64

2018-08-15 Thread Guenter Roeck
On Wed, Aug 15, 2018 at 02:56:46PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The stable backport of the > > x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings > > patch for 4.4 and 4.9 put new C code for !__HAVE_ARCH_PFN_MODIFY_ALLOWED > code outside the assembler

Re: [PATCH] x86/speculation/l1tf: Add assembly guard for xtensa/ia64

2018-08-15 Thread Guenter Roeck
On Wed, Aug 15, 2018 at 02:56:46PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The stable backport of the > > x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings > > patch for 4.4 and 4.9 put new C code for !__HAVE_ARCH_PFN_MODIFY_ALLOWED > code outside the assembler

[PATCH] x86/speculation/l1tf: Add assembly guard for xtensa/ia64

2018-08-15 Thread Andi Kleen
From: Andi Kleen The stable backport of the x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings patch for 4.4 and 4.9 put new C code for !__HAVE_ARCH_PFN_MODIFY_ALLOWED code outside the assembler ifdef. This breaks the xtensa and ia64 build as reported by 0day which

[PATCH] x86/speculation/l1tf: Add assembly guard for xtensa/ia64

2018-08-15 Thread Andi Kleen
From: Andi Kleen The stable backport of the x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings patch for 4.4 and 4.9 put new C code for !__HAVE_ARCH_PFN_MODIFY_ALLOWED code outside the assembler ifdef. This breaks the xtensa and ia64 build as reported by 0day which