linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag
@ 2022-08-01 19:47 William Zhang
  2022-08-01 19:47 ` [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change William Zhang
  2022-08-04 18:08 ` [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag Florian Fainelli
  0 siblings, 2 replies; 4+ messages in thread
From: William Zhang @ 2022-08-01 19:47 UTC (permalink / raw)
  To: Linux ARM List
  Cc: kursad.oney, Broadcom Kernel List, joel.peshkin, anand.gore,
	f.fainelli, dan.beygelman, William Zhang, Krzysztof Kozlowski,
	Rob Herring, devicetree, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --]

The cpu mask flag value should match the number of cpu cores in the
chip. Correct the value to two cpus for BCM6878 dual core SoC.

Fixes: 6bcad714e173 ("ARM: dts: Add DTS files for bcmbca SoC BCM6878")
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---

 arch/arm/boot/dts/bcm6878.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/bcm6878.dtsi b/arch/arm/boot/dts/bcm6878.dtsi
index a7dff596fe1e..6dd3d2df4e16 100644
--- a/arch/arm/boot/dts/bcm6878.dtsi
+++ b/arch/arm/boot/dts/bcm6878.dtsi
@@ -39,10 +39,10 @@ L2_0: l2-cache0 {
 
 	timer {
 		compatible = "arm,armv7-timer";
-		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-			<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-			<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
-			<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+			<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+			<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+			<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
 		arm,cpu-registers-not-fw-configured;
 	};
 
-- 
2.34.1


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
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] 4+ messages in thread

* [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change
  2022-08-01 19:47 [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag William Zhang
@ 2022-08-01 19:47 ` William Zhang
  2022-08-04 18:09   ` Florian Fainelli
  2022-08-04 18:08 ` [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag Florian Fainelli
  1 sibling, 1 reply; 4+ messages in thread
From: William Zhang @ 2022-08-01 19:47 UTC (permalink / raw)
  To: Linux ARM List
  Cc: kursad.oney, Broadcom Kernel List, joel.peshkin, anand.gore,
	f.fainelli, dan.beygelman, William Zhang, Krzysztof Kozlowski,
	Rob Herring, devicetree, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]

Add new line between dts node.

Signed-off-by: William Zhang <william.zhang@broadcom.com>

---

 arch/arm/boot/dts/bcm6878.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/bcm6878.dtsi b/arch/arm/boot/dts/bcm6878.dtsi
index 6dd3d2df4e16..1e8b5fa96c25 100644
--- a/arch/arm/boot/dts/bcm6878.dtsi
+++ b/arch/arm/boot/dts/bcm6878.dtsi
@@ -32,6 +32,7 @@ CA7_1: cpu@1 {
 			next-level-cache = <&L2_0>;
 			enable-method = "psci";
 		};
+
 		L2_0: l2-cache0 {
 			compatible = "cache";
 		};
-- 
2.34.1


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
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] 4+ messages in thread

* Re: [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag
  2022-08-01 19:47 [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag William Zhang
  2022-08-01 19:47 ` [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change William Zhang
@ 2022-08-04 18:08 ` Florian Fainelli
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2022-08-04 18:08 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
  Cc: kursad.oney, joel.peshkin, anand.gore, dan.beygelman,
	Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel

On Mon,  1 Aug 2022 12:47:53 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> The cpu mask flag value should match the number of cpu cores in the
> chip. Correct the value to two cpus for BCM6878 dual core SoC.
> 
> Fixes: 6bcad714e173 ("ARM: dts: Add DTS files for bcmbca SoC BCM6878")
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/fixes, thanks!
--
Florian

_______________________________________________
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] 4+ messages in thread

* Re: [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change
  2022-08-01 19:47 ` [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change William Zhang
@ 2022-08-04 18:09   ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2022-08-04 18:09 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
  Cc: kursad.oney, joel.peshkin, anand.gore, dan.beygelman,
	Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel

On Mon,  1 Aug 2022 12:47:54 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> Add new line between dts node.
> 
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> 
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/fixes, thanks!
--
Florian

_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2022-08-04 18:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 19:47 [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag William Zhang
2022-08-01 19:47 ` [PATCH 2/2] ARM: dts: bcmbca: bcm6878: cosmetic change William Zhang
2022-08-04 18:09   ` Florian Fainelli
2022-08-04 18:08 ` [PATCH 1/2] ARM: dts: bcmbca: bcm6878: fix timer node cpu mask flag Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).