Skip to contentSkip to conversation

Please pull powerpc.git merge branch

GIT PULL Benjamin Herrenschmidt 5 participants 8 messages Nov 18, 2010 – Nov 22, 2010 1 message not in the archive PowerPC

lore
Share & tools
lore
#0 lore raw

Hi Linus !

Here are a handful of bug fixes and trivialities for powerpc for you to pull.

Thanks !

Cheers,
Ben.

The following changes since commit 7957f0a857754c555e07f58a3fb83ac29501478c:
Linus Torvalds (1):
Fix build failure due to hwirq.h needing smp_lock.h

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git merge

Alessio Igor Bogani (1):
powerpc: Update a BKL related comment

Benjamin Herrenschmidt (1):
powerpc: Fix div64 in bootloader

Kumar Gala (2):
powerpc/mm: Fix build error in setup_initial_memory_limit powerpc/mm: Fix module instruction tlb fault handling on Book-E 64

Michael Neuling (1):
powerpc: Fix call to subpage_protection()

Nishanth Aravamudan (1):
powerpc/pseries: Don't override CONFIG_PPC_PSERIES_DEBUG

kerstin jonsson (1):
powerpc: Set CONFIG_32BIT on ppc32

 arch/powerpc/Kconfig                       |    4 ++++
 arch/powerpc/boot/div64.S                  |    3 ++-
 arch/powerpc/kernel/setup_64.c             |    5 ++---
 arch/powerpc/mm/hash_utils_64.c            |    2 +-
 arch/powerpc/mm/tlb_low_64e.S              |    5 ++++-
 arch/powerpc/mm/tlb_nohash.c               |    2 +-
 arch/powerpc/platforms/pseries/Kconfig     |    6 ++++++
 arch/powerpc/platforms/pseries/eeh.c       |    2 --
 arch/powerpc/platforms/pseries/pci_dlpar.c |    2 --
 9 files changed, 20 insertions(+), 11 deletions(-)
#1 lore raw
Quoted 2 lines

Michael Neuling (1):
powerpc: Fix call to subpage_protection()

Well that's annoying...

Looks like the bottom of my commit got chopped as the oops message has a "---" in it. We lost the cc: [email protected] :-(

Comparing the original post to the final commit:
http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087141.html
To the final:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1c2c25c78740b2796c7c06640784cb6732fa4907

It'd be nice if we had something like this in:

powerpc: fix debug prints to avoid ---

Many commit tools assume anything below a line starting with --- is a comment. Since the following two prints are often used as debug outputs and hence in checkin comments avoid using --- in these

---
Let the bike shedding begin!

 arch/powerpc/kernel/process.c |    2 +-
 arch/powerpc/xmon/xmon.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/kernel/process.c +1 -1
Index: linux-2.6-ozlabs/arch/powerpc/kernel/process.c
===================================================================
@@ -1167,7 +1167,7 @@
 			struct pt_regs *regs = (struct pt_regs *)
 				(sp + STACK_FRAME_OVERHEAD);
 			lr = regs->link;
-			printk("--- Exception: %lx at %pS\n    LR = %pS\n",
+			printk("=== Exception: %lx at %pS\n    LR = %pS\n",
 			       regs->trap, (void *)regs->nip, (void *)lr);
 			firstframe = 1;
 		}
arch/powerpc/xmon/xmon.c +1 -1
Index: linux-2.6-ozlabs/arch/powerpc/xmon/xmon.c
===================================================================
@@ -1363,7 +1363,7 @@
 				       sp + REGS_OFFSET);
 				break;
 			}
-                        printf("--- Exception: %lx %s at ", regs.trap,
+                        printf("=== Exception: %lx %s at ", regs.trap,
 			       getvecname(TRAP(&regs)));
 			pc = regs.nip;
 			lr = regs.link;
#2 lore raw
Quoted 5 lines · Michael Neuling
Quoted 2 lines

Michael Neuling (1):
powerpc: Fix call to subpage_protection()

Well that's annoying...

Quoted 7 lines

Looks like the bottom of my commit got chopped as the oops message has a "---" in it. We lost the cc: [email protected] :-(

Comparing the original post to the final commit:
http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087141.html
To the final:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1c2c25c78740b2796c7c06640784cb6732fa4907

LOL.

Quoted 11 lines

It'd be nice if we had something like this in:

powerpc: fix debug prints to avoid ---

Many commit tools assume anything below a line starting with --- is a comment. Since the following two prints are often used as debug outputs and hence in checkin comments avoid using --- in these

---
Let the bike shedding begin!

I vote for:

-> Exception: 401 (Instruction Access) at 00000000f7937794

Because exceptions are like an arrow!

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 9 lines · Stephen Rothwell
Quoted 4 lines · On Fri, 19 Nov 2010 09:08:02 +1100 Michael Ellerman <[email protected]>…

I vote for:

-> Exception: 401 (Instruction Access) at 00000000f7937794

Or:

☛ Exception: 401 (Instruction Access) at 00000000f7937794

Let's get serious, it's _really_ like a phone call:

☎ Exception: 401 (Instruction Access) at 00000000f7937794

cheers

#5 lore raw
Quoted 7 lines · Stephen Rothwell
Quoted 1 line

On Fri, 19 Nov 2010 09:08:02 +1100 Michael Ellerman <[email protected].=

Quoted 4 lines · au> wrote:
Quoted 4 lines

I vote for:
=20
-> Exception: 401 (Instruction Access) at 00000000f7937794

Quoted 8 lines
Quoted 4 lines

=20
Or:
=20
=E2=98=9B Exception: 401 (Instruction Access) at 00000000f7937794

Let's get serious, it's _really_ like a phone call:

=E2=98=8E Exception: 401 (Instruction Access) at 00000000f7937794

We need a dedicated NACK char!

Mikey

#6 lore raw
Quoted 12 lines · Michael Neuling
Quoted 12 lines · Stephen Rothwell
Quoted 1 line

On Fri, 19 Nov 2010 09:08:02 +1100 Michael Ellerman <[email protected].=

Quoted 8 lines · au> wrote:
Quoted 4 lines

I vote for:
=20
-> Exception: 401 (Instruction Access) at 00000000f7937794

=20
Or:
=20
=E2=98=9B Exception: 401 (Instruction Access) at 00000000f7937794

Quoted 5 lines
Quoted 3 lines

Let's get serious, it's _really_ like a phone call:

=E2=98=8E Exception: 401 (Instruction Access) at 00000000f7937794

We need a dedicated NACK char!

␕!

#7 lore raw
Quoted 3 lines · Michael Ellerman
Quoted 2 lines · Michael Neuling
Quoted 2 lines · Stephen Rothwell
Quoted 1 line

On Fri, 19 Nov 2010 09:08:02 +1100 Michael Ellerman <michael@ellerma=

n.id.=3D

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines · au> wrote:
Quoted 4 lines

I vote for:
=3D20
=C2=A0-> Exception: 401 (Instruction Access) at 00000000f7937794

=3D20
Or:
=3D20
=3DE2=3D98=3D9B Exception: 401 (Instruction Access) at 00000000f7937=

794

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Let's get serious, it's _really_ like a phone call:

=3DE2=3D98=3D8E Exception: 401 (Instruction Access) at 00000000f793779=

4

Quoted 4 lines
Quoted 2 lines

We need a dedicated NACK char!

=E2=90=95!

Surely it would be: =E2=98=A3

josh

#8 lore raw
In reply to Michael Ellerman
Quoted 2 lines · On Fri, 19 Nov 2010 16:44:18 +1100 Michael Ellerman <[email protected]>…
Quoted 1 line · Stephen Rothwell

On Fri, 19 Nov 2010 09:08:02 +1100 Michael Ellerman <[email protected]=

Quoted 4 lines · d.au> wrote:
Quoted 4 lines
Quoted 4 lines

I vote for:
=20
-> Exception: 401 (Instruction Access) at 00000000f7937794

Quoted 8 lines
Quoted 4 lines

=20
Or:
=20
=E2=98=9B Exception: 401 (Instruction Access) at 00000000f7937794

=20
Let's get serious, it's _really_ like a phone call:
=20
=E2=98=8E Exception: 401 (Instruction Access) at 00000000f7937794

Sparc got it right:

void die_if_kernel(char *str, struct pt_regs *regs)

{
	static int die_counter;
	int count =3D 0;
=09
	/* Amuse the user. */
	printk(
"              \\|/ ____ \\|/\n"
"              \"@'/ .. \\`@\"\n"
"              /_| \\__/ |_\\\n"

" \\__U_/\n");

-Scott