Seth,
> Thanks for the help! I was wondering if you could take a look at something
> for me.
>
> I've been working on this staging driver (zsmalloc memory allocator)
> that does virtual mapping of two pages.
>
> I have a github repo with the driver and the unsubmitted changes. I'm
> trying to
> Today's linux-next merge of the powerpc tree got a conflict in
> arch/powerpc/Kconfig between commit 2ed86b16eabe ("irq: make SPARSE_IRQ
> an optionally hidden option") from the arm tree and commit ad5b7f1350c2
> ("powerpc: Make SPARSE_IRQ required") from the powerpc tree.
>
> I fixed it up (see
Hi all,
>
> On Thu, 29 Mar 2012 13:55:55 +1100 Stephen Rothwell =
> wrote:
> >
> > On Thu, 29 Mar 2012 13:50:44 +1100 Michael Neuling wr=
> ote:
> > >
> > > > Here are a bunch of patches to disintegrate asm/system.h into a set o=
> f separat
fallout from system.h split up
>
> Signed-off-by: Stephen Rothwell
FWIW.. this works for me too..
Acked-by: Michael Neuling
Mikey
> ---
> arch/powerpc/kernel/fadump.c |2 +
> arch/powerpc/kernel/irq.c| 72 ++=
>
>
ion)
drivers/net/ethernet/freescale/gianfar_ethtool.c:1766:9: error:
'HWTSTAMP_FILTER_ALL' undeclared (first use in this function)
This is because of a missing include file from:
6663628 gianfar: Support the get_ts_info ethtool method.
Signed-off-by: Michael Neuling
CC: Richard Cochran
Richard Cochran wrote:
> On Tue, Apr 10, 2012 at 02:18:47PM +1000, Michael Neuling wrote:
> > This is because of a missing include file from:
> > 6663628 gianfar: Support the get_ts_info ethtool method.
> >
> > Signed-off-by: Michael Neuling
>
> I did a poor
Stephen Rothwell wrote:
> Hi all,
>
> Some (not all) of my PowerPC boot tests have failed like this after
> getting into user mode (this one was just after udev started, but others
> are after other processes getting going):
>
> Unable to handle kernel paging request for data at address 0xc
Jiri Slaby wrote:
> On 04/13/2012 10:02 AM, Jiri Slaby wrote:
> > On 04/13/2012 04:30 AM, Michael Neuling wrote:
> >> Stephen Rothwell wrote:
> >>
> >>> Hi all,
> >>>
> >>> Some (not all) of my PowerPC boot tests have failed like t
> Hi all,
>
> Last nights boot tests on various PowerPC systems failed like this:
>
> calling .numa_group_init+0x0/0x3c @ 1
> initcall .numa_group_init+0x0/0x3c returned 0 after 0 usecs
> calling .numa_init+0x0/0x1dc @ 1
> Unable to handle kernel paging request for data at address 0x1688
>
> > Trying David's patch just posted doesn't fix it.
> >
>
> Hmm, what does CONFIG_DEBUG_VM say?
No set.
Mikey
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
Michael Neuling wrote:
> > > Trying David's patch just posted doesn't fix it.
> > >
> >
> > Hmm, what does CONFIG_DEBUG_VM say?
>
> No set.
Sorry, should have read "Not set"
mikey
___
Linux
David Rientjes wrote:
> On Tue, 22 May 2012, Michael Neuling wrote:
>
> > > > > Trying David's patch just posted doesn't fix it.
> > > > >
> > > >
> > > > Hmm, what does CONFIG_DEBUG_VM say?
> > >
> > &g
David Rientjes wrote:
> On Tue, 22 May 2012, Michael Neuling wrote:
>
> > Sorry, got it... CONFIG_DEBUG_VM enabled below...
> >
> > pid_max: default: 32768 minimum: 301
> > Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes)
> > Inode-cache
Benjamin Herrenschmidt wrote:
> On Wed, 2012-06-06 at 18:40 +0200, Segher Boessenkool wrote:
> > > +err1;dcbzr0,r3
> >
> > There is no such instruction, you probably meant "dcbz 0,r3"?
>
> This reminds me... what would happen if we changed all our
>
> #define r0 0
> #define
Michael Ellerman wrote:
> On Thu, 2012-06-07 at 16:05 +1000, Michael Neuling wrote:
> > Benjamin Herrenschmidt wrote:
> >
> > > On Wed, 2012-06-06 at 18:40 +0200, Segher Boessenkool wrote:
> > > > > +err1;dcbzr0,r3
> > > >
>
Fix sldi to take literal not register name.
Was introduced by:
commit 19ccb76a1938ab364a412253daec64613acbf3df
Author: Paul Mackerras
Date: Sat Jul 23 17:42:46 2011 +1000
Signed-off-by: Michael Neuling
---
I got sick off the bike-shedding in a vacuum and started doing the
conversion
The assembler doesn't take %r0 register arguments in braces, so remove them.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Index: clone3/arch/powerpc/include/asm/ppc_
First 5 patches convert us to %r0-31.
Next 10 patches make using R0-31 required.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
We are going to use these later and convert r0 to %r0 etc.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 33 +
1 file changed, 33 insertions(+)
Index: clone3/arch/powerpc/include/asm/ppc_asm.h
4) as %r14 doesn't work in the STK_REG macro since
it's just calculating an offset.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/cpu_setup_a2.S |6
arch/powerpc/kernel/fpu.S |4
arch/powerpc/kernel/misc_64.S |4
a
Was introduced by:
commit 19ccb76a1938ab364a412253daec64613acbf3df
Author: Paul Mackerras
Date: Sat Jul 23 17:42:46 2011 +1000
Talking to paulus, this shouldn't be a literal.
Signed-off-by: Michael Neuling
---
arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +-
1 file chang
move lbz/stbciz to ppc-opcode.h.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |7 +++
arch/powerpc/kernel/misc_64.S |5 -
2 files changed, 7 insertions(+), 5 deletions(-)
Index: clone3/arch/powerpc/include/asm/ppc-opcode.h
Now all the fixes are in place, let's rock-n-roll!
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 72 -
1 file changed, 39 insertions(+), 33 deletions(-)
Index: clone3/arch/powerpc/include/asm/ppc_
Merge the defines of STACKFRAMESIZE, STK_REG, STK_PARAM from different
places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |5 +
arch/powerpc/lib/checksum_64.S |3
arch/powerpc/lib/copyuser_power7.S |3
arch
mtocrf define is just a wrapper around the real instructions so we can
just use real register names here (ie. lower case).
Also remove braces in macro so this is possible.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/asm-compat.h |2 +-
arch/powerpc/include/asm/ppc_asm.h
These macros are using integers where they could be using logical
names since they take registers.
We are going to enforce this soon, so fix these up now.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64e.S |8
arch/powerpc/kernel/misc_64.S|4
LOAD_REG_ADDR define is just a wrapper around real instructions so we
can just use real register names here (ie. lower case).
Signed-off-by: Michael Neuling
---
arch/powerpc/platforms/powernv/opal-wrappers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: clone3/arch/powerpc
These are currently the same as __PPC_RA/B/S/T but we'll wrap them
soon.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |4
1 file changed, 4 insertions(+)
Index: clone3/arch/powerpc/include/asm/ppc-opc
We need to do this so we can enforce the name of a and b in called
macros PPC_RA/B later.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: clone3/arch/powerpc/include/asm/ppc-opcode.h
Now have ___PPC_RA/B/S/T we can use it in some places. These are
places where we can't use the existing defines which will soon enforce
R0-R31 usage.
The macros being changed here are being used in inline asm, which
can't convert to enforce the R0-R31 usage.
Signed-off-by: Micha
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 32
1 file changed, 32 insertions(+)
Index: clone3/arch/powerpc/include/asm/ppc_asm.h
===
--- clone3.orig/arch/powerpc
Enforce the use of R0-R31 in macros where possible now we have all the
fixes in.
R0-R31 macros are removed here so that can't be used anymore. They
should not be defined anywhere.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |8 ++---
arch/powerpc/in
Jesse Larrew wrote:
> On 06/08/2012 06:36 AM, Michael Neuling wrote:
>
>
> > -/* General Purpose Registers (GPRs) */
> > +/*
> > + * General Purpose Registers (GPRs)
> > + *
> > + * The lower case r0-r31 should be used in preference to the upper
> &g
First 5 patches convert us to %r0-31.
Next 12 convert make using R0-31 required in macros.
Last 2 convert instructions where ra = r0 we use 0 rather than the
register value (as suggested by Andreas).
Version 2 adds:
ra = 0 idea (as Andreas suggested)
Fixes for 32bit KVM (added ppc44x_defconf
We are going to use these later and convert r0 to %r0 etc.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 33 +
1 file changed, 33 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc_asm.h
The assembler doesn't take %r0 register arguments in braces, so remove them.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc_
Was introduced by:
commit 19ccb76a1938ab364a412253daec64613acbf3df
Author: Paul Mackerras
Date: Sat Jul 23 17:42:46 2011 +1000
Talking to paulus, this shouldn't be a literal.
Signed-off-by: Michael Neuling
---
arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +-
1 file chang
Now all the fixes are in place, let's rock-n-roll!
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 72 -
1 file changed, 39 insertions(+), 33 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc_
move lbz/stbciz to ppc-opcode.h.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |7 +++
arch/powerpc/kernel/misc_64.S |5 -
2 files changed, 7 insertions(+), 5 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
Merge the defines of STACKFRAMESIZE, STK_REG, STK_PARAM from different
places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |5 +
arch/powerpc/lib/checksum_64.S |3
arch/powerpc/lib/copypage_power7.S |3
arch
Merge the defines of VCPU_GPR from different places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |7 +++
arch/powerpc/kvm/book3s_hv_rmhandlers.S |3 ---
arch/powerpc/kvm/book3s_interrupts.S|8
arch/powerpc/kvm/booke_interrupts.S
mtocrf define is just a wrapper around the real instructions so we can
just use real register names here (ie. lower case).
Also remove braces in macro so this is possible.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/asm-compat.h |2 +-
arch/powerpc/include/asm/ppc_asm.h
LOAD_REG_ADDR define is just a wrapper around real instructions so we
can just use real register names here (ie. lower case).
Signed-off-by: Michael Neuling
---
arch/powerpc/platforms/powernv/opal-wrappers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: powerpc-test/arch
These macros are using integers where they could be using logical
names since they take registers.
We are going to enforce this soon, so fix these up now.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64e.S |8
arch/powerpc/kernel/misc_64.S|4
These are currently the same as __PPC_RA/B/S/T but we'll wrap them
soon.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |4
1 file changed, 4 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opc
We need to do this so we can enforce the name of a and b in called
macros PPC_RA/B later.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
Enforce the use of R0-R31 in macros where possible now we have all the
fixes in.
R0-R31 macros are removed here so that can't be used anymore. They
should not be defined anywhere.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |8 ++---
arch/powerpc/includ
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 32
1 file changed, 32 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc_asm.h
===
--- powerpc-test.orig/arch
Now have ___PPC_RA/B/S/T we can use it in some places. These are
places where we can't use the existing defines which will soon enforce
R0-R31 usage.
The macros being changed here are being used in inline asm, which
can't convert to enforce the R0-R31 usage.
Signed-off-by: Micha
R0 is special since it'll be 0.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |1 +
arch/powerpc/include/asm/ppc_asm.h| 33 +
2 files changed, 34 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opc
Some macros use RA where when RA=R0 the values is 0, so make this
the enforced mnemonic in the macro.
Idea suggested by Andreas Schwab.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 14 +++---
arch/powerpc/kernel/cpu_setup_a2.S|2 +-
arch/powerpc
chroma_defconfig currently gives me this with gcc 4.6:
arch/powerpc/mm/numa.c:638:13: error: 'dm' may be used uninitialized in this
function [-Werror=uninitialized]
It's a bogus warning since of_get_drconf_memory() only writes it
anyway.
Signed-off-by: Michael Neuling
cc: st
Tony Breeds wrote:
> On Wed, Jun 20, 2012 at 02:17:47PM +1000, Michael Neuling wrote:
> > chroma_defconfig currently gives me this with gcc 4.6:
> > arch/powerpc/mm/numa.c:638:13: error: 'dm' may be used uninitialized in
> > this function [-Werror=uninitialized
chroma_defconfig currently gives me this with gcc 4.6:
arch/powerpc/mm/numa.c:638:13: error: 'dm' may be used uninitialized in this
function [-Werror=uninitialized]
It's a bogus warning/error since of_get_drconf_memory() only writes it
anyway.
Signed-off-by: Michael N
First 5 patches convert us to %r0-31.
Next 12 convert make using R0-31 required in macros.
Last 2 convert instructions where ra = r0 we use 0 rather than the
register value (as suggested by Andreas).
Version 3 adds:
Fixes for chroma (moved some defines ppc_asm.h -> ppc-opcode.h)
Fixed commen
We are going to use these later and convert r0 to %r0 etc.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 33 +
1 file changed, 33 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
The assembler doesn't take %r0 register arguments in braces, so remove them.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc_
be a literal.
Signed-off-by: Michael Neuling
---
arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: powerpc-test/arch/powerpc/kvm/book3s_hv_rmhandlers.S
===
--- powerpc-test.orig
Now all the fixes are in place, let's rock-n-roll!
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 72 -
1 file changed, 39 insertions(+), 33 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc_
move lbz/stbciz to ppc-opcode.h.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |7 +++
arch/powerpc/kernel/misc_64.S |5 -
2 files changed, 7 insertions(+), 5 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
Merge the defines of STACKFRAMESIZE, STK_REG, STK_PARAM from different
places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |5 +
arch/powerpc/lib/checksum_64.S |3
arch/powerpc/lib/copypage_power7.S |3
arch
Merge the defines of VCPU_GPR from different places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |7 +++
arch/powerpc/kvm/book3s_hv_rmhandlers.S |3 ---
arch/powerpc/kvm/book3s_interrupts.S|8
arch/powerpc/kvm/booke_interrupts.S
mtocrf define is just a wrapper around the real instructions so we can
just use real register names here (ie. lower case).
Also remove braces in macro so this is possible.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/asm-compat.h |2 +-
arch/powerpc/include/asm/ppc_asm.h
LOAD_REG_ADDR define is just a wrapper around real instructions so we
can just use real register names here (ie. lower case).
Signed-off-by: Michael Neuling
---
arch/powerpc/platforms/powernv/opal-wrappers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: powerpc-test/arch
These macros are using integers where they could be using logical
names since they take registers.
We are going to enforce this soon, so fix these up now.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64e.S |8
arch/powerpc/kernel/misc_64.S|4
We need to do this so we can enforce the name of a and b in called
macros PPC_RA/B later.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
These are currently the same as __PPC_RA/B/S/T but we'll wrap them
soon.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |4
1 file changed, 4 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opc
Now have ___PPC_RA/B/S/T we can use it in some places. These are
places where we can't use the existing defines which will soon enforce
R0-R31 usage.
The macros being changed here are being used in inline asm, which
can't convert to enforce the R0-R31 usage.
Signed-off-by: Micha
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 33 +
1 file changed, 33 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opcode.h
===
--- powerpc
Enforce the use of R0-R31 in macros where possible now we have all the
fixes in.
R0-R31 macros are removed here so that can't be used anymore. They
should not be defined anywhere.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |
R0 is special since it'll be 0.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 34 ++
1 file changed, 34 insertions(+)
Index: powerpc-test/arch/powerpc/include/asm/ppc-opc
Some macros use RA where when RA=R0 the values is 0, so make this
the enforced mnemonic in the macro.
Idea suggested by Andreas Schwab.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 14 +++---
arch/powerpc/kernel/cpu_setup_a2.S|2 +-
arch/powerpc
First 5 patches convert us to %r0-31.
Next 12 convert make using R0-31 required in macros.
Last 2 convert instructions where ra = r0 we use 0 rather than the
register value (as suggested by Andreas).
Version 4 add:
Fixes for bpf_jit code
Version 3 adds:
Fixes for chroma (moved some defines
We are going to use these later and convert r0 to %r0 etc.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 33 +
1 file changed, 33 insertions(+)
Index: b/arch/powerpc/include/asm/ppc-opcode.h
The assembler doesn't take %r0 register arguments in braces, so remove them.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Index: b/arch/powerpc/include/asm/ppc_
be a literal.
Signed-off-by: Michael Neuling
---
arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
===
--- a/arch/powerp
Now all the fixes are in place, let's rock-n-roll!
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h | 72 -
1 file changed, 39 insertions(+), 33 deletions(-)
Index: b/arch/powerpc/include/asm/ppc_
move lbz/stbciz to ppc-opcode.h.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |7 +++
arch/powerpc/kernel/misc_64.S |5 -
2 files changed, 7 insertions(+), 5 deletions(-)
Index: b/arch/powerpc/include/asm/ppc-opcode.h
Merge the defines of STACKFRAMESIZE, STK_REG, STK_PARAM from different
places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |5 +
arch/powerpc/lib/checksum_64.S |3
arch/powerpc/lib/copypage_power7.S |3
arch
Merge the defines of VCPU_GPR from different places.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc_asm.h |7 +++
arch/powerpc/kvm/book3s_hv_rmhandlers.S |3 ---
arch/powerpc/kvm/book3s_interrupts.S|8
arch/powerpc/kvm/booke_interrupts.S
mtocrf define is just a wrapper around the real instructions so we can
just use real register names here (ie. lower case).
Also remove braces in macro so this is possible.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/asm-compat.h |2 +-
arch/powerpc/include/asm/ppc_asm.h
LOAD_REG_ADDR define is just a wrapper around real instructions so we
can just use real register names here (ie. lower case).
Signed-off-by: Michael Neuling
---
arch/powerpc/platforms/powernv/opal-wrappers.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/arch/powerpc
These macros are using integers where they could be using logical
names since they take registers.
We are going to enforce this soon, so fix these up now.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64e.S |8
arch/powerpc/kernel/misc_64.S|4
We need to do this so we can enforce the name of a and b in called
macros PPC_RA/B later.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: b/arch/powerpc/include/asm/ppc-opcode.h
These are currently the same as __PPC_RA/B/S/T but we'll wrap them
soon.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |4
1 file changed, 4 insertions(+)
Index: b/arch/powerpc/include/asm/ppc-opc
ix of both generated and non-generated with the same
code, so just convert all these to use the ___PPC_R versions which
won't enforce R usage later.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 12 +--
arch/powerpc/net/bpf_jit.h
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 33 +
1 file changed, 33 insertions(+)
Index: b/arch/powerpc/include/asm/ppc-opcode.h
===
--- a/arch/powerpc/include/asm
Enforce the use of R0-R31 in macros where possible now we have all the
fixes in.
R0-R31 macros are removed here so that can't be used anymore. They
should not be defined anywhere.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h |
R0 is special since it'll be 0.
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/ppc-opcode.h | 34 ++
1 file changed, 34 insertions(+)
Index: b/arch/powerpc/include/asm/ppc-opc
Some macros use RA where when RA=R0 the values is 0, so make this
the enforced mnemonic in the macro.
Idea suggested by Andreas Schwab.
Signed-off-by: Michael Neuling
---
---
Index: b/arch/powerpc/include/asm/ppc-opcode.h
Signed-off-by: Michael Neuling
diff --git a/arch/powerpc/platforms/pseries/eeh_pseries.c
b/arch/powerpc/platforms/pseries/eeh_pseries.c
index 8752f79..c33360ec 100644
--- a/arch/powerpc/platforms/pseries/eeh_pseries.c
+++ b/arch/powerpc/platforms/pseries/eeh_pseries.c
@@ -81,7 +81,7 @@ static
The following added support for powernv but broke pseries/BML:
1f1616e powerpc/powernv: Add TCE SW invalidation support
TCE_PCI_SW_INVAL was split into FREE and CREATE flags but the tests in
the pseries code were not updated to reflect this.
Signed-off-by: Michael Neuling
cc: sta...@kernel.org
> Here are a few powerpc fixes. Arguably some of this should have come to
> you earlier but I'm only just catching up after my medical leave.
>
> Mostly these fixes regressions, a couple are long standing bugs.
Benh,
This should probably go up now too:
http://patchwork.ozlabs.org/patch/167270
> On Mon, 2012-06-25 at 18:40 -0700, Linus Torvalds wrote:
> > On Mon, Jun 25, 2012 at 5:56 PM, Kay Sievers wrote:
> > >
> > > Buffering has nice effects though:
> > > It makes continuation lines appear as one record in the buffer, not as
> > > n individual prints with n headers.
> >
> > As I alr
Kay Sievers wrote:
> On Thu, Jul 5, 2012 at 10:39 AM, Kay Sievers wrote:
> > On Thu, Jul 5, 2012 at 9:03 AM, Michael Neuling wrote:
> >>> On Mon, 2012-06-25 at 18:40 -0700, Linus Torvalds wrote:
> >
> >>> > I think it might be a great idea to buffer fo
Kay Sievers wrote:
> On Thu, 2012-07-05 at 13:47 +0200, Kay Sievers wrote:
> > On Thu, Jul 5, 2012 at 12:20 PM, Michael Neuling wrote:
> >
> > > I can only make 2) happen on SMP. It's when the second CPU is coming up
> > > and it's printing something
Kay Sievers wrote:
> On Fri, Jul 6, 2012 at 2:41 AM, Michael Neuling wrote:
>
> >> > Does this happen only very early during bootup, or also later when the
> >> > box fully initialized?
> >
> > I'm seeing during boot but not later (xmon (ppc kern
Michael Neuling wrote:
> Kay Sievers wrote:
>
> > On Fri, Jul 6, 2012 at 2:41 AM, Michael Neuling wrote:
> >
> > >> > Does this happen only very early during bootup, or also later when the
> > >> > box fully initialized?
> > >
>
s to put the IPIs on one core (CPU0&1) and lan0 and
ibmvscsi on the other core (CPU2&3). This is suboptimal as we want lan0
and ibmvscsi to be on separate cores and IPIs to be ignored.
When irqblance attempts writes to the IPI smp_affinity (ie.
/proc/irq/16/smp_affinity in the above example)
In message <1286855108.14049.8.ca...@flin.austin.ibm.com> you wrote:
> icswx is a PowerPC co-processor instruction to send data to a
> co-processor. On Book-S processors the LPAR_ID and process ID (PID) of
> the owning process are registered in the window context of the
> co-processor at initial ti
901 - 1000 of 1646 matches
Mail list logo