Re: ppc32/64 merge

Started by Linus Torvalds on Nov 4, 2005 · 2 messages from 2 authors · Last reply Nov 4, 2005

open the first message on its own page


Paul, I get:

  arch/ppc64/include/asm/elf.h:190:8: warning: memset with byte count of -160

when checking ppc64 with sparse.

It looks like it's even correct. I think elf_gregset_t gets set to 
elf_gregset_t32, which is why "struct pt_regs" is so much bigger than 
elf_gregset_t.

Maybe it's a sparse bug. And maybe it isn't.

			Linus
Linus,
  arch/ppc64/include/asm/elf.h:190:8: warning: memset with byte count of -160

when checking ppc64 with sparse.

It looks like it's even correct. I think elf_gregset_t gets set to 
elf_gregset_t32, which is why "struct pt_regs" is so much bigger than 
elf_gregset_t.

Maybe it's a sparse bug. And maybe it isn't.
No it isn't, it's our bug.  Stephen Rothwell and Michael Ellerman
found it a day or two ago and there is a fix in the powerpc-merge tree
already.

If you do a pull from the powerpc-merge tree at

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge.git

(once it's mirrored, or the equivalent from master.kernel.org) you'll
get the fix along with some more merging and some ppc patches.
Diffstat and shortlog follow.

Thanks,
Paul.

 arch/powerpc/Kconfig                            |   29 
 arch/powerpc/Makefile                           |    5 
 arch/powerpc/configs/cell_defconfig             | 1024 +++++++++++++++++
 arch/powerpc/configs/g5_defconfig               | 1392 +++++++++++++++++++++++
 arch/powerpc/configs/iseries_defconfig          |  998 ++++++++++++++++
 arch/powerpc/configs/maple_defconfig            | 1062 ++++++++++++++++++
 arch/powerpc/configs/pseries_defconfig          | 1371 +++++++++++++++++++++++
 arch/powerpc/kernel/Makefile                    |    9 
 arch/powerpc/kernel/asm-offsets.c               |    2 
 arch/powerpc/kernel/head_64.S                   |   20 
 arch/powerpc/kernel/lparmap.c                   |    2 
 arch/powerpc/kernel/ppc32.h                     |   16 
 arch/powerpc/kernel/ppc_ksyms.c                 |    9 
 arch/powerpc/kernel/process.c                   |   22 
 arch/powerpc/kernel/prom.c                      |    2 
 arch/powerpc/kernel/prom_init.c                 |    2 
 arch/powerpc/kernel/rtas-proc.c                 |    0 
 arch/powerpc/kernel/rtas.c                      |   19 
 arch/powerpc/kernel/rtas_flash.c                |  113 ++
 arch/powerpc/kernel/setup-common.c              |  123 ++
 arch/powerpc/kernel/setup_32.c                  |    2 
 arch/powerpc/kernel/setup_64.c                  |  168 +--
 arch/powerpc/kernel/signal_32.c                 |    2 
 arch/powerpc/kernel/signal_64.c                 |    0 

342 more lines

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help