On Fri, 2012-06-08 at 10:06 +0530, Ananth N Mavinakayanahalli wrote:
> On Wed, Jun 06, 2012 at 11:08:04AM -0700, Jim Keniston wrote:
> > On Wed, 2012-06-06 at 15:05 +0530, Ananth N Mavinakayanahalli wrote:
> > > On Wed, Jun 06, 2012 at 11:27:02AM +0200, Peter Zijlstra wrote:
> > > > On Wed, 2012-06
On Fri, 2012-06-08 at 11:31 +0530, Ananth N Mavinakayanahalli wrote:
> On Fri, Jun 08, 2012 at 03:51:54PM +1000, Michael Ellerman wrote:
> > On Fri, 2012-06-08 at 10:06 +0530, Ananth N Mavinakayanahalli wrote:
> > > On Wed, Jun 06, 2012 at 11:08:04AM -0700, Jim Keniston wrote:
&g
On Fri, 2012-06-08 at 11:49 +0530, Ananth N Mavinakayanahalli wrote:
> On Fri, Jun 08, 2012 at 04:17:44PM +1000, Michael Ellerman wrote:
> > On Fri, 2012-06-08 at 11:31 +0530, Ananth N Mavinakayanahalli wrote:
> > > On Fri, Jun 08, 2012 at 03:51:54PM +1000, Michael Ellerman wro
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
On Fri, 2012-06-08 at 14:51 +0530, Ananth N Mavinakayanahalli wrote:
> On Fri, Jun 08, 2012 at 04:38:17PM +1000, Michael Ellerman wrote:
> > On Fri, 2012-06-08 at 11:49 +0530, Ananth N Mavinakayanahalli wrote:
> > > On Fri, Jun 08, 2012 at 04:17:44PM +1000, Michael Ellerman wro
On Wed, 2012-04-25 at 19:19 +, Andre Heider wrote:
> Use any preallocated highmem region setup by the bootloader.
> This implementation only checks for the existance of a single
> region at region_index=0.
>
> This feature allows the bootloader to preallocate highmem
> regions and pass the reg
On Tue, 2012-06-05 at 12:47 +1000, Anton Blanchard wrote:
> Hi,
>
> > On Mon, 2012-06-04 at 16:43 +1000, Michael Ellerman wrote:
> > > There is some chance this will result in breakage because the driver
> > > asks for N - and assumes that is what was alloc
On Wed, 2012-06-13 at 17:21 +0200, Guillaume Dargaud wrote:
> Hello all,
> I just updated to the most recent kernel and a driver I wrote last year
> won't compile:
> xad.c:534:2: error: implicit declaration of function
> 'of_register_platform_driver'
>
> I see references to this function as 'obs
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
On Thu, 2012-06-14 at 18:40 -0500, Scott Wood wrote:
> The array of names in hugetlbpage.c no longer exists.
>
> Signed-off-by: Scott Wood
> ---
> arch/powerpc/include/asm/mmu.h |7 +--
> 1 files changed, 1 insertions(+), 6 deletions(-)
>
> diff --git a/arch/powerpc/include/asm/mmu.h b/
On Fri, 2012-06-15 at 21:21 +0800, Wanpeng Li wrote:
> From: Wanpeng Li
>
> Since these patches has already send more than one week and
> doesn't get any response, I collect them and send out a patch set.
These patches are all trivial cleanups, so I would not expect to get any
response. Just lo
On Mon, 2012-06-18 at 15:55 -0500, Seth Jennings wrote:
> This is a continuation of a thread a few months ago:
...
>
> With local_flush_tlb_kernel_range() being a stub,
> the new function local_unmap_kernel_range() is exactly
> the same as unmap_kernel_range() since
> local_flush_tlb_kernel_range
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
On Wed, 2012-06-20 at 17:50 +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> powerpc64-linux-ld: arch/powerpc/net/built-in.o: In function
> `bpf_slow_path_word':
> (.text+0x90): sibling call optimiz
On Thu, 2012-06-21 at 16:24 +1000, Benjamin Herrenschmidt wrote:
> On Thu, 2012-06-21 at 15:36 +1000, Michael Ellerman wrote:
> >
> > powerpc64-linux-ld:
> > /src/next/net/openvswitch/vport-netdev.c:189:(.text+0x89b990):
> > sibling call optimization to `_
On Thu, 2012-06-21 at 17:07 +1000, Michael Ellerman wrote:
> On Thu, 2012-06-21 at 16:24 +1000, Benjamin Herrenschmidt wrote:
> > On Thu, 2012-06-21 at 15:36 +1000, Michael Ellerman wrote:
> > >
> > > powerpc64-linux-ld:
> > > /src/next/net/openvswitc
On Thu, 2012-06-21 at 21:13 +0930, Alan Modra wrote:
> On Thu, Jun 21, 2012 at 08:18:39PM +0930, Alan Modra wrote:
> > Linker bug. That's not a sibling call, but a normal function return
> > via an out-of-line register restore function.
>
> I couldn't see how this might be occurring, then I remem
load of our TOC pointer.
Signed-off-by: Michael Ellerman
---
arch/powerpc/net/bpf_jit_64.S |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/net/bpf_jit_64.S b/arch/powerpc/net/bpf_jit_64.S
index 55ba385..7d3a3b5 100644
--- a/arch/powerpc/net/bpf_jit_64.S
+++ b/arch/powerpc
Matt added BPF_JIT support in commit 0ca87f05, but currently none of our
defconfigs build it. Turn that sucker on.
Signed-off-by: Michael Ellerman
---
arch/powerpc/configs/ppc64_defconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/configs/ppc64_defconfig
b/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
I'm hoping someone here can help me. Several levels of Freescale
management have assured me that I am authorized to discuss their Linux
code on public lists--and even explicitly suggested the ozlabs
linuxppc-dev list.
I'm using the P4080 processor and the Freescale SDK on a custom board.
We've 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
On Tue, 2012-06-26 at 22:06 +0200, Geert Uytterhoeven wrote:
> On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
> wrote:
> > JFYI, when comparing v3.5-rc4 to v3.5-rc3[3], the summaries are:
> > - build errors: +11/-219
> powerpc-randconfig
>
> + include/asm-generic/pgtable.h: error: implic
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
On Thu, 2012-06-28 at 00:01 +0800, Gavin Shan wrote:
> The patch adds more logs to EEH initialization functions for
> debugging purpose. Also, the machine type ("pSeries") is checked
> in the platform initialization to assure it's the correct platform
> to invoke it.
Hi Gavin,
Our boot logs are f
> 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
Purely for cosmetic purposes, otherwise it can appear that we are in
single_step_pSeries() which is slightly confusing.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/exceptions-64s.S |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch
> 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
201 - 300 of 2979 matches
Mail list logo