From patchwork Sun Feb 13 14:42:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sander Vanheule X-Patchwork-Id: 1592108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=IcJdKDPZ; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=svanheule.net header.i=@svanheule.net header.a=rsa-sha256 header.s=mail1707 header.b=m7K3e9US; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JxVWh6dBfz9s0r for ; Mon, 14 Feb 2022 01:45:20 +1100 (AEDT) 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=zwdDXjjKnIjxC8/ovy4KUUKH2JpxHHmJsl38hRtwCIg=; b=IcJdKDPZlsS98w OfNyQh1HSgh4RaK/qPl/pyB+VbTkeCr/MWy4wKdNdvgkWmqpiXnSvHlFNNgRauaEPZ8lvTbl79Eeg EFp+IHoFt2J8dDbqsuJ+KD2oaskLxhl0GQM/RTOIBCqhFlVMGriYcg+lJ7cj1BWd/2ktYb28tOiOO l24T6vLpggSip+fSQCqri+FWIyqpbOqk8lHK9COH6UI5/ITaeHTliHJgSktgSXK9811evC6pw9N9b fX3meC5QEQ+SV0/+v2nKuaYcbaFSknP9fxLMmh5Ts667gSDNK2ktnNt3R/UTgF147BJhe3EFR0Puq 5blkn7VyGT7b+hchPKQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJG5r-00BpZB-20; Sun, 13 Feb 2022 14:43:15 +0000 Received: from polaris.svanheule.net ([2a00:c98:2060:a004:1::200]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJG5n-00BpY7-10 for openwrt-devel@lists.openwrt.org; Sun, 13 Feb 2022 14:43:12 +0000 Received: from terra.local.svanheule.net (104.153-136-217.adsl-dyn.isp.belgacom.be [217.136.153.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id D8A0C2A1B7E; Sun, 13 Feb 2022 15:43:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1644763389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TdQQyXtGdfnfnlBNLaJupe3h15WcciYDgKM50putQc4=; b=m7K3e9USk+thE3UqBXJWUlRAy+JgGlH86Sh0pRZcrf7YCEpIxWlDB/zjmCLZLfDPr+UP9d u7D5HVM6ITlAcm1yPm9+mfHzXVdJze6iAlQ7RrC49q6rPkr3eT+P/6rndC/CtixsYLkbzB 5kDa4JY0na8D7y18SbIkiFnZmpIfhUaq23Eq+K/kkqXW8bm13kcWQnca3jqTvMYNMDtDXp hVyRvBKu9q1WjnJoSr/+WYhWLn+3uk9tA3R0t2efW87T6CIVjlt9jb6H+ygxI6HYLr1oPR E2Y3yTj/9AX+f1TtN3zpAga0ky5qC8M5NnrLUfIOS6CrhnRp0jZH9a53KEXM5w== From: Sander Vanheule To: openwrt-devel@lists.openwrt.org Cc: Sander Vanheule Subject: [PATCH v1 0/3] realtek: backport SoC interrupt fixes Date: Sun, 13 Feb 2022 15:42:54 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220213_064311_297581_5434E85E X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Some fixes for the SoC's interrupt controller were merged upstream for 5.17, and incorporated in 5.16.5 and 5.15.19. These fixes are required to be able to implement the correct interrupt hierarchy in [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2a00:c98:2060:a004:1:0:0:200 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Some fixes for the SoC's interrupt controller were merged upstream for 5.17, and incorporated in 5.16.5 and 5.15.19. These fixes are required to be able to implement the correct interrupt hierarchy in the DT specification of the SoCs, and to get functioning interrupts on RTL930x. Sander Vanheule (3): realtek: drop routing for unused interrupts realtek: backport SoC IRQ off-by-one fix realtek: backport SoC interrupt vIRQ mapping fix target/linux/realtek/dts-5.10/rtl838x.dtsi | 21 +++---- target/linux/realtek/dts-5.10/rtl930x.dtsi | 25 ++++---- ...ealtek-rtl-fix-off-by-one-in-routing.patch | 60 +++++++++++++++++++ ...realtek-rtl-map-control-data-to-virq.patch | 35 +++++++++++ 4 files changed, 114 insertions(+), 27 deletions(-) create mode 100644 target/linux/realtek/patches-5.10/009-5.15.19-irqchip-realtek-rtl-fix-off-by-one-in-routing.patch create mode 100644 target/linux/realtek/patches-5.10/010-5.15.19-irqchip-realtek-rtl-map-control-data-to-virq.patch