All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Enable crashdump collection support for IPQ9574
@ 2023-01-13 16:00 ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Crashdump collection is enabled based on the DLOAD bit in the TCSR register.
This bit is set during bootup and cleared during shutdown. During crash,
dload bit is not cleared, due to which uboot starts crashdump collection.

This patch series adds the support for crashdump collection.

This series depends on the below patch set.
https://lore.kernel.org/linux-arm-msm/20230113150310.29709-1-quic_devipriy@quicinc.com/

Poovendhan Selvaraj (5):
  dt-bindings: scm: Add compatible for IPQ9574
  arm64: dts: Add support for Crashdump collection on IPQ9574
  firmware: scm: Modify only the DLOAD bit in TCSR register for download
    mode
  arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
  dt-bindings: tcsr: Add compatible for IPQ9574

 .../bindings/firmware/qcom,scm.yaml           |  1 +
 .../devicetree/bindings/mfd/qcom,tcsr.yaml    |  1 +
 arch/arm64/boot/dts/qcom/ipq9574.dtsi         | 25 +++++++++++++++++++
 arch/arm64/configs/defconfig                  |  1 +
 drivers/firmware/qcom_scm.c                   | 12 ++++++---
 5 files changed, 36 insertions(+), 4 deletions(-)


base-commit: d9fc1511728c15df49ff18e49a494d00f78b7cd4
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [PATCH 0/5] Enable crashdump collection support for IPQ9574
@ 2023-01-13 16:00 ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Crashdump collection is enabled based on the DLOAD bit in the TCSR register.
This bit is set during bootup and cleared during shutdown. During crash,
dload bit is not cleared, due to which uboot starts crashdump collection.

This patch series adds the support for crashdump collection.

This series depends on the below patch set.
https://lore.kernel.org/linux-arm-msm/20230113150310.29709-1-quic_devipriy@quicinc.com/

Poovendhan Selvaraj (5):
  dt-bindings: scm: Add compatible for IPQ9574
  arm64: dts: Add support for Crashdump collection on IPQ9574
  firmware: scm: Modify only the DLOAD bit in TCSR register for download
    mode
  arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
  dt-bindings: tcsr: Add compatible for IPQ9574

 .../bindings/firmware/qcom,scm.yaml           |  1 +
 .../devicetree/bindings/mfd/qcom,tcsr.yaml    |  1 +
 arch/arm64/boot/dts/qcom/ipq9574.dtsi         | 25 +++++++++++++++++++
 arch/arm64/configs/defconfig                  |  1 +
 drivers/firmware/qcom_scm.c                   | 12 ++++++---
 5 files changed, 36 insertions(+), 4 deletions(-)


base-commit: d9fc1511728c15df49ff18e49a494d00f78b7cd4
-- 
2.17.1


^ permalink raw reply	[flat|nested] 30+ messages in thread

* [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
  2023-01-13 16:00 ` Poovendhan Selvaraj
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  -1 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add the scm compatible string for IPQ9574 SoC

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 25688571ee7c..ef5a1fe236f2 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -27,6 +27,7 @@ properties:
           - qcom,scm-ipq6018
           - qcom,scm-ipq806x
           - qcom,scm-ipq8074
+          - qcom,scm-ipq9574
           - qcom,scm-mdm9607
           - qcom,scm-msm8226
           - qcom,scm-msm8660
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add the scm compatible string for IPQ9574 SoC

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
index 25688571ee7c..ef5a1fe236f2 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
@@ -27,6 +27,7 @@ properties:
           - qcom,scm-ipq6018
           - qcom,scm-ipq806x
           - qcom,scm-ipq8074
+          - qcom,scm-ipq9574
           - qcom,scm-mdm9607
           - qcom,scm-msm8226
           - qcom,scm-msm8660
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 2/5] arm64: dts: Add support for Crashdump collection on IPQ9574
  2023-01-13 16:00 ` Poovendhan Selvaraj
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  -1 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Enable Crashdump collection in ipq9574

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index 79fa5d91882c..349955bad386 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -166,6 +166,13 @@
 		reg = <0x0 0x40000000 0x0 0x0>;
 	};
 
+	firmware {
+		scm {
+			compatible = "qcom,scm-ipq9574", "qcom,scm";
+			qcom,dload-mode = <&tcsr_boot_misc 0>;
+		};
+	};
+
 	pmu {
 		compatible = "arm,cortex-a73-pmu";
 		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
@@ -190,6 +197,13 @@
 			reg = <0x0 0x4a600000 0x0 0x400000>;
 			no-map;
 		};
+
+		smem@4aa00000 {
+			compatible = "qcom,smem";
+			reg = <0x0 0x4aa00000 0x0 0x00100000>;
+			hwlocks = <&tcsr_mutex 0>;
+			no-map;
+		};
 	};
 
 	soc: soc@0 {
@@ -240,6 +254,17 @@
 			#reset-cells = <1>;
 		};
 
+		tcsr_mutex: hwlock@1905000 {
+			compatible = "qcom,tcsr-mutex";
+			reg = <0x01905000 0x8000>;
+			#hwlock-cells = <1>;
+		};
+
+		tcsr_boot_misc: syscon@193d100 {
+			compatible = "qcom,tcsr-ipq9574", "syscon";
+			reg = <0x0193d100 0x4>;
+		};
+
 		sdhc_1: sdhci@7804000 {
 			compatible = "qcom,sdhci-msm-v5";
 			reg = <0x7804000 0x1000>, <0x7805000 0x1000>;
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 2/5] arm64: dts: Add support for Crashdump collection on IPQ9574
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Enable Crashdump collection in ipq9574

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index 79fa5d91882c..349955bad386 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -166,6 +166,13 @@
 		reg = <0x0 0x40000000 0x0 0x0>;
 	};
 
+	firmware {
+		scm {
+			compatible = "qcom,scm-ipq9574", "qcom,scm";
+			qcom,dload-mode = <&tcsr_boot_misc 0>;
+		};
+	};
+
 	pmu {
 		compatible = "arm,cortex-a73-pmu";
 		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
@@ -190,6 +197,13 @@
 			reg = <0x0 0x4a600000 0x0 0x400000>;
 			no-map;
 		};
+
+		smem@4aa00000 {
+			compatible = "qcom,smem";
+			reg = <0x0 0x4aa00000 0x0 0x00100000>;
+			hwlocks = <&tcsr_mutex 0>;
+			no-map;
+		};
 	};
 
 	soc: soc@0 {
@@ -240,6 +254,17 @@
 			#reset-cells = <1>;
 		};
 
+		tcsr_mutex: hwlock@1905000 {
+			compatible = "qcom,tcsr-mutex";
+			reg = <0x01905000 0x8000>;
+			#hwlock-cells = <1>;
+		};
+
+		tcsr_boot_misc: syscon@193d100 {
+			compatible = "qcom,tcsr-ipq9574", "syscon";
+			reg = <0x0193d100 0x4>;
+		};
+
 		sdhc_1: sdhci@7804000 {
 			compatible = "qcom,sdhci-msm-v5";
 			reg = <0x7804000 0x1000>, <0x7805000 0x1000>;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
  2023-01-13 16:00 ` Poovendhan Selvaraj
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  -1 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add support to read-modify-write TCSR register to modify only DLOAD bit.

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 drivers/firmware/qcom_scm.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index cdbfe54c8146..b56d8f465f71 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -400,7 +400,7 @@ int qcom_scm_set_remote_state(u32 state, u32 id)
 }
 EXPORT_SYMBOL(qcom_scm_set_remote_state);
 
-static int __qcom_scm_set_dload_mode(struct device *dev, bool enable)
+static int __qcom_scm_set_dload_mode(struct device *dev, u32 val, bool enable)
 {
 	struct qcom_scm_desc desc = {
 		.svc = QCOM_SCM_SVC_BOOT,
@@ -410,7 +410,7 @@ static int __qcom_scm_set_dload_mode(struct device *dev, bool enable)
 		.owner = ARM_SMCCC_OWNER_SIP,
 	};
 
-	desc.args[1] = enable ? QCOM_SCM_BOOT_SET_DLOAD_MODE : 0;
+	desc.args[1] = enable ? val | QCOM_SCM_BOOT_SET_DLOAD_MODE : 0;
 
 	return qcom_scm_call_atomic(__scm->dev, &desc, NULL);
 }
@@ -419,15 +419,19 @@ static void qcom_scm_set_download_mode(bool enable)
 {
 	bool avail;
 	int ret = 0;
+	u32 dload_addr_val;
 
 	avail = __qcom_scm_is_call_available(__scm->dev,
 					     QCOM_SCM_SVC_BOOT,
 					     QCOM_SCM_BOOT_SET_DLOAD_MODE);
+	ret = qcom_scm_io_readl(__scm->dload_mode_addr, &dload_addr_val);
+
 	if (avail) {
-		ret = __qcom_scm_set_dload_mode(__scm->dev, enable);
+		ret = __qcom_scm_set_dload_mode(__scm->dev, dload_addr_val, enable);
 	} else if (__scm->dload_mode_addr) {
 		ret = qcom_scm_io_writel(__scm->dload_mode_addr,
-				enable ? QCOM_SCM_BOOT_SET_DLOAD_MODE : 0);
+				enable ? dload_addr_val |
+					QCOM_SCM_BOOT_SET_DLOAD_MODE : 0);
 	} else {
 		dev_err(__scm->dev,
 			"No available mechanism for setting download mode\n");
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add support to read-modify-write TCSR register to modify only DLOAD bit.

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 drivers/firmware/qcom_scm.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index cdbfe54c8146..b56d8f465f71 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -400,7 +400,7 @@ int qcom_scm_set_remote_state(u32 state, u32 id)
 }
 EXPORT_SYMBOL(qcom_scm_set_remote_state);
 
-static int __qcom_scm_set_dload_mode(struct device *dev, bool enable)
+static int __qcom_scm_set_dload_mode(struct device *dev, u32 val, bool enable)
 {
 	struct qcom_scm_desc desc = {
 		.svc = QCOM_SCM_SVC_BOOT,
@@ -410,7 +410,7 @@ static int __qcom_scm_set_dload_mode(struct device *dev, bool enable)
 		.owner = ARM_SMCCC_OWNER_SIP,
 	};
 
-	desc.args[1] = enable ? QCOM_SCM_BOOT_SET_DLOAD_MODE : 0;
+	desc.args[1] = enable ? val | QCOM_SCM_BOOT_SET_DLOAD_MODE : 0;
 
 	return qcom_scm_call_atomic(__scm->dev, &desc, NULL);
 }
@@ -419,15 +419,19 @@ static void qcom_scm_set_download_mode(bool enable)
 {
 	bool avail;
 	int ret = 0;
+	u32 dload_addr_val;
 
 	avail = __qcom_scm_is_call_available(__scm->dev,
 					     QCOM_SCM_SVC_BOOT,
 					     QCOM_SCM_BOOT_SET_DLOAD_MODE);
+	ret = qcom_scm_io_readl(__scm->dload_mode_addr, &dload_addr_val);
+
 	if (avail) {
-		ret = __qcom_scm_set_dload_mode(__scm->dev, enable);
+		ret = __qcom_scm_set_dload_mode(__scm->dev, dload_addr_val, enable);
 	} else if (__scm->dload_mode_addr) {
 		ret = qcom_scm_io_writel(__scm->dload_mode_addr,
-				enable ? QCOM_SCM_BOOT_SET_DLOAD_MODE : 0);
+				enable ? dload_addr_val |
+					QCOM_SCM_BOOT_SET_DLOAD_MODE : 0);
 	} else {
 		dev_err(__scm->dev,
 			"No available mechanism for setting download mode\n");
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 4/5] arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
  2023-01-13 16:00 ` Poovendhan Selvaraj
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  -1 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Enables scm download mode config.

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 8de3979b10a3..2bebdb040f1e 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -255,6 +255,7 @@ CONFIG_ARM_SCPI_PROTOCOL=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_INTEL_STRATIX10_SERVICE=y
 CONFIG_INTEL_STRATIX10_RSU=m
+CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT=y
 CONFIG_EFI_CAPSULE_LOADER=y
 CONFIG_IMX_SCU=y
 CONFIG_IMX_SCU_PD=y
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 4/5] arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Enables scm download mode config.

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 8de3979b10a3..2bebdb040f1e 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -255,6 +255,7 @@ CONFIG_ARM_SCPI_PROTOCOL=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_INTEL_STRATIX10_SERVICE=y
 CONFIG_INTEL_STRATIX10_RSU=m
+CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT=y
 CONFIG_EFI_CAPSULE_LOADER=y
 CONFIG_IMX_SCU=y
 CONFIG_IMX_SCU_PD=y
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
  2023-01-13 16:00 ` Poovendhan Selvaraj
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  -1 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add the tcsr compatible string for IPQ9574 SoC

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index adcae6c007d9..85d818bd3288 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -30,6 +30,7 @@ properties:
           - qcom,tcsr-apq8084
           - qcom,tcsr-ipq6018
           - qcom,tcsr-ipq8064
+          - qcom,tcsr-ipq9574
           - qcom,tcsr-mdm9615
           - qcom,tcsr-msm8660
           - qcom,tcsr-msm8916
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
@ 2023-01-13 16:00   ` Poovendhan Selvaraj
  0 siblings, 0 replies; 30+ messages in thread
From: Poovendhan Selvaraj @ 2023-01-13 16:00 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

Add the tcsr compatible string for IPQ9574 SoC

Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
---
 Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
index adcae6c007d9..85d818bd3288 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
@@ -30,6 +30,7 @@ properties:
           - qcom,tcsr-apq8084
           - qcom,tcsr-ipq6018
           - qcom,tcsr-ipq8064
+          - qcom,tcsr-ipq9574
           - qcom,tcsr-mdm9615
           - qcom,tcsr-msm8660
           - qcom,tcsr-msm8916
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* Re: [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
  2023-01-13 16:00   ` Poovendhan Selvaraj
@ 2023-01-13 16:35     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:35 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Add the scm compatible string for IPQ9574 SoC
> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Three people were co-developing single compatible line? I have some
doubts... Please include only real entries.

Anyway you miss changes to allOf (and/or rebasing on
https://lore.kernel.org/all/20221122092345.44369-2-krzysztof.kozlowski@linaro.org/
)


Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
@ 2023-01-13 16:35     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:35 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Add the scm compatible string for IPQ9574 SoC
> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Three people were co-developing single compatible line? I have some
doubts... Please include only real entries.

Anyway you miss changes to allOf (and/or rebasing on
https://lore.kernel.org/all/20221122092345.44369-2-krzysztof.kozlowski@linaro.org/
)


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
  2023-01-13 16:00   ` Poovendhan Selvaraj
@ 2023-01-13 16:40     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:40 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Add the tcsr compatible string for IPQ9574 SoC
> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Same question...


> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
> ---
Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
@ 2023-01-13 16:40     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:40 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Add the tcsr compatible string for IPQ9574 SoC
> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Same question...


> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
> ---
Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 4/5] arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
  2023-01-13 16:00   ` Poovendhan Selvaraj
@ 2023-01-13 16:41     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:41 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Enables scm download mode config.

Why?

> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Same question... that's just a config enable. How three people can work
on one piece of defconfig?

> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 4/5] arm64: defconfig: Enable scm download mode config for IPQ9574 SoC.
@ 2023-01-13 16:41     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 30+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-13 16:41 UTC (permalink / raw)
  To: Poovendhan Selvaraj, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
> Enables scm download mode config.

Why?

> 
> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>

Same question... that's just a config enable. How three people can work
on one piece of defconfig?

> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
  2023-01-13 16:00   ` Poovendhan Selvaraj
@ 2023-01-14  1:16     ` Guru Das Srinagesh
  -1 siblings, 0 replies; 30+ messages in thread
From: Guru Das Srinagesh @ 2023-01-14  1:16 UTC (permalink / raw)
  To: Poovendhan Selvaraj
  Cc: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel, quic_srichara, quic_gokulsri, quic_sjaganat,
	quic_kathirav, quic_arajkuma, quic_anusha, quic_devipriy

On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
> Add support to read-modify-write TCSR register to modify only DLOAD bit.

Could you please add more details on what problem this patch is fixing, and why
this patch is needed?

Thank you.

Guru Das.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
@ 2023-01-14  1:16     ` Guru Das Srinagesh
  0 siblings, 0 replies; 30+ messages in thread
From: Guru Das Srinagesh @ 2023-01-14  1:16 UTC (permalink / raw)
  To: Poovendhan Selvaraj
  Cc: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel, quic_srichara, quic_gokulsri, quic_sjaganat,
	quic_kathirav, quic_arajkuma, quic_anusha, quic_devipriy

On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
> Add support to read-modify-write TCSR register to modify only DLOAD bit.

Could you please add more details on what problem this patch is fixing, and why
this patch is needed?

Thank you.

Guru Das.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
  2023-01-13 16:35     ` Krzysztof Kozlowski
@ 2023-01-27 14:38       ` POOVENDHAN SELVARAJ
  -1 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 14:38 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/13/2023 10:05 PM, Krzysztof Kozlowski wrote:
> On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
>> Add the scm compatible string for IPQ9574 SoC
>>
>> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
>> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
>> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
>> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Three people were co-developing single compatible line? I have some
> doubts... Please include only real entries.
  Co-developed by tags were added for those who  contributed to all the 
patches related to the series. But as suggested, we will drop the tags  
for patches with minimal changes.

> Anyway you miss changes to allOf (and/or rebasing on
> https://lore.kernel.org/all/20221122092345.44369-2-krzysztof.kozlowski@linaro.org/
> )
> Yeah, Agreed and will rebase it on linux-next.
>
> Best regards,
> Krzysztof
>
> Best Regards,
> Poovendhan S

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 1/5] dt-bindings: scm: Add compatible for IPQ9574
@ 2023-01-27 14:38       ` POOVENDHAN SELVARAJ
  0 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 14:38 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/13/2023 10:05 PM, Krzysztof Kozlowski wrote:
> On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
>> Add the scm compatible string for IPQ9574 SoC
>>
>> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
>> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
>> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
>> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Three people were co-developing single compatible line? I have some
> doubts... Please include only real entries.
  Co-developed by tags were added for those who  contributed to all the 
patches related to the series. But as suggested, we will drop the tags  
for patches with minimal changes.

> Anyway you miss changes to allOf (and/or rebasing on
> https://lore.kernel.org/all/20221122092345.44369-2-krzysztof.kozlowski@linaro.org/
> )
> Yeah, Agreed and will rebase it on linux-next.
>
> Best regards,
> Krzysztof
>
> Best Regards,
> Poovendhan S

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
  2023-01-13 16:40     ` Krzysztof Kozlowski
@ 2023-01-27 14:40       ` POOVENDHAN SELVARAJ
  -1 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 14:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/13/2023 10:10 PM, Krzysztof Kozlowski wrote:
> On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
>> Add the tcsr compatible string for IPQ9574 SoC
>>
>> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
>> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
>> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
>> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Same question...
>
> okay Sure, will address.
>> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
>> ---
> Best regards,
> Krzysztof

Best Regards,

Poovendhan S


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574
@ 2023-01-27 14:40       ` POOVENDHAN SELVARAJ
  0 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 14:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, quic_gurus, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel
  Cc: quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/13/2023 10:10 PM, Krzysztof Kozlowski wrote:
> On 13/01/2023 17:00, Poovendhan Selvaraj wrote:
>> Add the tcsr compatible string for IPQ9574 SoC
>>
>> Co-developed-by: Anusha Rao <quic_anusha@quicinc.com>
>> Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
>> Co-developed-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
>> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
> Same question...
>
> okay Sure, will address.
>> Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
>> ---
> Best regards,
> Krzysztof

Best Regards,

Poovendhan S


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
  2023-01-14  1:16     ` Guru Das Srinagesh
@ 2023-01-27 15:00       ` POOVENDHAN SELVARAJ
  -1 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 15:00 UTC (permalink / raw)
  To: Guru Das Srinagesh
  Cc: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel, quic_srichara, quic_gokulsri, quic_sjaganat,
	quic_kathirav, quic_arajkuma, quic_anusha, quic_devipriy


On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
> On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
>> Add support to read-modify-write TCSR register to modify only DLOAD bit.
> Could you please add more details on what problem this patch is fixing, and why
> this patch is needed?
>
> CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
>
> Thank you.
>
> Guru Das.
>
> Regards,
> Poovendhan S

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
@ 2023-01-27 15:00       ` POOVENDHAN SELVARAJ
  0 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-01-27 15:00 UTC (permalink / raw)
  To: Guru Das Srinagesh
  Cc: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, lee, catalin.marinas, will, shawnguo,
	arnd, marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie,
	robimarko, linux-arm-msm, devicetree, linux-kernel,
	linux-arm-kernel, quic_srichara, quic_gokulsri, quic_sjaganat,
	quic_kathirav, quic_arajkuma, quic_anusha, quic_devipriy


On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
> On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
>> Add support to read-modify-write TCSR register to modify only DLOAD bit.
> Could you please add more details on what problem this patch is fixing, and why
> this patch is needed?
>
> CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
>
> Thank you.
>
> Guru Das.
>
> Regards,
> Poovendhan S

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
  2023-01-27 15:00       ` POOVENDHAN SELVARAJ
@ 2023-01-27 17:17         ` Lee Jones
  -1 siblings, 0 replies; 30+ messages in thread
From: Lee Jones @ 2023-01-27 17:17 UTC (permalink / raw)
  To: POOVENDHAN SELVARAJ
  Cc: Guru Das Srinagesh, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, catalin.marinas, will, shawnguo, arnd,
	marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie, robimarko,
	linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
	quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On Fri, 27 Jan 2023, POOVENDHAN SELVARAJ wrote:

> 
> On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
> > On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
> > > Add support to read-modify-write TCSR register to modify only DLOAD bit.
> > Could you please add more details on what problem this patch is fixing, and why
> > this patch is needed?
> > 
> > CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
> > 
> > Thank you.
> > 
> > Guru Das.
> > 
> > Regards,
> > Poovendhan S

Could you please fix your email client.

I have no idea which text is yours, in any of your mails.

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
@ 2023-01-27 17:17         ` Lee Jones
  0 siblings, 0 replies; 30+ messages in thread
From: Lee Jones @ 2023-01-27 17:17 UTC (permalink / raw)
  To: POOVENDHAN SELVARAJ
  Cc: Guru Das Srinagesh, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, catalin.marinas, will, shawnguo, arnd,
	marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie, robimarko,
	linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
	quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy

On Fri, 27 Jan 2023, POOVENDHAN SELVARAJ wrote:

> 
> On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
> > On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
> > > Add support to read-modify-write TCSR register to modify only DLOAD bit.
> > Could you please add more details on what problem this patch is fixing, and why
> > this patch is needed?
> > 
> > CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
> > 
> > Thank you.
> > 
> > Guru Das.
> > 
> > Regards,
> > Poovendhan S

Could you please fix your email client.

I have no idea which text is yours, in any of your mails.

-- 
Lee Jones [李琼斯]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
  2023-01-27 17:17         ` Lee Jones
@ 2023-02-01  7:37           ` POOVENDHAN SELVARAJ
  -1 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-02-01  7:37 UTC (permalink / raw)
  To: Lee Jones
  Cc: Guru Das Srinagesh, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, catalin.marinas, will, shawnguo, arnd,
	marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie, robimarko,
	linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
	quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/27/2023 10:47 PM, Lee Jones wrote:
> On Fri, 27 Jan 2023, POOVENDHAN SELVARAJ wrote:
>
>> On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
>>> On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
>>>> Add support to read-modify-write TCSR register to modify only DLOAD bit.
>>> Could you please add more details on what problem this patch is fixing, and why
>>> this patch is needed?
>>>
>>> CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
>>>
>>> Thank you.
>>>
>>> Guru Das.
>>>
>>> Regards,
>>> Poovendhan S
> Could you please fix your email client.
>
> I have no idea which text is yours, in any of your mails.

Okay, will fix it.

Regards,
Poovendhan S


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode
@ 2023-02-01  7:37           ` POOVENDHAN SELVARAJ
  0 siblings, 0 replies; 30+ messages in thread
From: POOVENDHAN SELVARAJ @ 2023-02-01  7:37 UTC (permalink / raw)
  To: Lee Jones
  Cc: Guru Das Srinagesh, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, catalin.marinas, will, shawnguo, arnd,
	marcel.ziswiler, dmitry.baryshkov, nfraprado, broonie, robimarko,
	linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
	quic_srichara, quic_gokulsri, quic_sjaganat, quic_kathirav,
	quic_arajkuma, quic_anusha, quic_devipriy


On 1/27/2023 10:47 PM, Lee Jones wrote:
> On Fri, 27 Jan 2023, POOVENDHAN SELVARAJ wrote:
>
>> On 1/14/2023 6:46 AM, Guru Das Srinagesh wrote:
>>> On Jan 13 2023 21:30, Poovendhan Selvaraj wrote:
>>>> Add support to read-modify-write TCSR register to modify only DLOAD bit.
>>> Could you please add more details on what problem this patch is fixing, and why
>>> this patch is needed?
>>>
>>> CrashDump collection is based on the DLOAD bit of TCSR register. To retain other bits, we read the register and modify only the DLOAD bit as the other bits have their own significance.
>>>
>>> Thank you.
>>>
>>> Guru Das.
>>>
>>> Regards,
>>> Poovendhan S
> Could you please fix your email client.
>
> I have no idea which text is yours, in any of your mails.

Okay, will fix it.

Regards,
Poovendhan S


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2023-02-01  7:38 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 16:00 [PATCH 0/5] Enable crashdump collection support for IPQ9574 Poovendhan Selvaraj
2023-01-13 16:00 ` Poovendhan Selvaraj
2023-01-13 16:00 ` [PATCH 1/5] dt-bindings: scm: Add compatible " Poovendhan Selvaraj
2023-01-13 16:00   ` Poovendhan Selvaraj
2023-01-13 16:35   ` Krzysztof Kozlowski
2023-01-13 16:35     ` Krzysztof Kozlowski
2023-01-27 14:38     ` POOVENDHAN SELVARAJ
2023-01-27 14:38       ` POOVENDHAN SELVARAJ
2023-01-13 16:00 ` [PATCH 2/5] arm64: dts: Add support for Crashdump collection on IPQ9574 Poovendhan Selvaraj
2023-01-13 16:00   ` Poovendhan Selvaraj
2023-01-13 16:00 ` [PATCH 3/5] firmware: scm: Modify only the DLOAD bit in TCSR register for download mode Poovendhan Selvaraj
2023-01-13 16:00   ` Poovendhan Selvaraj
2023-01-14  1:16   ` Guru Das Srinagesh
2023-01-14  1:16     ` Guru Das Srinagesh
2023-01-27 15:00     ` POOVENDHAN SELVARAJ
2023-01-27 15:00       ` POOVENDHAN SELVARAJ
2023-01-27 17:17       ` Lee Jones
2023-01-27 17:17         ` Lee Jones
2023-02-01  7:37         ` POOVENDHAN SELVARAJ
2023-02-01  7:37           ` POOVENDHAN SELVARAJ
2023-01-13 16:00 ` [PATCH 4/5] arm64: defconfig: Enable scm download mode config for IPQ9574 SoC Poovendhan Selvaraj
2023-01-13 16:00   ` Poovendhan Selvaraj
2023-01-13 16:41   ` Krzysztof Kozlowski
2023-01-13 16:41     ` Krzysztof Kozlowski
2023-01-13 16:00 ` [PATCH 5/5] dt-bindings: tcsr: Add compatible for IPQ9574 Poovendhan Selvaraj
2023-01-13 16:00   ` Poovendhan Selvaraj
2023-01-13 16:40   ` Krzysztof Kozlowski
2023-01-13 16:40     ` Krzysztof Kozlowski
2023-01-27 14:40     ` POOVENDHAN SELVARAJ
2023-01-27 14:40       ` POOVENDHAN SELVARAJ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.