RE: [PATCH] ld-version: fix it on Fedora

2016-01-25 Thread Daniel Sanders
> From: Alexander Kapshuk [alexander.kaps...@gmail.com] > Sent: 23 January 2016 14:41 > To: Daniel Sanders > Cc: James Hogan; Michael S. Tsirkin; LKML; Michal Marek; > linux-kbu...@vger.kernel.org; Linux MIPS Mailing List; Ralf Baechle > Subject: Re: [PATCH] ld-version

RE: [PATCH] ld-version: fix it on Fedora

2016-01-25 Thread Daniel Sanders
> From: Alexander Kapshuk [alexander.kaps...@gmail.com] > Sent: 23 January 2016 14:41 > To: Daniel Sanders > Cc: James Hogan; Michael S. Tsirkin; LKML; Michal Marek; > linux-kbu...@vger.kernel.org; Linux MIPS Mailing List; Ralf Baechle > Subject: Re: [PATCH] ld-version

RE: [PATCH v3] mm/slab_common: Support the slub_debug boot option on specific object size

2015-04-24 Thread Daniel Sanders
> This patch conflicts significantly with Daniel's "slab: correct > size_index table before replacing the bootstrap kmem_cache_node". I've > reworked Daniel's patch as below. Please review? Your revised version of my patch looks good to me. I've also re-tested LLVMLinux with Gavin's and my

RE: [PATCH v3] mm/slab_common: Support the slub_debug boot option on specific object size

2015-04-24 Thread Daniel Sanders
This patch conflicts significantly with Daniel's slab: correct size_index table before replacing the bootstrap kmem_cache_node. I've reworked Daniel's patch as below. Please review? Your revised version of my patch looks good to me. I've also re-tested LLVMLinux with Gavin's and my (revised)

RE: [PATCH v5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-04-20 Thread Daniel Sanders
> -Original Message- > From: Christoph Lameter [mailto:c...@linux.com] > Sent: 20 April 2015 16:43 > To: Daniel Sanders > Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux- > m...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v5] sla

[PATCH v5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-04-20 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders Acked-by: Pekka Enberg Cc: Christoph Lameter Cc: Pekka Enberg Cc: David

[PATCH v5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-04-20 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Acked-by: Pekka Enberg penb...@kernel.org Cc

RE: [PATCH v5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-04-20 Thread Daniel Sanders
-Original Message- From: Christoph Lameter [mailto:c...@linux.com] Sent: 20 April 2015 16:43 To: Daniel Sanders Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux- m...@kvack.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v5] slab: Correct size_index table

[PATCH v2 4/4] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-24 Thread Daniel Sanders
From: Toma Tabacu Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: linux-m...@linux

[PATCH v2 0/4] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-24 Thread Daniel Sanders
aren't inter-dependent so they can be merged individually or I can split the series into individual submissions if that's preferred. Daniel Sanders (2): slab: Correct size_index table before replacing the bootstrap kmem_cache_node. MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch

[PATCH v2 2/4] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-24 Thread Daniel Sanders
. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: Andreas Herrmann Cc: David Daney Cc: Manuel Lauss Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- v2 refreshes the patch. arch/mips/kernel/branch.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH v4 1/4] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-24 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders Acked-by: Pekka Enberg Cc: Christoph Lameter Cc: Pekka Enberg Cc: David

[PATCH v4 3/4] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-24 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' "0" (htonl(len)), "1" (htonl(proto)), "r" (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders Signed-

[PATCH v2 4/4] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-24 Thread Daniel Sanders
From: Toma Tabacu toma.tab...@imgtec.com Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders

[PATCH v4 3/4] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-24 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' 0 (htonl(len)), 1 (htonl(proto)), r (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Signed-off

[PATCH v2 2/4] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-24 Thread Daniel Sanders
gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Andreas Herrmann andreas.herrm...@caviumnetworks.com Cc: David Daney david.da...@cavium.com Cc: Manuel Lauss manuel.la...@gmail.com Cc

[PATCH v4 1/4] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-24 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Acked-by: Pekka Enberg penb...@kernel.org Cc

[PATCH v2 0/4] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-24 Thread Daniel Sanders
aren't inter-dependent so they can be merged individually or I can split the series into individual submissions if that's preferred. Daniel Sanders (2): slab: Correct size_index table before replacing the bootstrap kmem_cache_node. MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch

RE: [PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-11 Thread Daniel Sanders
Apologies for the slow reply. > -Original Message- > From: Måns Rullgård [mailto:m...@mansr.com] > Sent: 05 February 2015 12:56 > To: Maciej W. Rozycki > Cc: Toma Tabacu; Daniel Sanders; Ralf Baechle; Paul Burton; Paul Bolle; > Steven J. Hill; Manuel Lauss; Jim Quinlan

RE: [PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-11 Thread Daniel Sanders
Apologies for the slow reply. -Original Message- From: Måns Rullgård [mailto:m...@mansr.com] Sent: 05 February 2015 12:56 To: Maciej W. Rozycki Cc: Toma Tabacu; Daniel Sanders; Ralf Baechle; Paul Burton; Paul Bolle; Steven J. Hill; Manuel Lauss; Jim Quinlan; linux-m...@linux

[PATCH v3 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' "0" (htonl(len)), "1" (htonl(proto)), "r" (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders Signed-

[PATCH v2 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' "0" (htonl(len)), "1" (htonl(proto)), "r" (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders Signed-

[PATCH v3 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' 0 (htonl(len)), 1 (htonl(proto)), r (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Signed-off

[PATCH v2 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Daniel Sanders
'unsigned int') matching output with type 'unsigned short' 0 (htonl(len)), 1 (htonl(proto)), r (sum)); ^~~~ The changed code can be compiled successfully by both gcc and clang. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Signed-off

RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-05 Thread Daniel Sanders
Apologies for the slow response. I've had an excessive amount of meetings in the last couple days. > -Original Message- > From: Maciej W. Rozycki [mailto:ma...@linux-mips.org] > Sent: 04 February 2015 12:58 > To: Daniel Sanders > Cc: Toma Tabacu; Ralf Baechle; Markos C

RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-05 Thread Daniel Sanders
Apologies for the slow response. I've had an excessive amount of meetings in the last couple days. -Original Message- From: Maciej W. Rozycki [mailto:ma...@linux-mips.org] Sent: 04 February 2015 12:58 To: Daniel Sanders Cc: Toma Tabacu; Ralf Baechle; Markos Chandras; Leonid Yegoshin

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
> -Original Message- > From: penb...@gmail.com [mailto:penb...@gmail.com] On Behalf Of > Pekka Enberg > Sent: 04 February 2015 20:42 > To: Daniel Sanders > Cc: Christoph Lameter; David Rientjes; Joonsoo Kim; Andrew Morton; linux- > m...@kvack.org; linux-kernel@vger.ker

[PATCH v3 1/5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders Cc: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim

[PATCH v2 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders Cc: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
> -Original Message- > From: Pekka Enberg [mailto:penb...@iki.fi] > Sent: 04 February 2015 19:33 > To: Daniel Sanders > Cc: Christoph Lameter; Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew > Morton; linux...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re:

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
-Original Message- From: Pekka Enberg [mailto:penb...@iki.fi] Sent: 04 February 2015 19:33 To: Daniel Sanders Cc: Christoph Lameter; Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux...@kvack.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] LLVMLinux: Correct

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
-Original Message- From: penb...@gmail.com [mailto:penb...@gmail.com] On Behalf Of Pekka Enberg Sent: 04 February 2015 20:42 To: Daniel Sanders Cc: Christoph Lameter; David Rientjes; Joonsoo Kim; Andrew Morton; linux- m...@kvack.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH

[PATCH v2 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Christoph Lameter c...@linux.com Cc: Pekka Enberg

[PATCH v3 1/5] slab: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-04 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Christoph Lameter c...@linux.com Cc: Pekka Enberg

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-03 Thread Daniel Sanders
> -Original Message- > From: Christoph Lameter [mailto:c...@linux.com] > Sent: 03 February 2015 15:15 > To: Daniel Sanders > Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux- > m...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/

[PATCH 4/5] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: linux-m...@linux

[PATCH 2/5] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-03 Thread Daniel Sanders
. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: Andreas Herrmann Cc: David Daney Cc: Manuel Lauss Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/kernel/branch.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-03 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders Cc: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim

[PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-03 Thread Daniel Sanders
reported by clang. The changed code can be preprocessed without warnings by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: Paul Burton Cc: Paul Bolle Cc: "Steven J. Hill" Cc: Manuel Lauss Cc: Jim Quinlan Cc: linux-m...@linux-mips.org

[PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-03 Thread Daniel Sanders
e changed code can be compiled successfully by both gcc and clang. Signed-off-by: Toma Tabacu Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: Markos Chandras Cc: Leonid Yegoshin Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/include/asm/checksum.h | 2 +- 1 file chang

[PATCH 0/5] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-03 Thread Daniel Sanders
this up into individual submissions if that's preferred. Daniel Sanders (1): LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node. Toma Tabacu (4): MIPS: LLVMLinux: Fix a 'cast to type not present in union' error. MIPS: LLVMLinux: Fix an 'inline asm input/output

RE: [PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-03 Thread Daniel Sanders
-Original Message- From: Christoph Lameter [mailto:c...@linux.com] Sent: 03 February 2015 15:15 To: Daniel Sanders Cc: Pekka Enberg; David Rientjes; Joonsoo Kim; Andrew Morton; linux- m...@kvack.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] LLVMLinux: Correct size_index

[PATCH 0/5] MIPS: LLVMLinux: Patches to enable compilation of a working kernel for MIPS using Clang/LLVM

2015-02-03 Thread Daniel Sanders
this up into individual submissions if that's preferred. Daniel Sanders (1): LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node. Toma Tabacu (4): MIPS: LLVMLinux: Fix a 'cast to type not present in union' error. MIPS: LLVMLinux: Fix an 'inline asm input/output

[PATCH 4/5] MIPS: LLVMLinux: Silence variable self-assignment warnings.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu toma.tab...@imgtec.com Remove variable self-assignments. This silences a bunch of -Wself-assign warnings reported by clang. The changed code can be compiled without warnings by both gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders

[PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-03 Thread Daniel Sanders
be compiled successfully by both gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Markos Chandras markos.chand...@imgtec.com Cc: Leonid Yegoshin leonid.yegos...@imgtec.com Cc: linux-m

[PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-03 Thread Daniel Sanders
of -Wunicode warnings reported by clang. The changed code can be preprocessed without warnings by both gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Paul Burton paul.bur...@imgtec.com Cc

[PATCH 1/5] LLVMLinux: Correct size_index table before replacing the bootstrap kmem_cache_node.

2015-02-03 Thread Daniel Sanders
is NULL and allocation fails. * If it had not already failed, it would have called create_kmalloc_caches() at this point which would have changed size_index[size_index_elem(size)] to 7. Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Christoph Lameter c...@linux.com Cc: Pekka Enberg

[PATCH 2/5] MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.

2015-02-03 Thread Daniel Sanders
gcc and clang. Signed-off-by: Toma Tabacu toma.tab...@imgtec.com Signed-off-by: Daniel Sanders daniel.sand...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Andreas Herrmann andreas.herrm...@caviumnetworks.com Cc: David Daney david.da...@cavium.com Cc: Manuel Lauss manuel.la...@gmail.com Cc