From patchwork Thu Oct 12 12:43:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13419229 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA4F0CDB46E for ; Thu, 12 Oct 2023 12:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dG/MVM0qDwnudtJXBZbTk52H0XXLqbBSNdPxX7YX3fs=; b=wMCK8L/iGW7K3U tlRMaugYEVsB2li5UO3O0Dtjb+xFq2XH4PbvuzNyH6GeFsdKfUGsrWZUXf6UAMKGfZ5b3MUn01yfe RVw7c91BOV2H0YI3rDbrJZCJnkMhbF9c5K0g33X2i3vB+iTdtXJMgQQ8HF4jK0aJz2tsdmSuIk/TQ emdo2tJYU5vi/2jmBtEk2Bmnm77Ty4+b8VCAbjPeprQNHZDth73ZbQL4syb+BqJC/LGlPauqMKvhW KT3usUBtrcxveMoQWAqOOoeu5cuUX89AssiwA5YFwN5Issyyqke6lNEcVoCu+p0iyPlNvV9DENW8L 2t3bEmgvJvS7BJY6GrKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqv2J-000zu5-2q; Thu, 12 Oct 2023 12:43:31 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqv2G-000zs6-1G for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 12:43:30 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5031ccf004cso1211171e87.2 for ; Thu, 12 Oct 2023 05:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697114593; x=1697719393; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ta09WPRuO9o6C84VTSDlxVug49qH4I0X6C9I7Cy7wEo=; b=bytaQjJd8zPW5nHl8DgU5cuCnVrfJZehi8UvU8dSCGhM1SFxtJw1i6omnKSm4jibrH KqL9ip5xxf4JTJlBd6mCx0zqV3lbDJh2CmVy7EVTgFCCpmCaciW+HJro4lOV6MfAKHYy ljshwE+XoPYoP3V3h5O+3CsVRESB0GfmOdeNHdwPy1y/PudgD7aNu5GFqUq8O+9An7Zd uFD98mguQF0t2Ohs/av+E979q8D8ZY6W91VQYNewdZN5rNML0ZmKhkkTNJew+BI/0Lez B2iWbyi9hnkLLtegEUigvpjjc7KmbcnZcKe5+Z9WeyC7KsvT6db1DwSwggFYxdijS8RE 229A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697114593; x=1697719393; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ta09WPRuO9o6C84VTSDlxVug49qH4I0X6C9I7Cy7wEo=; b=v9/3z40UqHEeoqDdAaYHNuIulixuj2W7TRWqTSN9XW4VhS+1qlfRmQ5FjjLdUMDFVb Ihfp1pNyX96ncwaA6E6l8P2WdmOVUB9AMovZEoQmbcNgDagTJz3U5/xZrK3PZkLZsZ61 U5pUuVFUG65wlrcg80dS9WyZ5zU2p8MsEM3XRiTRCI07Ft4vSgLEWmHRiwEiivqHODmy w/9dr2iK5fa3LaWjxUBe9JOxzIMRyuTOXhcDBRxnqhpq/Fz/Bq/GWYS6L3/e78U30F3I ZhnZ3jrlUSyNXy7OsL4e5AsypdrDCuFW6JgemsIO3L78lvgSjmC+QMNyUuEEVt9kO0bS SQvw== X-Gm-Message-State: AOJu0YzgCz9UzSwXNI+WOdFFeL0s4PyK6w4mW4F0iJ4NqSNGp/pO6O3R AEhjVTvoTtwRmzUmt5mV8RMtEOKyMGM= X-Google-Smtp-Source: AGHT+IFCGbeStAuF+4VDo7mXTlL3dbPR3XDiF10JyYmT6HOw6XK3VB3UxvrWcFhSBaP/IE5NArwsjw== X-Received: by 2002:a05:6512:3f0e:b0:502:f7a4:c31f with SMTP id y14-20020a0565123f0e00b00502f7a4c31fmr25312499lfa.45.1697114592344; Thu, 12 Oct 2023 05:43:12 -0700 (PDT) Received: from localhost (p200300e41f3f4900f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f3f:4900:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id f26-20020a50ee9a000000b0052e1783ab25sm10168092edr.70.2023.10.12.05.43.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 05:43:11 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Shubhi Garg Subject: [PATCH] arm64: tegra: Use correct interrupts for Tegra234 TKE Date: Thu, 12 Oct 2023 14:43:11 +0200 Message-ID: <20231012124311.3009393-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_054328_452731_5F6C5BE3 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding 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 Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234") Signed-off-by: Thierry Reding Reviewed-by: Jon Hunter --- 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@2080000 { , , , - , - , - , - , - , - ; + , + , + , + , + , + ; status = "okay"; };