Skip to content

Commit 41cc49e

Browse files
mpemaddy-kerneldev
authored andcommitted
powerpc/xmon: Remove SPU debug and disassembly
Now that the IBM Cell Blade support is removed, the xmon SPU support is effectively unusable. That is because PS3 doesn't implement udbg_getc which is required to send input to xmon. So remove the xmon SPU support. Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 11923e0 commit 41cc49e

File tree

8 files changed

+1
-1066
lines changed

8 files changed

+1
-1066
lines changed

arch/powerpc/include/asm/xmon.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212

1313
#ifdef CONFIG_XMON
1414
extern void xmon_setup(void);
15-
void __init xmon_register_spus(struct list_head *list);
1615
struct pt_regs;
1716
extern int xmon(struct pt_regs *excp);
1817
extern irqreturn_t xmon_irq(int, void *);
1918
#else
2019
static inline void xmon_setup(void) { }
21-
static inline void xmon_register_spus(struct list_head *list) { }
2220
#endif
2321

2422
#if defined(CONFIG_XMON) && defined(CONFIG_SMP)

arch/powerpc/platforms/cell/spu_base.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include <asm/spu.h>
2424
#include <asm/spu_priv1.h>
2525
#include <asm/spu_csa.h>
26-
#include <asm/xmon.h>
2726
#include <asm/kexec.h>
2827

2928
const struct spu_management_ops *spu_management_ops;
@@ -772,7 +771,6 @@ static int __init init_spu_base(void)
772771
fb_append_extra_logo(&logo_spe_clut224, ret);
773772

774773
mutex_lock(&spu_full_list_mutex);
775-
xmon_register_spus(&spu_full_list);
776774
crash_register_spus(&spu_full_list);
777775
mutex_unlock(&spu_full_list_mutex);
778776
spu_add_dev_attr(&dev_attr_stat);

arch/powerpc/xmon/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,4 @@ ccflags-$(CONFIG_CC_IS_CLANG) += -Wframe-larger-than=4096
1616

1717
obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o
1818

19-
ifdef CONFIG_XMON_DISASSEMBLY
20-
obj-y += ppc-dis.o ppc-opc.o
21-
obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
22-
endif
19+
obj-$(CONFIG_XMON_DISASSEMBLY) += ppc-dis.o ppc-opc.o

arch/powerpc/xmon/spu-dis.c

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)