From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2018-01-12 02:32:40
WORD2 if the TIMA isn't byte accessible and
isn't that useful to know about, take out the
pr_devel statement.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/sysdev/xive/common.c | 5 -----
1 file changed, 5 deletions(-)
@@ -1269,11 +1269,6 @@ static void xive_setup_cpu(void){structxive_cpu*xc=__this_cpu_read(xive_cpu);-/* Debug: Dump the TM state */-pr_devel("CPU %d [HW 0x%02x] VT=%02x\n",-smp_processor_id(),hard_smp_processor_id(),-in_8(xive_tima+xive_tima_offset+TM_WORD2));-/* The backend might have additional things to do */if(xive_ops->setup_cpu)xive_ops->setup_cpu(smp_processor_id(),xc);
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2018-01-12 02:32:40
Trap numbers can have extra bits at the bottom that need to
be filtered out. There are a few cases where we don't do that.
It's possible that we got lucky but better safe than sorry.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/kernel/process.c | 2 +-
arch/powerpc/kernel/traps.c | 2 +-
arch/powerpc/mm/fault.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
@@ -576,7 +576,7 @@ void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)/* kernel has accessed a bad area */-switch(regs->trap){+switch(TRAP(regs)){case0x300:case0x380:printk(KERN_ALERT"Unable to handle kernel paging request for "
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2018-01-12 02:32:41
This statement causes some not very useful messages to always
be printed on the serial port at boot, even on quiet boots.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/kernel/setup_64.c | 2 --
1 file changed, 2 deletions(-)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2018-01-12 02:32:46
The only difference between EXC_COMMON_HV and EXC_COMMON is that the
former adds "2" to the trap number which is supposed to represent the
fact that this is an "HV" interrupt which uses HSRR0/1.
However KVM is the only one who cares and it has its own separate macros.
In fact, we only have one user of EXC_COMMON_HV and it's for an
unknown interrupt case. All the other ones already using EXC_COMMON.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/include/asm/head-64.h | 7 +------
arch/powerpc/kernel/exceptions-64s.S | 2 +-
2 files changed, 2 insertions(+), 7 deletions(-)
From: Michael Ellerman <hidden> Date: 2018-01-17 13:30:33
On Fri, 2018-01-12 at 02:28:45 UTC, Benjamin Herrenschmidt wrote:
WORD2 if the TIMA isn't byte accessible and
isn't that useful to know about, take out the
pr_devel statement.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
From: Michael Ellerman <hidden> Date: 2018-01-17 13:30:39
On Fri, 2018-01-12 at 02:28:48 UTC, Benjamin Herrenschmidt wrote:
The only difference between EXC_COMMON_HV and EXC_COMMON is that the
former adds "2" to the trap number which is supposed to represent the
fact that this is an "HV" interrupt which uses HSRR0/1.
However KVM is the only one who cares and it has its own separate macros.
In fact, we only have one user of EXC_COMMON_HV and it's for an
unknown interrupt case. All the other ones already using EXC_COMMON.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
From: Michael Ellerman <hidden> Date: 2018-01-17 13:30:42
On Fri, 2018-01-12 at 02:28:49 UTC, Benjamin Herrenschmidt wrote:
Trap numbers can have extra bits at the bottom that need to
be filtered out. There are a few cases where we don't do that.
It's possible that we got lucky but better safe than sorry.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>