Skip to contentSkip to conversation

memory: bt1-l2-ctl: Remove not-going-to-be-supported code for Baikal SoC

PATCH In review Andy Shevchenko 3 participants 11 messages Feb 24 – Feb 25 Memory controller drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 memory: bt1-l2-ctl: Remove not-going-to-be-supported code for Baikal SoC

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

v2: dropped DT bindings change (Krzysztof)

 drivers/memory/Kconfig      |  11 --
 drivers/memory/Makefile     |   1 -
 drivers/memory/bt1-l2-ctl.c | 323 ------------------------------------
 3 files changed, 335 deletions(-)
 delete mode 100644 drivers/memory/bt1-l2-ctl.c
drivers/memory/Kconfig +0 -11
index 79df0d22e218..e5527020ff33 100644
@@ -64,17 +64,6 @@ config BRCMSTB_MEMC
 	  controller and specifically control the Self Refresh Power Down
 	  (SRPD) inactivity timeout.
 
-config BT1_L2_CTL
-	bool "Baikal-T1 CM2 L2-RAM Cache Control Block"
-	depends on MIPS_BAIKAL_T1 || COMPILE_TEST
-	select MFD_SYSCON
-	help
-	  Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU
-	  resides Coherency Manager v2 with embedded 1MB L2-cache. It's
-	  possible to tune the L2 cache performance up by setting the data,
-	  tags and way-select latencies of RAM access. This driver provides a
-	  dt properties-based and sysfs interface for it.
-
 config TI_AEMIF
 	tristate "Texas Instruments AEMIF driver"
 	depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
drivers/memory/Makefile +0 -1
index c1959661bf63..3ee883c8759a 100644
@@ -11,7 +11,6 @@ obj-$(CONFIG_ARM_PL172_MPMC)	+= pl172.o
 obj-$(CONFIG_ATMEL_EBI)		+= atmel-ebi.o
 obj-$(CONFIG_BRCMSTB_DPFE)	+= brcmstb_dpfe.o
 obj-$(CONFIG_BRCMSTB_MEMC)	+= brcmstb_memc.o
-obj-$(CONFIG_BT1_L2_CTL)	+= bt1-l2-ctl.o
 obj-$(CONFIG_TI_AEMIF)		+= ti-aemif.o
 obj-$(CONFIG_TI_EMIF)		+= emif.o
 obj-$(CONFIG_OMAP_GPMC)		+= omap-gpmc.o
drivers/memory/bt1-l2-ctl.c deleted +0 -323

323 lines not on this page · raw message

Signature · 1 line
2.50.1
#1 lore raw
Quoted 9 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Was there any other feedback?

Best regards,
Krzysztof

#2 lore raw
Quoted 11 lines · Krzysztof Kozlowski
Quoted 9 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

v2: dropped DT bindings change (Krzysztof)

Quoted 6 lines

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 15 lines · Andy Shevchenko
Quoted 14 lines · Krzysztof Kozlowski
Quoted 9 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

Quoted 7 lines
Quoted 3 lines

so bindings are separate patches.

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Bindings removal _separate_ patch:
https://lore.kernel.org/r/[email protected]

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#4 lore raw
Quoted 18 lines · Andy Shevchenko
Quoted 17 lines · Andy Shevchenko
Quoted 16 lines · Krzysztof Kozlowski
Quoted 9 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Bindings removal _separate_ patch:
https://lore.kernel.org/r/[email protected]

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

Best regards,
Krzysztof

#5 lore raw
Quoted 24 lines · Krzysztof Kozlowski
Quoted 23 lines · Andy Shevchenko
Quoted 21 lines · Andy Shevchenko
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

Quoted 8 lines
Quoted 1 line

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Quoted 6 lines
Quoted 2 lines

Bindings removal _separate_ patch:
https://lore.kernel.org/r/[email protected]

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

I see, it seems too hard to do this right from the start. Thanks for elaboration!

I will address this concern in v3.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#6 lore raw
Quoted 25 lines · Andy Shevchenko
Quoted 24 lines · Krzysztof Kozlowski
Quoted 23 lines · Andy Shevchenko
Quoted 21 lines · Andy Shevchenko
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

Quoted 8 lines
Quoted 1 line

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Bindings removal _separate_ patch:
https://lore.kernel.org/r/[email protected]

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

I see, it seems too hard to do this right from the start.

Just like reverts of multiple commits are going in reversed order of commits, then this is done in exact reverse order, so you can simply look at any other patchset and do the reverse. Just took the latets from:
https://lore.kernel.org/linux-devicetree/

So this is adding:
https://lore.kernel.org/linux-devicetree/[email protected]/T/#m7817a527e6819c9383456aeaa0fe22f86e470d6f

and removing would be exact revert, reverse order, with of course appropriate subjects and commit msgs.

Best regards,
Krzysztof

#7 lore raw
Quoted 40 lines · Krzysztof Kozlowski
Quoted 25 lines · Andy Shevchenko
Quoted 24 lines · Krzysztof Kozlowski
Quoted 23 lines · Andy Shevchenko
Quoted 21 lines · Andy Shevchenko
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

Quoted 8 lines
Quoted 1 line

v2: dropped DT bindings change (Krzysztof)

I think we misunderstood each other. I was speaking about that feedback:
https://lore.kernel.org/linux-devicetree/[email protected]/

so bindings are separate patches.

Was there any other feedback?

Now you are totally confused me.
I did what you asked, I split bindings removal to a separate patch. The code is also removed in this patch. What do you want?

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Bindings removal _separate_ patch:
https://lore.kernel.org/r/[email protected]

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

I see, it seems too hard to do this right from the start.

Just like reverts of multiple commits are going in reversed order of commits, then this is done in exact reverse order, so you can simply look at any other patchset and do the reverse. Just took the latets from:
https://lore.kernel.org/linux-devicetree/

Quoted 5 lines

So this is adding:
https://lore.kernel.org/linux-devicetree/[email protected]/T/#m7817a527e6819c9383456aeaa0fe22f86e470d6f

and removing would be exact revert, reverse order, with of course appropriate subjects and commit msgs.

These can't be done as pure set of reverts. This needs a manual work.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#8 lore raw
Quoted 11 lines · Andy Shevchenko
Quoted 11 lines
Quoted 5 lines
Quoted 3 lines

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

I see, it seems too hard to do this right from the start.

Just like reverts of multiple commits are going in reversed order of commits, then this is done in exact reverse order, so you can simply look at any other patchset and do the reverse. Just took the latets from:
https://lore.kernel.org/linux-devicetree/

Quoted 7 lines
Quoted 5 lines

So this is adding:
https://lore.kernel.org/linux-devicetree/[email protected]/T/#m7817a527e6819c9383456aeaa0fe22f86e470d6f

and removing would be exact revert, reverse order, with of course appropriate subjects and commit msgs.

These can't be done as pure set of reverts. This needs a manual work.

I understand, I wanted to explain how to deduce the proper flow.

Quoted 1 line

Best regards,
Krzysztof

#9 lore raw
Quoted 15 lines · Krzysztof Kozlowski
Quoted 14 lines · Andy Shevchenko
Quoted 14 lines
Quoted 5 lines
Quoted 3 lines

Separate patch in these patch series! The ABI documentation ALWAYS goes with the implementation. Every patch on LKML follows that rule and also it is explicitly documented in DT submitting patches.

I see, it seems too hard to do this right from the start.

Just like reverts of multiple commits are going in reversed order of commits, then this is done in exact reverse order, so you can simply look at any other patchset and do the reverse. Just took the latets from:
https://lore.kernel.org/linux-devicetree/

So this is adding:
https://lore.kernel.org/linux-devicetree/[email protected]/T/#m7817a527e6819c9383456aeaa0fe22f86e470d6f

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

and removing would be exact revert, reverse order, with of course appropriate subjects and commit msgs.

These can't be done as pure set of reverts. This needs a manual work.

I understand, I wanted to explain how to deduce the proper flow.

Got it, thank you!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
Reviewed-by on v2 1/1
#10 lore raw
In reply to Andy Shevchenko
Quoted 7 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---

Quoted 7 lines

v2: dropped DT bindings change (Krzysztof)

 drivers/memory/Kconfig      |  11 --
 drivers/memory/Makefile     |   1 -
 drivers/memory/bt1-l2-ctl.c | 323 ------------------------------------
 3 files changed, 335 deletions(-)
 delete mode 100644 drivers/memory/bt1-l2-ctl.c
Signature · 1 line
~Randy