Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-08-05 Thread Sam Ravnborg
> > > > So xxx_p is for pause (or something like that). > > This also matches that m68k do some tricks with delay() in the _p variants. > > Thanks for the explanation. > > m68k's isa_delay() uses the same approach as x86's slow_down_io(), > but only for Q40/Q60, which has a "real" ISA bus that acc

Re: [PATCH] xhci: Merge and Update debugging for patches from 3.6 kernel tree

2014-08-05 Thread Sam Ravnborg
On Tue, Aug 05, 2014 at 01:55:34AM -0400, Nick Krause wrote: > On Tue, Aug 5, 2014 at 1:45 AM, Greg KH wrote: > > On Tue, Aug 05, 2014 at 12:56:57AM -0400, Nicholas Krause wrote: > >> I am adding the fixes to the tree send for adding debugging to the kernel > >> tree from a patch sent in 2013 on t

Re: [PATCH] asm-generic/io.h: reorder funtions to form logical groups

2014-08-01 Thread Sam Ravnborg
> > Oh, by the way: would you prefer that I keep your patch separate or > shall I just squash it into the one that has the major asm-generic/io.h > cleanup? Do whatever is the most convinient for you. And do not bother with any attribution and such for such a simple patch. Sam -- To unsub

Re: [PATCH 1/8] cris: fix headers_install

2014-07-31 Thread Sam Ravnborg
Hi Mikael. On Mon, Jul 28, 2014 at 08:16:56PM +0200, Mikael Starvik wrote: > Jesper is on a rather long vacation/parental leave. I'll try to make > something of it before Jesper returns. Congratulate him from me! > I'll try to make something of it before Jesper returns. You could try to send the

Re: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o

2014-07-28 Thread Sam Ravnborg
On Mon, Jul 28, 2014 at 07:00:17PM +0200, Ard Biesheuvel wrote: > On 27 July 2014 20:40, Sam Ravnborg wrote: > >> > >> > Btw. the current solution is already faulty - even with the fix. > >> > There are no support for make C=2 arch/.../crypto/ > >>

[PATCH 1/8] cris: fix headers_install

2014-07-28 Thread Sam Ravnborg
>From 87a249d1f35f82e11ffc7c78f0d9ef2399a2ec82 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 13 Jul 2014 23:40:44 +0200 Subject: [PATCH 1/8] cris: fix headers_install Fix headers_install by adjusting the path to arch files. And delete unused Kbuild file. Drop special handling of cris

Re: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o

2014-07-27 Thread Sam Ravnborg
> > > Btw. the current solution is already faulty - even with the fix. > > There are no support for make C=2 arch/.../crypto/ > > > > So can you elaborate on how it is faulty? When you run "make C=2 arch/.../crypto/" then sparse shall be run for all .c files also if they are already built. But d

Re: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o

2014-07-24 Thread Sam Ravnborg
On Thu, Jul 24, 2014 at 09:25:13PM +0200, Ard Biesheuvel wrote: > On 24 July 2014 18:12, Sam Ravnborg wrote: > > On Thu, Jul 24, 2014 at 04:24:48PM +0200, Ard Biesheuvel wrote: > >> On 24 July 2014 16:18, Ard Biesheuvel wrote: > >> > On 24 July 2014 15:40, Andr

Re: [PATCH] arm64/crypto: fix makefile rule for aes-glue-%.o

2014-07-24 Thread Sam Ravnborg
On Thu, Jul 24, 2014 at 04:24:48PM +0200, Ard Biesheuvel wrote: > On 24 July 2014 16:18, Ard Biesheuvel wrote: > > On 24 July 2014 15:40, Andreas Schwab wrote: > >> Ard Biesheuvel writes: > >> > >>> On 24 July 2014 15:26, Andreas Schwab wrote: > You are not using CONFIG_MODVERSIONS. >

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-23 Thread Sam Ravnborg
On Sun, Jul 20, 2014 at 02:19:01PM -0700, Andi Kleen wrote: > > Why are as only called with -Wa,-gdwarf-2 in the non-split case? > > Is this a bug or intentional? > > If it is intentional then it is not explained. > > Probably was a merging mistake. Will fix. > > > > + help > > > + Generate deb

Re: [PATCH] kbuild: add support to generate LLVM bitcode files

2014-07-21 Thread Sam Ravnborg
> > Sure. But in fact I was not able to create the .ll from .S and neither > create the .s > from the .S in some assembly files on kernel. Do you know how it works? make arch/x86/kernel/preempt.s Works for me. Something broke in your setup? Sam -- To unsubscribe from this list: send

Re: [PATCH] kbuild: add support to generate LLVM bitcode files

2014-07-20 Thread Sam Ravnborg
On Sun, Jul 20, 2014 at 11:04:58PM +0200, Sam Ravnborg wrote: > > > > > > +ifeq ($(COMPILER),clang) > > > +quiet_cmd_cc_ll_c = CC $(quiet_modtag) $@ > > > +cmd_cc_ll_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm > > > -emit-llvm -S -o $@

Re: [PATCH] kbuild: add support to generate LLVM bitcode files

2014-07-20 Thread Sam Ravnborg
> > > > +ifeq ($(COMPILER),clang) > > +quiet_cmd_cc_ll_c = CC $(quiet_modtag) $@ > > +cmd_cc_ll_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm > > -emit-llvm -S -o $@ $< > > Can we drop the test for COMPILER here too? > Do -fverbose-asm make sense when generating .ll files? > It looks

Re: [PATCH 2/2] Kbuild: Add a option to enable dwarf4

2014-07-20 Thread Sam Ravnborg
On Wed, Jul 16, 2014 at 01:16:12AM +0200, Andi Kleen wrote: > From: Andi Kleen > > I found that a lot of unresolvable variables when using gdb on the kernel > become resolvable when dwarf4 is enabled. So add a Kconfig flag to enable it. > > It definitely increases the debug information size, but

Re: [PATCH 1/2] kbuild: Support split debug info v3

2014-07-20 Thread Sam Ravnborg
Hi Andi. On Wed, Jul 16, 2014 at 01:16:11AM +0200, Andi Kleen wrote: > From: Andi Kleen > > This is an alternative approach to lower the overhead of debug info > (as we discussed a few days ago) > > gcc 4.7+ and newer binutils have a new "split debug info" debug info > model where the debug inf

Re: [PATCH] kbuild: add support to generate LLVM bitcode files

2014-07-20 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 10:34:37PM -0300, Vinícius Tinti wrote: > Allows kbuild to generate LLVM bitcode files with the .ll extension when > building with Clang. > > # c code > CC=clang make kernel/pid.ll > > # asm code > CC=clang make arch/arm/kernel/calls.ll > > Signed-off-by: Vinícius

[PATCH] asm-generic/io.h: reorder funtions to form logical groups

2014-07-19 Thread Sam Ravnborg
>From 929c64c1aaf378b767e0ed89826b6bb12449df15 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sat, 19 Jul 2014 14:47:43 +0200 Subject: [PATCH] asm-generic/io.h: reorder funtions to form logical groups Reoder the functions so the various functions are grouped according to how they access me

Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-19 Thread Sam Ravnborg
On Sat, Jul 19, 2014 at 11:05:33AM +0200, Arnd Bergmann wrote: > On Saturday 19 July 2014 10:41:52 Sam Ravnborg wrote: > > > > > > > > This set: > > > > #define inb_p(addr) inb(addr) > > > > #define inw_p(addr) inw(addr) > > >

Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-19 Thread Sam Ravnborg
> > A semi related question. > > Why do we play all these macro tricks in io.h? > > > > Example: > > > > #define writeb __raw_writeb > > > > The consensus these days is to use static inline to have the > > correct prototype but this file is contains a lot of these > > macro conversions. > >

Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-19 Thread Sam Ravnborg
> > > > This set: > > #define inb_p(addr) inb(addr) > > #define inw_p(addr) inw(addr) > > #define inl_p(addr) inl(addr) > > #define outb_p(x, addr) outb((x), (addr)) > > #define outw_p(x, addr) outw((x), (addr)) > > #define outl_p(x, addr) outl((x), (addr)) > > > > Should have a comme

Re: [PATCH] kbuild: devtest - new make target for build all and run tests

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 02:44:34PM -0600, Shuah Khan wrote: > Add a new devtest make target to enable developer testing. This > new target does full build (make all) and then runs selftests. > > Signed-off-by: Shuah Khan > --- > Makefile | 11 +++ > 1 file changed, 11 insertions(+) > >

Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-18 Thread Sam Ravnborg
> > All these things are not introduced by your patch but now that > you show some love and care for this file maybe we could take > the next step and bring more order to the current semi chaos? And I just noticed... These are never used - and only defined a few places: #define inb_p(addr) i

Re: [PATCH v3 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-18 Thread Sam Ravnborg
On Wed, Jul 16, 2014 at 01:01:22PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Currently driver writers need to use io{read,write}{8,16,32}_rep() when > accessing FIFO registers portably. This is bad for two reasons: it is > inconsistent with how other registers are accessed using the

Re: Sparc: Fix Mes in highmem.c

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 01:06:41PM -0400, Nick Krause wrote: > On Fri, Jul 18, 2014 at 10:08 AM, Steven Rostedt wrote: > > On Thu, Jul 17, 2014 at 11:05:12PM -0400, Nick Krause wrote: > >> On Thu, Jul 17, 2014 at 1:38 PM, Nick Krause wrote: > >> > On Thu, Jul 17,

Re: [PATCH v3] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-18 Thread Sam Ravnborg
o /dev/mdesc. > > Signed-off-by: Khalid Aziz Acked-by: Sam Ravnborg Thanks, Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info

Re: [PATCH v2] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-18 Thread Sam Ravnborg
Hi Khalid. Looks better now - thanks. A few nits remaining. Please fix and submit a v3 - then we will see if David approves. Sam > +/* mdesc_open() - Grab a reference to mdesc_handle when /dev/mdesc is > + * opened. Hold this reference until /dev/mdesc is closed to ensure > + * mdes

Re: Sparc Allmodconfig Fails

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 12:21:04AM -0400, Nick Krause wrote: > The build for sparc allmodconfig is still failing for the main branch > of the linux kernel. > I would recommend fixing these issues. I am attaching my build > warnings and errors > logs for the failing build test I did today. Did you

Re: Sparc: Fix Mes in highmem.c

2014-07-18 Thread Sam Ravnborg
On Thu, Jul 17, 2014 at 11:05:12PM -0400, Nick Krause wrote: > On Thu, Jul 17, 2014 at 1:38 PM, Nick Krause wrote: > > On Thu, Jul 17, 2014 at 3:52 AM, Sam Ravnborg wrote: > >> On Wed, Jul 16, 2014 at 10:25:30PM -0400, Nick Krause wrote: > >>> I am hitting thr

Re: [PATCH 38/38] asm-generic: introduc Kbuild.generic

2014-07-17 Thread Sam Ravnborg
On Tue, Jul 15, 2014 at 09:03:00AM +0200, Arnd Bergmann wrote: > On Monday 14 July 2014 17:09:06 Sam Ravnborg wrote: > > Kbuild.generic is for asm-generic files that are used > > by all architectures. > > So rather than adding the file to the individual Kbuild files > >

Re: [PATCH v2 29/29] nios2: Build infrastructure

2014-07-17 Thread Sam Ravnborg
Hi Ley. Looks much better than last time I reviewed this. A bunch of small comments follows. Sam > diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile > new file mode 100644 > index 000..62b789a > --- /dev/null > +++ b/arch/nios2/Makefile > @@ -0,0 +1,78 @@ > +# > +# This file is

Re: Sparc: Fix Mes in highmem.c

2014-07-17 Thread Sam Ravnborg
On Wed, Jul 16, 2014 at 10:25:30PM -0400, Nick Krause wrote: > I am hitting three Fix mes in this file and am wondering as the > maintainer how you would like > to clean them up. They may be addressed if we one day decide to give the sparc32 highmem support a big overhaul. Until then they are left

Re: [PATCH] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-16 Thread Sam Ravnborg
On Wed, Jul 16, 2014 at 02:35:32PM -0600, Khalid Aziz wrote: > Hi Sam, > > Thanks for the feedback. > > On 07/16/2014 01:04 PM, Sam Ravnborg wrote: > >Hi Kahlid. > > > >On Wed, Jul 16, 2014 at 08:02:03AM -0600, Khalid Aziz wrote: > >>/dev/mdesc on Linux

Re: [PATCH] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-16 Thread Sam Ravnborg
Hi Kahlid. On Wed, Jul 16, 2014 at 08:02:03AM -0600, Khalid Aziz wrote: > /dev/mdesc on Linux does not support reading arbitrary number > of bytes and seeking while /dev/mdesc on Solaris does. This > causes tools that work on Solaris to break on Linux. This patch > adds these two capabilities to /

Re: [PATCH 3/6] samples: use uapiprogs support for seccomp

2014-07-16 Thread Sam Ravnborg
On Wed, Jul 16, 2014 at 06:43:51PM +0900, Masahiro Yamada wrote: > Hi Sam, > > > On Sun, 13 Jul 2014 20:42:51 +0200 > Sam Ravnborg wrote: > > > Reduce complexity of seccomp Makefile by introducing use of uapiprogs > > support. > > Build testet with i686 on

Re: [PATCH 35/38] unicore32: clean-up uapi Kbuild file

2014-07-15 Thread Sam Ravnborg
Hi James. > > +# Wapper from asm-generic > > generic-y += kvm_para.h > > > > You dropped the generic-y += kvm_para.h for arm64 & c6x, but not for > unicore, avr32 & ia64 patch, which seems a bit inconsistent. Was there > some reason behind that? I was fooling around with kvm_para.h and in both

Re: [PATCH 07/38] Delete unused Kbuild files in include/*

2014-07-15 Thread Sam Ravnborg
On Tue, Jul 15, 2014 at 10:06:35AM +0100, James Hogan wrote: > On 14/07/14 16:08, Sam Ravnborg wrote: > > The following files are not used - and they serve no purpose. > > Delete them. > > > > Signed-off-by: Sam Ravnborg > > Cc: David Howells > &

Re: [RFC PATCH 0/38] clean-up uapi + asm-generic Kbuild files

2014-07-14 Thread Sam Ravnborg
On Mon, Jul 14, 2014 at 05:34:59PM +0200, Arnd Bergmann wrote: > On Monday 14 July 2014 17:06:09 Sam Ravnborg wrote: > > > > What tree is the best for this stuff? > > I would suggest to go via the asm-generic tree that Arnd has. > > But it also touches a lot of arch

[PATCH 03/38] hexagon: drop ucontext from list exported headers

2014-07-14 Thread Sam Ravnborg
ucontext.h is already specified in include/uapi/asm-generic/Kbuild so this is redundant. Signed-off-by: Sam Ravnborg Cc: Richard Kuo Cc: linux-hexagon Cc: David Howells --- arch/hexagon/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/hexagon/include/asm/Kbuild b

[PATCH 06/38] x86: clean-up Kbuild file - drop unused assignments

2014-07-14 Thread Sam Ravnborg
Drop unused assignment in Kbuild file. The unistd* files are exported using the Kbuild file in uapi/* and the assignments in this file was left-overs from the past. Signed-off-by: Sam Ravnborg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: David Howells --- arch/x

[PATCH 04/38] score: drop irrelevant assignment from Kbuild file

2014-07-14 Thread Sam Ravnborg
header-y assignemnt in this file has no effect - drop it. Signed-off-by: Sam Ravnborg Cc: Chen Liqin Cc: Lennox Wu Cc: David Howells --- arch/score/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild index

[PATCH 15/38] blackfin: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Steven Miao --- arch/blackfin/include/uapi/asm/Kbuild | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/blackfin/include/uapi/asm/Kbuild b/arch/blackfin/include/uapi/asm/Kbuild index 0bd28f7..c226f31 100644

[PATCH 11/38] alpha: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner --- arch/alpha/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/alpha/include/uapi/asm/Kbuild b/arch/alpha

[PATCH 08/38] kbuild: drop support for non uapi Kbuild files in headers_install

2014-07-14 Thread Sam Ravnborg
There are no more Kbuild files outside uapi directories used for exported headers so drop support for these. Also update documentation to reference the correct files. Except for destination-y which has no in-tree users at the moment. Signed-off-by: Sam Ravnborg Cc: David Howells

[PATCH 05/38] tile: clean up Kbuild files

2014-07-14 Thread Sam Ravnborg
Drop an unused Kbuild file - it was anyway empty Drop an irrelevent assignment to header-y Signed-off-by: Sam Ravnborg Cc: Chris Metcalf Cc: David Howells --- arch/tile/include/arch/Kbuild | 1 - arch/tile/include/asm/Kbuild | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 arch

[PATCH 10/38] uapi: drop obsolete logic for generated headers

2014-07-14 Thread Sam Ravnborg
We no longer call this Makefile with gen set to anything, so we can simplify logic to find dir for generated files. Signed-off-by: Sam Ravnborg Cc: David Howells --- scripts/Makefile.headersinst | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts

[PATCH 14/38] avr32: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt --- arch/avr32/include/uapi/asm/Kbuild | 21 ++--- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32

[PATCH 13/38] arm64: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/uapi/asm/Kbuild | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm64/include/uapi/asm/Kbuild b/arch/arm64/include/uapi/asm/Kbuild index 942376d

[PATCH 12/38] arm: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Russell King --- arch/arm/include/uapi/asm/Kbuild | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild index 70a1c9d..aa17aa8 100644 --- a/arch/arm

[PATCH 17/38] cris: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Mikael Starvik Cc: Jesper Nilsson --- arch/cris/include/uapi/asm/Kbuild | 31 +-- 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi

[PATCH 28/38] parisc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: "James E.J. Bottomley" Cc: Helge Deller --- arch/parisc/include/uapi/asm/Kbuild | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/arch/parisc/include/uapi/asm/Kbuild b/a

[PATCH 20/38] ia64: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Tony Luck Cc: Fenghua Yu --- arch/ia64/include/uapi/asm/Kbuild | 36 +++- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/arch/ia64/include/uapi/asm/Kbuild b/arch/ia64/include/uapi

[PATCH 18/38] frv: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: David Howells --- arch/frv/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/frv/include/uapi/asm/Kbuild b/arch/frv/include/uapi/asm/Kbuild index 42a2b33..d24144b 100644

[PATCH 19/38] hexagon: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Richard Kuo --- arch/hexagon/include/uapi/asm/Kbuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/hexagon/include/uapi/asm/Kbuild b/arch/hexagon/include/uapi/asm/Kbuild index c31706c..3f464d5 100644 --- a

[PATCH 21/38] m32r: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Hirokazu Takata --- arch/m32r/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/m32r/include/uapi/asm/Kbuild b/arch/m32r/include/uapi/asm/Kbuild index 43937a6..b15bf6b

[PATCH 22/38] m68k: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Geert Uytterhoeven --- arch/m68k/include/uapi/asm/Kbuild | 33 ++--- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/arch/m68k/include/uapi/asm/Kbuild b/arch/m68k/include/uapi/asm/Kbuild

[PATCH 33/38] sparc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" --- arch/sparc/include/uapi/asm/Kbuild | 30 -- 1 file changed, 30 deletions(-) diff --git a/arch/sparc/include/uapi/asm/Kbuild b/arch/sparc/include/uapi/asm/Kbuild ind

[PATCH 37/38] xtensa: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Max Filippov --- arch/xtensa/include/uapi/asm/Kbuild | 23 --- 1 file changed, 23 deletions(-) diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index 56aad54..b15bf6b

[PATCH 25/38] mips: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Ralf Baechle --- arch/mips/include/uapi/asm/Kbuild | 38 ++ 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/arch/mips/include/uapi/asm/Kbuild b/arch/mips/include/uapi/asm/Kbuild

[PATCH 26/38] mn10300: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: David Howells Cc: Koichi Yasutake --- arch/mn10300/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/mn10300/include/uapi/asm/Kbuild b/arch/mn10300/include/uapi/asm

[PATCH 24/38] microblaze: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Michal Simek --- arch/microblaze/include/uapi/asm/Kbuild | 34 +++-- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/arch/microblaze/include/uapi/asm/Kbuild b/arch/microblaze/include/uapi

[PATCH 27/38] openrisc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Jonas Bonn --- arch/openrisc/include/uapi/asm/Kbuild | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index 80761eb..1ecfc9d 100644 --- a/arch

[PATCH 35/38] unicore32: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Guan Xuetao --- arch/unicore32/include/uapi/asm/Kbuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/unicore32/include/uapi/asm/Kbuild b/arch/unicore32/include/uapi/asm/Kbuild index 0514d7a..aff532f

[PATCH 23/38] metag: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: James Hogan --- arch/metag/include/uapi/asm/Kbuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/metag/include/uapi/asm/Kbuild b/arch/metag/include/uapi/asm/Kbuild index ab78be2..1f7f43f 100644

[PATCH 34/38] tile: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Chris Metcalf --- arch/tile/include/uapi/asm/Kbuild | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/tile/include/uapi/asm/Kbuild b/arch/tile/include/uapi/asm/Kbuild index c20db8e..87d40be

[PATCH 32/38] sh: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg --- arch/sh/include/uapi/asm/Kbuild | 12 1 file changed, 12 deletions(-) diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild index 60613ae..826b88a 100644 --- a/arch/sh/include/uapi/asm/Kbuild

[PATCH 36/38] x86: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" --- arch/x86/include/uapi/asm/Kbuild | 34 +- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/arch/x86/include/uapi/as

[PATCH 30/38] s390: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Martin Schwidefsky Cc: Heiko Carstens --- arch/s390/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/s390/include/uapi/asm/Kbuild b/arch/s390/include/uapi/asm/Kbuild

[PATCH 29/38] powerpc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Benjamin Herrenschmidt Cc: Paul Mackerras --- arch/powerpc/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/powerpc/include/uapi/asm/Kbuild b/arch/powerpc/include

[PATCH 38/38] asm-generic: introduc Kbuild.generic

2014-07-14 Thread Sam Ravnborg
Kbuild.generic is for asm-generic files that are used by all architectures. So rather than adding the file to the individual Kbuild files it is enough to add it to this file Signed-off-by: Sam Ravnborg Cc: Arnd Bergmann --- arch/alpha/include/asm/Kbuild | 4 ++-- arch/arc/include/asm

[PATCH 31/38] score: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Chen Liqin Cc: Lennox Wu --- arch/score/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/score/include/uapi/asm/Kbuild b/arch/score/include/uapi/asm/Kbuild index

[PATCH 07/38] Delete unused Kbuild files in include/*

2014-07-14 Thread Sam Ravnborg
The following files are not used - and they serve no purpose. Delete them. Signed-off-by: Sam Ravnborg Cc: David Howells --- include/Kbuild | 2 -- include/scsi/fc/Kbuild | 0 include/video/Kbuild | 0 3 files changed, 2 deletions(-) delete mode 100644 include/Kbuild delete mode

[PATCH 02/38] openrisc: drop ucontext from list exported headers

2014-07-14 Thread Sam Ravnborg
ucontext.h is already specified in include/uapi/asm-generic/Kbuild so this is redundant. Signed-off-by: Sam Ravnborg Cc: Jonas Bonn Cc: openrisc Cc: David Howells --- arch/openrisc/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/openrisc/include/asm/Kbuild b

[PATCH 16/38] c6x: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Also drop kvm_para.h wrapper as it is never referenced from c6x code. Signed-off-by: Sam Ravnborg Cc: Mark Salter Cc: Aurelien Jacquiot --- arch/c6x/include/uapi/asm/Kbuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/c6x/include/uapi/asm

[PATCH 09/38] uapi: check for optional files which are generated

2014-07-14 Thread Sam Ravnborg
generated file. This changes makes a few "header-y += kvm_para.h" asssignments redundant. Signed-off-by: Sam Ravnborg --- include/uapi/asm-generic/Kbuild.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/Kbuild.asm b/include/uapi/a

[PATCH 01/38] cris: fix headers_install

2014-07-14 Thread Sam Ravnborg
Fix headers_install by adjusting the path to arch files. And delete unused Kbuild file. Drop special handling of cris in the headers.sh script as a nice side-effect. Signed-off-by: Sam Ravnborg Cc: Mikael Starvik Cc: Jesper Nilsson Cc: David Howells --- arch/cris/include/asm/Kbuild | 5

[RFC PATCH 0/38] clean-up uapi + asm-generic Kbuild files

2014-07-14 Thread Sam Ravnborg
maintainers on the mail. Thus I rely on them to read linux-arch. Sam Sam Ravnborg (38): cris: fix headers_install openrisc: drop ucontext from list exported headers hexagon: drop ucontext from list exported headers score: drop irrelevant assignment from Kbuild file

Re: [RESEND][PATCH] sparc: use %s for unaligned panic

2014-07-14 Thread Sam Ravnborg
On Mon, Jun 30, 2014 at 01:37:59PM -0700, Kees Cook wrote: > Since unaligned_panic() takes a literal string, make sure it can never > accidentally be used as a format string. > > Signed-off-by: Kees Cook > --- > arch/sparc/kernel/unaligned_32.c |2 +- > 1 file changed, 1 insertion(+), 1 dele

Re: [PATCHv1 2/2] Documentation/kbuild/headers_install.txt: update documentation

2014-07-13 Thread Sam Ravnborg
; Cc: Kirill A. Shutemov > Cc: Michal Marek > Cc: David Woodhouse > Cc: Rob Landley > Cc: Sam Ravnborg > Signed-off-by: Yann Droneaud > --- > Documentation/kbuild/headers_install.txt | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff

Re: [PATCHv1 1/2] Documentation: headers_install.txt is part of kbuild

2014-07-13 Thread Sam Ravnborg
s a consequence of moving 'headers_install.txt'. > > Cc: Kirill A. Shutemov > Cc: Michal Marek > Cc: David Woodhouse > Cc: Rob Landley > Cc: Sam Ravnborg > Signed-off-by: Yann Droneaud This is much better - thanks. Acked-by: Sam Ravnborg > --

Re: [PATCH 1/6] kbuild: add support for building userspace api programs

2014-07-13 Thread Sam Ravnborg
Hi Randy. Thanks, I will include all corrections in v3. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://ww

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Sam Ravnborg
Hi Randy - thanks for the feedback. On Sun, Jul 13, 2014 at 12:25:33PM -0700, Randy Dunlap wrote: > On 07/13/14 11:42, Sam Ravnborg wrote: > > Use one line per module/program in Makefile. > > This style is easier to read/extend. > > > > Introduce inverse xmas style

[PATCH 4/6] samples: use uapiprogs support for hidraw

2014-07-13 Thread Sam Ravnborg
Reduce complexity of hidraw Makefile by introducing use of uapiprogs support. Build testet with i386 + sparc32. Signed-off-by: Sam Ravnborg Cc: David Herrmann Cc: Jiri Kosina --- samples/Makefile| 2 +- samples/hidraw/Makefile | 11 +-- 2 files changed, 2 insertions(+), 11

[PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Sam Ravnborg
Use one line per module/program in Makefile. This style is easier to read/extend. Introduce inverse xmas style sorting. This may prevent some merge conflicts in the future Signed-off-by: Sam Ravnborg --- samples/Makefile | 15 +-- 1 file changed, 13 insertions(+), 2 deletions

[PATCH 3/6] samples: use uapiprogs support for seccomp

2014-07-13 Thread Sam Ravnborg
Reduce complexity of seccomp Makefile by introducing use of uapiprogs support. Build testet with i686 only. Signed-off-by: Sam Ravnborg --- samples/Makefile | 2 +- samples/seccomp/Makefile | 48 ++-- 2 files changed, 3 insertions(+), 47

[PATCH 5/6] samples: fix warnings in uhid-example

2014-07-13 Thread Sam Ravnborg
type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] Use "%xd" for arguments of type size_t to fix the warnings. Signed-off-by: Sam Ravnborg Cc: David Herrmann Cc: Jiri Kosina --- samples/uhid/uhid-example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 6/6] samples: use uapiprogs support for uhid

2014-07-13 Thread Sam Ravnborg
uhid was not included in the regular builds as it was not wired up in samples/Makefile. Fix build on sparc32 by defining __USE_GNU to get visibility to O_CLOEXEC. Signed-off-by: Sam Ravnborg Cc: David Herrmann Cc: Jiri Kosina --- samples/Makefile| 1 + samples/uhid/Makefile

[PATCH 1/6] kbuild: add support for building userspace api programs

2014-07-13 Thread Sam Ravnborg
architectures to specify -m option. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Stephen Rothwell --- Documentation/kbuild/kbuild.txt| 5 ++ Documentation/kbuild/makefiles.txt | 132 - Makefile | 4 ++ arch/s390/Makefile

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Sam Ravnborg
Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: > This patch adds option for collecting stack usage statistics > via gcc option '-fstack-usage' (needs gcc 4.6 or newer). > For each .o file gcc dumps stack-frame sizes into .su file. > > File format: > :::

Re: [RFC] dma-buf: Implement test module

2014-07-11 Thread Sam Ravnborg
On Thu, Jul 10, 2014 at 11:55:26AM +0200, Thierry Reding wrote: > On Wed, Mar 26, 2014 at 09:32:47AM +0100, Thierry Reding wrote: > > On Tue, Mar 25, 2014 at 07:01:10PM +0100, Sam Ravnborg wrote: > > > > > > > > There are two things that don't work too wel

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-07-09 Thread Sam Ravnborg
inux. > > > > Signed-off-by: Peter Foley > > Hi Michal, > > Does this look good to you? > I don't have enough makefile fu (or is it foo?) to judge this. Looks OK. Please add my: Acked-by: Sam Ravnborg Sam -- To unsubscribe from this list: send the line &

Re: [PATCH] Documentation/make/headers_install.txt: update documentation

2014-07-09 Thread Sam Ravnborg
talled. > > > > This patch try to fix these issues. > > > > Cc: Kirill A. Shutemov > > Cc: Michal Marek > > Cc: David Woodhouse > > Cc: Rob Landley > > Cc: Sam Ravnborg > > Signed-off-by: Yann Droneaud > > --- > > Documentat

Re: [PATCH] scripts: modpost: Remove numeric suffix pattern matching

2014-07-09 Thread Sam Ravnborg
y problems, so > remove the broken $ functionality and change all foo$ patterns to foo. > > Signed-off-by: Rasmus Villemoes > --- > Sam, was this what you meant? Otherwise, I'd be more than happy to > leave the issue to someone else. Exactly - thanks. Acked-by: Sam Ravnborg Rus

Re: [PATCH 1/3] asm-generic/io.h: Implement generic {read,write}s*()

2014-07-09 Thread Sam Ravnborg
On Wed, Jul 09, 2014 at 05:11:37PM +0200, Thierry Reding wrote: > From: Thierry Reding > > This patch implements generic versions of readsb(), readsw(), readsl(), > readsq(), writesb(), writesw(), writesl() and writesq(). Variants of > these string functions for I/O accesses (ins*() and outs*() a

Re: [PATCH] scripts/mod/modpost.c: Fix bug in number_prefix

2014-07-09 Thread Sam Ravnborg
On Wed, Jul 09, 2014 at 09:28:43AM +0930, Rusty Russell wrote: > Rasmus Villemoes writes: > > Paul Gortmaker writes: > > > >> On 14-06-25 04:46 AM, Rasmus Villemoes wrote: > >>> The function number_prefix() can currently only return 1 if its > >>> argument is the empty string: If line 3 is reache

Re: [PATCH] sparse: Add CLOG option for saving warning

2014-07-07 Thread Sam Ravnborg
On Fri, Jul 04, 2014 at 12:48:00AM -0700, Christopher Li wrote: > On Mon, Jun 30, 2014 at 1:57 AM, Christopher Li wrote: > > > > Add the CLOG= option in command line to > > save the sparse warning into individual log file. > > > > Typical usage: > > > > make -j8 C=2 CLOG= > > Any feed back for th

Re: [RFC PATCH 1/2] Makefile: Make HOSTCFLAGS and HOSTCXXFLAGS user modifyable

2014-06-20 Thread Sam Ravnborg
On Fri, Jun 20, 2014 at 11:31:28AM -0700, Markus Mayer wrote: > In order to allow the user to pass extra arguments to the host > compiler, we no longer overwrite the host compiler flags in the > makefile, but append them to what was passed in. > > Signed-off-by: Markus Mayer > --- > Makefile | 4

Re: relative objtree change broke tar builds?

2014-06-18 Thread Sam Ravnborg
On Wed, Jun 18, 2014 at 09:47:28PM +0200, Michal Marek wrote: > Dne 18.6.2014 17:58, Randy Dunlap napsal(a): > > On 06/18/14 06:14, J. Bruce Fields wrote: > >> On Wed, Jun 18, 2014 at 02:33:22PM +0200, Michal Marek wrote: > >>> Dne 18.6.2014 14:20, J. Bruce Fields napsal(a): > On Wed, Jun 18,

Re: Build regressions/improvements in v3.16-rc1

2014-06-17 Thread Sam Ravnborg
> > > + /scratch/kisskb/src/include/asm-generic/atomic-long.h: error: implicit > > declaration of function 'atomic_add' > > [-Werror=implicit-function-declaration]: => 176:2 > > + /scratch/kisskb/src/include/asm-generic/atomic-long.h: error: implicit > > declaration of function 'atomic_add

Re: [RFC] Turn off -Wmaybe-uninitialized completely and move it to W=1

2014-06-16 Thread Sam Ravnborg
On Mon, Jun 16, 2014 at 03:20:45PM +0200, Borislav Petkov wrote: > Hi, > > so 3.16-rc1 adds this false positive from gcc, see below (triggers on > 4.9 and 4.8.2). Now, it is firing wrong and gcc people tell me there's > no way for the compiler to know that the "from" and "to" values will NOT > be

Re: Linux 3.15: SPARC serial console regression

2014-06-15 Thread Sam Ravnborg
Hi Peter. On Tue, Jun 10, 2014 at 05:20:08PM -0400, Peter Hurley wrote: > Hi Sam, > > On 06/10/2014 03:24 PM, Sam Ravnborg wrote: > >>From: Peter Hurley > >>Date: Mon, 9 Jun 2014 19:21:43 -0400 > >>Subject: [PATCH] serial: sunsab: Test for no t

<    4   5   6   7   8   9   10   11   12   13   >