Skip to contentSkip to conversation

MIPS: Remove last traces of SMTC Support too?

PATCH Paul Bolle 3 participants 5 messages Apr 9, 2014 MIPS

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

The patch "MIPS: Remove SMTC Support" landed in linux-next (see next-20140409). A quick grep of the tree suggests a follow up is needed (a sort-of-patch is pasted below).

Is a similar follow up queued somewhere? If not, should I submit a patch or should I wait with doing that until "MIPS: Remove SMTC Support" hits mainline?

Paul Bolle

---
 arch/mips/configs/maltasmtc_defconfig | 196 --------------------
 arch/mips/include/asm/cpu-info.h      |   2 +-
 arch/mips/include/asm/smtc.h          |  78 --------
 arch/mips/include/asm/smtc_ipi.h      | 129 --------------
 arch/mips/include/asm/smtc_proc.h     |  23 ---
 arch/mips/kernel/cevt-smtc.c          | 324 ----------------------------------
 arch/mips/kernel/smtc-asm.S           | 133 --------------
 arch/mips/kernel/smtc-proc.c          | 102 -----------
 arch/mips/pmcs-msp71xx/msp_smtc.c     | 104 -----------
 9 files changed, 1 insertion(+), 1090 deletions(-)
 delete mode 100644 arch/mips/configs/maltasmtc_defconfig
 delete mode 100644 arch/mips/include/asm/smtc.h
 delete mode 100644 arch/mips/include/asm/smtc_ipi.h
 delete mode 100644 arch/mips/include/asm/smtc_proc.h
 delete mode 100644 arch/mips/kernel/cevt-smtc.c
 delete mode 100644 arch/mips/kernel/smtc-asm.S
 delete mode 100644 arch/mips/kernel/smtc-proc.c
 delete mode 100644 arch/mips/pmcs-msp71xx/msp_smtc.c
arch/mips/configs/maltasmtc_defconfig deleted +0 -0
deleted file mode 100644
index eb316447588c..000000000000
arch/mips/include/asm/cpu-info.h +1 -1
index 2f6812b901b0..04088cf4e519 100644
@@ -108,7 +108,7 @@ struct proc_cpuinfo_notifier_args {
 	unsigned long n;
 };
 
-#if defined(CONFIG_MIPS_MT_SMP) || defined(CONFIG_MIPS_MT_SMTC)
+#if defined(CONFIG_MIPS_MT_SMP)
 # define cpu_vpe_id(cpuinfo)	((cpuinfo)->vpe_id)
 #else
 # define cpu_vpe_id(cpuinfo)	0
arch/mips/include/asm/smtc.h deleted +0 -0
deleted file mode 100644
index e56b439b7871..000000000000
arch/mips/include/asm/smtc_ipi.h deleted +0 -0
deleted file mode 100644
index 15278dbd7e79..000000000000
arch/mips/include/asm/smtc_proc.h deleted +0 -0
deleted file mode 100644
index 25da651f1f5f..000000000000
arch/mips/kernel/cevt-smtc.c deleted +0 -0
deleted file mode 100644
index b6cf0a60d896..000000000000
arch/mips/kernel/smtc-asm.S deleted +0 -0
deleted file mode 100644
index 2866863a39df..000000000000
arch/mips/kernel/smtc-proc.c deleted +0 -0
deleted file mode 100644
index 38635a996cbf..000000000000
arch/mips/pmcs-msp71xx/msp_smtc.c deleted +0 -0
deleted file mode 100644
index 6b5607fce279..000000000000
Signature · 1 line
1.9.0
#1 lore raw
Quoted 10 lines · Paul Bolle

The patch "MIPS: Remove SMTC Support" landed in linux-next (see next-20140409). A quick grep of the tree suggests a follow up is needed (a sort-of-patch is pasted below).

Is a similar follow up queued somewhere? If not, should I submit a patch or should I wait with doing that until "MIPS: Remove SMTC Support" hits mainline?

Paul Bolle

Hi Paul,

I talked to Ralf yesterday. It seems the patch was not applied correctly and there are a few traces left. My original patch definitely removes the traces listed in your patch.

You can compare the original patch

https://patchwork.linux-mips.org/patch/6719/

with the one currently present in upstream-sfr/mips-for-linux-next branch

Signature · 1 line
markos
#2 lore raw
Quoted 18 lines · Markos Chandras
Quoted 10 lines · Paul Bolle

The patch "MIPS: Remove SMTC Support" landed in linux-next (see next-20140409). A quick grep of the tree suggests a follow up is needed (a sort-of-patch is pasted below).

Is a similar follow up queued somewhere? If not, should I submit a patch or should I wait with doing that until "MIPS: Remove SMTC Support" hits mainline?

Paul Bolle

Hi Paul,

I talked to Ralf yesterday. It seems the patch was not applied correctly and there are a few traces left. My original patch definitely removes the traces listed in your patch.

Quoted 6 lines

You can compare the original patch

https://patchwork.linux-mips.org/patch/6719/

with the one currently present in upstream-sfr/mips-for-linux-next branch

Note that the cpu-info.h part of Paul's suggested patch is new, due to code added in b86c2247a20f (MIPS: Add cpu_vpe_id macro).

Cheers
James

author
#3 lore raw
In reply to Markos Chandras

Hi Markos,

Quoted 3 lines · Markos Chandras

I talked to Ralf yesterday. It seems the patch was not applied correctly and there are a few traces left. My original patch definitely removes the traces listed in your patch.

Assuming Ralf and you sort this out, and a complete removal of SMTC support will eventually hit linux-next, I won't be bothering you again.

Thanks,

Paul Bolle

#4 lore raw
Quoted 7 lines · Paul Bolle

Hi Markos,

Quoted 3 lines · Markos Chandras

I talked to Ralf yesterday. It seems the patch was not applied correctly and there are a few traces left. My original patch definitely removes the traces listed in your patch.

Quoted 8 lines

Assuming Ralf and you sort this out, and a complete removal of SMTC support will eventually hit linux-next, I won't be bothering you again.

Thanks,

Paul Bolle

Hi Paul,

As James pointed out, it seems there are a few traces of SMTC left even with my original patch. I will make sure everything is gone in time though.

Signature · 1 line
markos