* [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
@ 2023-02-08 18:55 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-02-08 18:55 UTC (permalink / raw)
To: Krzysztof Kozlowski, Robert Richter
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
The GICv3 ITS is an MSI controller, therefore its node name should be
'msi-controller'. The ITS node is also expected to have '#msi-cells'.
Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
Robin says that should be 'msi-map' instead and I'm not sure what's
correct for it.
The unit-addresses of both the ITS and main GIC node on thunder2 are also
wrong, so fix them while we're here.
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
index e0a71795261b..8ad31dee11a3 100644
--- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
+++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
@@ -389,9 +389,10 @@ gic0: interrupt-controller@8010,00000000 {
<0x8010 0x80000000 0x0 0x600000>; /* GICR */
interrupts = <1 9 0xf04>;
- its: gic-its@8010,00020000 {
+ its: msi-controller@801000020000 {
compatible = "arm,gic-v3-its";
msi-controller;
+ #msi-cells = <1>;
reg = <0x8010 0x20000 0x0 0x200000>;
};
};
diff --git a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
index dfb41705a9a9..3419bd252696 100644
--- a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
+++ b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
@@ -55,7 +55,7 @@ psci {
method = "smc";
};
- gic: interrupt-controller@400080000 {
+ gic: interrupt-controller@4000080000 {
compatible = "arm,gic-v3";
#interrupt-cells = <3>;
#address-cells = <2>;
@@ -67,7 +67,7 @@ gic: interrupt-controller@400080000 {
<0x04 0x01000000 0x0 0x1000000>; /* GICR */
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
- gicits: gic-its@40010000 {
+ gicits: msi-controller@4000100000 {
compatible = "arm,gic-v3-its";
msi-controller;
reg = <0x04 0x00100000 0x0 0x20000>; /* GIC ITS */
--
2.39.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
@ 2023-02-08 18:55 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-02-08 18:55 UTC (permalink / raw)
To: Krzysztof Kozlowski, Robert Richter
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
The GICv3 ITS is an MSI controller, therefore its node name should be
'msi-controller'. The ITS node is also expected to have '#msi-cells'.
Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
Robin says that should be 'msi-map' instead and I'm not sure what's
correct for it.
The unit-addresses of both the ITS and main GIC node on thunder2 are also
wrong, so fix them while we're here.
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
index e0a71795261b..8ad31dee11a3 100644
--- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
+++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
@@ -389,9 +389,10 @@ gic0: interrupt-controller@8010,00000000 {
<0x8010 0x80000000 0x0 0x600000>; /* GICR */
interrupts = <1 9 0xf04>;
- its: gic-its@8010,00020000 {
+ its: msi-controller@801000020000 {
compatible = "arm,gic-v3-its";
msi-controller;
+ #msi-cells = <1>;
reg = <0x8010 0x20000 0x0 0x200000>;
};
};
diff --git a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
index dfb41705a9a9..3419bd252696 100644
--- a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
+++ b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
@@ -55,7 +55,7 @@ psci {
method = "smc";
};
- gic: interrupt-controller@400080000 {
+ gic: interrupt-controller@4000080000 {
compatible = "arm,gic-v3";
#interrupt-cells = <3>;
#address-cells = <2>;
@@ -67,7 +67,7 @@ gic: interrupt-controller@400080000 {
<0x04 0x01000000 0x0 0x1000000>; /* GICR */
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
- gicits: gic-its@40010000 {
+ gicits: msi-controller@4000100000 {
compatible = "arm,gic-v3-its";
msi-controller;
reg = <0x04 0x00100000 0x0 0x20000>; /* GIC ITS */
--
2.39.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] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
2023-02-08 18:55 ` Rob Herring
@ 2023-03-16 19:51 ` Rob Herring
-1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-03-16 19:51 UTC (permalink / raw)
To: Krzysztof Kozlowski, Robert Richter, SoC Team
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
On Wed, Feb 8, 2023 at 12:55 PM Rob Herring <robh@kernel.org> wrote:
>
> The GICv3 ITS is an MSI controller, therefore its node name should be
> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
> Robin says that should be 'msi-map' instead and I'm not sure what's
> correct for it.
>
> The unit-addresses of both the ITS and main GIC node on thunder2 are also
> wrong, so fix them while we're here.
>
> Cc: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
> arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
> 2 files changed, 4 insertions(+), 3 deletions(-)
Ping!
Should we remove these platforms instead if they aren't maintained?
>
> diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> index e0a71795261b..8ad31dee11a3 100644
> --- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> +++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> @@ -389,9 +389,10 @@ gic0: interrupt-controller@8010,00000000 {
> <0x8010 0x80000000 0x0 0x600000>; /* GICR */
> interrupts = <1 9 0xf04>;
>
> - its: gic-its@8010,00020000 {
> + its: msi-controller@801000020000 {
> compatible = "arm,gic-v3-its";
> msi-controller;
> + #msi-cells = <1>;
> reg = <0x8010 0x20000 0x0 0x200000>;
> };
> };
> diff --git a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> index dfb41705a9a9..3419bd252696 100644
> --- a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> +++ b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> @@ -55,7 +55,7 @@ psci {
> method = "smc";
> };
>
> - gic: interrupt-controller@400080000 {
> + gic: interrupt-controller@4000080000 {
> compatible = "arm,gic-v3";
> #interrupt-cells = <3>;
> #address-cells = <2>;
> @@ -67,7 +67,7 @@ gic: interrupt-controller@400080000 {
> <0x04 0x01000000 0x0 0x1000000>; /* GICR */
> interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
>
> - gicits: gic-its@40010000 {
> + gicits: msi-controller@4000100000 {
> compatible = "arm,gic-v3-its";
> msi-controller;
> reg = <0x04 0x00100000 0x0 0x20000>; /* GIC ITS */
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
@ 2023-03-16 19:51 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-03-16 19:51 UTC (permalink / raw)
To: Krzysztof Kozlowski, Robert Richter, SoC Team
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
On Wed, Feb 8, 2023 at 12:55 PM Rob Herring <robh@kernel.org> wrote:
>
> The GICv3 ITS is an MSI controller, therefore its node name should be
> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
> Robin says that should be 'msi-map' instead and I'm not sure what's
> correct for it.
>
> The unit-addresses of both the ITS and main GIC node on thunder2 are also
> wrong, so fix them while we're here.
>
> Cc: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
> arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
> 2 files changed, 4 insertions(+), 3 deletions(-)
Ping!
Should we remove these platforms instead if they aren't maintained?
>
> diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> index e0a71795261b..8ad31dee11a3 100644
> --- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> +++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi
> @@ -389,9 +389,10 @@ gic0: interrupt-controller@8010,00000000 {
> <0x8010 0x80000000 0x0 0x600000>; /* GICR */
> interrupts = <1 9 0xf04>;
>
> - its: gic-its@8010,00020000 {
> + its: msi-controller@801000020000 {
> compatible = "arm,gic-v3-its";
> msi-controller;
> + #msi-cells = <1>;
> reg = <0x8010 0x20000 0x0 0x200000>;
> };
> };
> diff --git a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> index dfb41705a9a9..3419bd252696 100644
> --- a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> +++ b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi
> @@ -55,7 +55,7 @@ psci {
> method = "smc";
> };
>
> - gic: interrupt-controller@400080000 {
> + gic: interrupt-controller@4000080000 {
> compatible = "arm,gic-v3";
> #interrupt-cells = <3>;
> #address-cells = <2>;
> @@ -67,7 +67,7 @@ gic: interrupt-controller@400080000 {
> <0x04 0x01000000 0x0 0x1000000>; /* GICR */
> interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
>
> - gicits: gic-its@40010000 {
> + gicits: msi-controller@4000100000 {
> compatible = "arm,gic-v3-its";
> msi-controller;
> reg = <0x04 0x00100000 0x0 0x20000>; /* GIC ITS */
> --
> 2.39.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] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
2023-02-08 18:55 ` Rob Herring
@ 2023-03-17 12:40 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-17 12:40 UTC (permalink / raw)
To: Rob Herring, Robert Richter, Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, linux-arm-kernel, devicetree, linux-kernel,
Robin Murphy
On Wed, 8 Feb 2023 12:55:06 -0600, Rob Herring wrote:
> The GICv3 ITS is an MSI controller, therefore its node name should be
> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
> Robin says that should be 'msi-map' instead and I'm not sure what's
> correct for it.
>
> The unit-addresses of both the ITS and main GIC node on thunder2 are also
> wrong, so fix them while we're here.
>
> [...]
Applied, thanks! Let me know if someone else wants to take this.
[1/1] arm64: dts: cavium: Fix GICv3 ITS nodes
https://git.kernel.org/krzk/linux-dt/c/d2e5c16f6c86901040f3bb6b40d1a01ccf1a21b0
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
@ 2023-03-17 12:40 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-17 12:40 UTC (permalink / raw)
To: Rob Herring, Robert Richter, Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, linux-arm-kernel, devicetree, linux-kernel,
Robin Murphy
On Wed, 8 Feb 2023 12:55:06 -0600, Rob Herring wrote:
> The GICv3 ITS is an MSI controller, therefore its node name should be
> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
> Robin says that should be 'msi-map' instead and I'm not sure what's
> correct for it.
>
> The unit-addresses of both the ITS and main GIC node on thunder2 are also
> wrong, so fix them while we're here.
>
> [...]
Applied, thanks! Let me know if someone else wants to take this.
[1/1] arm64: dts: cavium: Fix GICv3 ITS nodes
https://git.kernel.org/krzk/linux-dt/c/d2e5c16f6c86901040f3bb6b40d1a01ccf1a21b0
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
_______________________________________________
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] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
2023-03-16 19:51 ` Rob Herring
@ 2023-03-17 12:40 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-17 12:40 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Robert Richter, SoC Team
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
On 16/03/2023 20:51, Rob Herring wrote:
> On Wed, Feb 8, 2023 at 12:55 PM Rob Herring <robh@kernel.org> wrote:
>>
>> The GICv3 ITS is an MSI controller, therefore its node name should be
>> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
>> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
>> Robin says that should be 'msi-map' instead and I'm not sure what's
>> correct for it.
>>
>> The unit-addresses of both the ITS and main GIC node on thunder2 are also
>> wrong, so fix them while we're here.
>>
>> Cc: Robin Murphy <robin.murphy@arm.com>
>> Signed-off-by: Rob Herring <robh@kernel.org>
>> ---
>> arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
>> arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
>> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> Ping!
>
> Should we remove these platforms instead if they aren't maintained?
5 weeks should be enough... Applied with my other cleanups.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes
@ 2023-03-17 12:40 ` Krzysztof Kozlowski
0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-03-17 12:40 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Robert Richter, SoC Team
Cc: Robin Murphy, devicetree, linux-kernel, linux-arm-kernel
On 16/03/2023 20:51, Rob Herring wrote:
> On Wed, Feb 8, 2023 at 12:55 PM Rob Herring <robh@kernel.org> wrote:
>>
>> The GICv3 ITS is an MSI controller, therefore its node name should be
>> 'msi-controller'. The ITS node is also expected to have '#msi-cells'.
>> Add it on Thunder as there are no users. Thunder2 uses 'msi-parent', but
>> Robin says that should be 'msi-map' instead and I'm not sure what's
>> correct for it.
>>
>> The unit-addresses of both the ITS and main GIC node on thunder2 are also
>> wrong, so fix them while we're here.
>>
>> Cc: Robin Murphy <robin.murphy@arm.com>
>> Signed-off-by: Rob Herring <robh@kernel.org>
>> ---
>> arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 3 ++-
>> arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 4 ++--
>> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> Ping!
>
> Should we remove these platforms instead if they aren't maintained?
5 weeks should be enough... Applied with my other cleanups.
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] 8+ messages in thread
end of thread, other threads:[~2023-03-17 12:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 18:55 [PATCH] arm64: dts: cavium: Fix GICv3 ITS nodes Rob Herring
2023-02-08 18:55 ` Rob Herring
2023-03-16 19:51 ` Rob Herring
2023-03-16 19:51 ` Rob Herring
2023-03-17 12:40 ` Krzysztof Kozlowski
2023-03-17 12:40 ` Krzysztof Kozlowski
2023-03-17 12:40 ` Krzysztof Kozlowski
2023-03-17 12:40 ` Krzysztof Kozlowski
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.