[PATCH] arm64: tegra: Use correct interrupts for Tegra234 TKE

Jon Hunter jonathanh at nvidia.com
Thu Oct 12 09:32:49 PDT 2023


On 12/10/2023 13:43, Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> 
> The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
> shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
> the final 6 interrupts. This prevents the TKE from requesting the RTC
> interrupt (along with several GTE and watchdog interrupts).
> 
> Reported-by: Shubhi Garg <shgarg at nvidia.com>
> Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
>   arch/arm64/boot/dts/nvidia/tegra234.dtsi | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
> index 7cf31862d68b..cc11cfe34edb 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
> @@ -43,12 +43,12 @@ timer at 2080000 {
>   				     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
>   				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
>   				     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
> +				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
>   			status = "okay";
>   		};
>   

Thanks!

Reviewed-by: Jon Hunter <jonathanh at nvidia.com>

Jon

-- 
nvpublic



More information about the linux-arm-kernel mailing list