stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
       [not found] <5a537ac1.b0abdf0a.c8456.4e12@mx.google.com>
@ 2018-01-08 14:43 ` Arnd Bergmann
  2018-01-08 16:06   ` Borislav Petkov
  0 siblings, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2018-01-08 14:43 UTC (permalink / raw)
  To: kernelci.org bot
  Cc: Kernel Build Reports Mailman List, Borislav Petkov, Hugh Dickins,
	Greg Kroah-Hartman, Linux Kernel Mailing List,
	the arch/x86 maintainers, 4.4.x

On Mon, Jan 8, 2018 at 3:05 PM, kernelci.org bot <bot@kernelci.org> wrote:
>
> stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
> Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.110-23-g49278737d445/
> Tree: stable-rc
> Branch: linux-4.4.y
> Git Describe: v4.4.110-23-g49278737d445
> Git Commit: 49278737d4458032fb523dfe5451b441c04c5b73
> Git URL: http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> Built: 4 unique architectures
>
> Build Failures Detected:
>
> x86: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5)
> allnoconfig FAIL
> i386_defconfig FAIL
> tinyconfig FAIL

I missed these earlier, since the kernelci summary output doesn't
print link errors:

arch/x86/kernel/setup.o: In function `vsyscall_enabled':
setup.c:(.text+0x10): multiple definition of `vsyscall_enabled'
arch/x86/kernel/time.o:time.c:(.text+0x10): first defined here
arch/x86/kernel/rtc.o: In function `vsyscall_enabled':
rtc.c:(.text+0x0): multiple definition of `vsyscall_enabled'
arch/x86/kernel/time.o:time.c:(.text+0x10): first defined here
arch/x86/kernel/cpu/built-in.o: In function `vsyscall_enabled':
(.text+0xbc0): multiple definition of `vsyscall_enabled'

This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER")
which adds a line 'bool vsyscall_enabled(void) { return false; }' that
presumably
should have been 'static inline'.

       Arnd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
  2018-01-08 14:43 ` stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445) Arnd Bergmann
@ 2018-01-08 16:06   ` Borislav Petkov
  2018-01-08 16:29     ` Greg Kroah-Hartman
  2018-01-08 17:36     ` Ingo Molnar
  0 siblings, 2 replies; 5+ messages in thread
From: Borislav Petkov @ 2018-01-08 16:06 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kernelci.org bot, Kernel Build Reports Mailman List, Hugh Dickins,
	Greg Kroah-Hartman, Linux Kernel Mailing List,
	the arch/x86 maintainers, 4.4.x

On Mon, Jan 08, 2018 at 03:43:11PM +0100, Arnd Bergmann wrote:
> This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER")
> which adds a line 'bool vsyscall_enabled(void) { return false; }' that
> presumably
> should have been 'static inline'.

Yeah, thanks Arnd.

@Greg, please fold this in:

---
diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h
index d10cabb..4865e10 100644
--- a/arch/x86/include/asm/vsyscall.h
+++ b/arch/x86/include/asm/vsyscall.h
@@ -19,7 +19,7 @@ static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
 {
 	return false;
 }
-bool vsyscall_enabled(void) { return false; }
+static inline bool vsyscall_enabled(void) { return false; }
 #endif
 
 #endif /* _ASM_X86_VSYSCALL_H */
---

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
  2018-01-08 16:06   ` Borislav Petkov
@ 2018-01-08 16:29     ` Greg Kroah-Hartman
  2018-01-08 17:36     ` Ingo Molnar
  1 sibling, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-01-08 16:29 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Arnd Bergmann, kernelci.org bot,
	Kernel Build Reports Mailman List, Hugh Dickins,
	Linux Kernel Mailing List, the arch/x86 maintainers, 4.4.x

On Mon, Jan 08, 2018 at 05:06:46PM +0100, Borislav Petkov wrote:
> On Mon, Jan 08, 2018 at 03:43:11PM +0100, Arnd Bergmann wrote:
> > This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER")
> > which adds a line 'bool vsyscall_enabled(void) { return false; }' that
> > presumably
> > should have been 'static inline'.
> 
> Yeah, thanks Arnd.
> 
> @Greg, please fold this in:
> 
> ---
> diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h
> index d10cabb..4865e10 100644
> --- a/arch/x86/include/asm/vsyscall.h
> +++ b/arch/x86/include/asm/vsyscall.h
> @@ -19,7 +19,7 @@ static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
>  {
>  	return false;
>  }
> -bool vsyscall_enabled(void) { return false; }
> +static inline bool vsyscall_enabled(void) { return false; }
>  #endif
>  
>  #endif /* _ASM_X86_VSYSCALL_H */
> ---
> 

Now folded in, many thanks!

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
  2018-01-08 16:06   ` Borislav Petkov
  2018-01-08 16:29     ` Greg Kroah-Hartman
@ 2018-01-08 17:36     ` Ingo Molnar
  2018-01-08 17:41       ` Borislav Petkov
  1 sibling, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2018-01-08 17:36 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Arnd Bergmann, kernelci.org bot,
	Kernel Build Reports Mailman List, Hugh Dickins,
	Greg Kroah-Hartman, Linux Kernel Mailing List,
	the arch/x86 maintainers, 4.4.x


* Borislav Petkov <bp@suse.de> wrote:

> On Mon, Jan 08, 2018 at 03:43:11PM +0100, Arnd Bergmann wrote:
> > This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER")
> > which adds a line 'bool vsyscall_enabled(void) { return false; }' that
> > presumably
> > should have been 'static inline'.
> 
> Yeah, thanks Arnd.
> 
> @Greg, please fold this in:
> 
> ---
> diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h
> index d10cabb..4865e10 100644
> --- a/arch/x86/include/asm/vsyscall.h
> +++ b/arch/x86/include/asm/vsyscall.h
> @@ -19,7 +19,7 @@ static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
>  {
>  	return false;
>  }
> -bool vsyscall_enabled(void) { return false; }
> +static inline bool vsyscall_enabled(void) { return false; }

Hm, which are the underlying upstream commits - am I missing something?

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)
  2018-01-08 17:36     ` Ingo Molnar
@ 2018-01-08 17:41       ` Borislav Petkov
  0 siblings, 0 replies; 5+ messages in thread
From: Borislav Petkov @ 2018-01-08 17:41 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnd Bergmann, kernelci.org bot,
	Kernel Build Reports Mailman List, Hugh Dickins,
	Greg Kroah-Hartman, Linux Kernel Mailing List,
	the arch/x86 maintainers, 4.4.x

On Mon, Jan 08, 2018 at 06:36:50PM +0100, Ingo Molnar wrote:
> Hm, which are the underlying upstream commits - am I missing something?

Yeah, 4.4 has taken the kaiser patches and thus no upstream commits.
Thus this patch doesn't affect upstream as upstream has solved it
differently:

49275fef986a ("x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy")

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-08 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5a537ac1.b0abdf0a.c8456.4e12@mx.google.com>
2018-01-08 14:43 ` stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445) Arnd Bergmann
2018-01-08 16:06   ` Borislav Petkov
2018-01-08 16:29     ` Greg Kroah-Hartman
2018-01-08 17:36     ` Ingo Molnar
2018-01-08 17:41       ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).