Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: versal-net: disable GIC ITS by default
@ 2026-11-19 17:17 Radhey Shyam Pandey
  2026-11-23 12:11 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Radhey Shyam Pandey @ 2026-11-19 17:17 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, michal.simek
  Cc: devicetree, linux-arm-kernel, git, Radhey Shyam Pandey

The GIC ITS is only useful when something in the design generates MSIs.
On Versal NET the default configuration has no MSI producer so disable
the node in the SoC dtsi and let boards that do have an MSI producer
turn it back on. versal.dtsi already follows this approach.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
---
Disable GIC ITS by default to prevent potential memory corruption during
kexec. The second kernel can inherit stale LPI configuration pointing to
memory owned by the first kernel, resulting in warnings and potential
memory corruption.

Alternative solutions are to reserve memory for the GIC ITS tables using
a DT reserved-memory node or use EFI to provide dedicated memory for the
LPI tables.

Since there are no GIC ITS users on this platform, disable GIC ITS by
default instead. Intentionally not added linux specific details to
DT patch.
---
 arch/arm64/boot/dts/xilinx/versal-net.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/xilinx/versal-net.dtsi b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
index 21bb917bcba1..00b857b5c4f2 100644
--- a/arch/arm64/boot/dts/xilinx/versal-net.dtsi
+++ b/arch/arm64/boot/dts/xilinx/versal-net.dtsi
@@ -872,6 +872,7 @@ gic: interrupt-controller@e2000000 {
 			ranges;
 			its: msi-controller@e2040000 {
 				compatible = "arm,gic-v3-its";
+				status = "disabled";
 				msi-controller;
 				#msi-cells = <1>;
 				reg = <0 0xe2040000 0 0x20000>;

base-commit: 4405c18c95d2d0f99f6c581ef0ee8591a1aa6ccd
-- 
2.43.0



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

* Re: [PATCH] arm64: dts: versal-net: disable GIC ITS by default
  2026-11-19 17:17 [PATCH] arm64: dts: versal-net: disable GIC ITS by default Radhey Shyam Pandey
@ 2026-11-23 12:11 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2026-11-23 12:11 UTC (permalink / raw)
  To: Radhey Shyam Pandey, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-arm-kernel, git



On 11/19/26 18:17, Radhey Shyam Pandey wrote:
> The GIC ITS is only useful when something in the design generates MSIs.
> On Versal NET the default configuration has no MSI producer so disable
> the node in the SoC dtsi and let boards that do have an MSI producer
> turn it back on. versal.dtsi already follows this approach.
> 
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
> ---
> Disable GIC ITS by default to prevent potential memory corruption during
> kexec. The second kernel can inherit stale LPI configuration pointing to
> memory owned by the first kernel, resulting in warnings and potential
> memory corruption.
> 
> Alternative solutions are to reserve memory for the GIC ITS tables using
> a DT reserved-memory node or use EFI to provide dedicated memory for the
> LPI tables.
> 
> Since there are no GIC ITS users on this platform, disable GIC ITS by
> default instead. Intentionally not added linux specific details to
> DT patch.
> ---
>   arch/arm64/boot/dts/xilinx/versal-net.dtsi | 1 +
>   1 file changed, 1 insertion(+)
Applied.
M


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

end of thread, other threads:[~2026-11-23 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 17:17 [PATCH] arm64: dts: versal-net: disable GIC ITS by default Radhey Shyam Pandey
2026-11-23 12:11 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox