From nobody Wed Dec 17 08:52:22 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6D9925DCFB; Wed, 19 Mar 2025 09:33:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742376792; cv=none; b=iXBa5mxG1bbXNakWyG0AD3mpH9ItvcNOgklffeN8pyUsqDnzrxmAWvuyUkHLBUUPzwIyX1iiQQWUN+nLBD9bMdSz6RPU6MvoEoBeUqPZ0V6/Gl48tLq5CSFePZwr3n1PTj2JDKtdLDsB3aoGJ6/QaLZ6XgLUi5WeHCyeDlogo/g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742376792; c=relaxed/simple; bh=eNseFhzSVipLNwxZ21Z4rZLqkjUU3kwov7Sl4p2zSuQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uyTr80gSwDrRXtFkLBw/SO00aXnINKUdtmPRixHgS/1L0zIHqiMY5opZ7lx3cDlr6l4iXtDihe8DeWwEtmZhqyrZfwuvEeKia/5Mn526caTlIIWLAUGVRcCvsqQGBZS0LPDNSrZ30TnxZEENmfVQubrpHjgpLNxzvVu4hd2UWSw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PS7hYZmg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PS7hYZmg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CFF2C4CEEA; Wed, 19 Mar 2025 09:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742376792; bh=eNseFhzSVipLNwxZ21Z4rZLqkjUU3kwov7Sl4p2zSuQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PS7hYZmgW9/Pcfpu8MAoRyBArlwzkzGxBIGzzUzwPnrcaQDtEOYNDnkU1rhabkOcC UqTMB/tSvMCvY37A96RSxDqiLymb4mFg5ZGmk9yWIKGeEopLz/dpmRA4wC0SNBf06K KotaIajxoQUR4f2jLWKHd4FUXjMxm6EN3ybJ8XeBD8d3jAHSxivsRqVTrsu9HfBW3I oG7V64Gio28wTkm1uJGgCmzgu/9H7HnmvAQSqz0cxGCmWBO43aMj5dkRbwmefcimE3 xBC3AcHZfpSd3L7DJOZAmHo4i0R09DZ7cHXV6QEG/hb1RxpT86IMa4PFjb44fOokG5 ZakGQdT7lbyVw== From: "Jiri Slaby (SUSE)" To: tglx@linutronix.de Cc: maz@kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Alex Shi , Yanteng Si , Dongliang Mu , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH v2 49/57] irqdomain: Drop irq_linear_revmap() Date: Wed, 19 Mar 2025 10:29:42 +0100 Message-ID: <20250319092951.37667-50-jirislaby@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319092951.37667-1-jirislaby@kernel.org> References: <20250319092951.37667-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable irq_linear_revmap() is deprecated and unused now. So remove it. Signed-off-by: Jiri Slaby (SUSE) Cc: Alex Shi Cc: Yanteng Si Cc: Dongliang Mu Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/core-api/irq/irq-domain.rst | 2 -- .../translations/zh_CN/core-api/irq/irq-domain.rst | 2 -- include/linux/irqdomain.h | 6 ------ 3 files changed, 10 deletions(-) diff --git a/Documentation/core-api/irq/irq-domain.rst b/Documentation/core= -api/irq/irq-domain.rst index e26ed303819d..775dd43b3340 100644 --- a/Documentation/core-api/irq/irq-domain.rst +++ b/Documentation/core-api/irq/irq-domain.rst @@ -63,8 +63,6 @@ variety of methods: mapping. - irq_find_mapping() returns a Linux IRQ number for a given domain and hwirq number, and 0 if there was no mapping -- irq_linear_revmap() is now identical to irq_find_mapping(), and is - deprecated - generic_handle_domain_irq() handles an interrupt described by a domain and a hwirq number =20 diff --git a/Documentation/translations/zh_CN/core-api/irq/irq-domain.rst b= /Documentation/translations/zh_CN/core-api/irq/irq-domain.rst index 913c3eda3f74..4a2d3b27aa4d 100644 --- a/Documentation/translations/zh_CN/core-api/irq/irq-domain.rst +++ b/Documentation/translations/zh_CN/core-api/irq/irq-domain.rst @@ -60,8 +60,6 @@ irq_domain=E5=92=8C=E4=B8=80=E4=B8=AAhwirq=E5=8F=B7=E4=BD= =9C=E4=B8=BA=E5=8F=82=E6=95=B0=E3=80=82 =E5=A6=82=E6=9E=9Chwirq=E7=9A=84=E6= =98=A0=E5=B0=84=E8=BF=98=E4=B8=8D=E5=AD=98=E5=9C=A8=EF=BC=8C =20 - irq_find_mapping()=E8=BF=94=E5=9B=9E=E7=BB=99=E5=AE=9A=E5=9F=9F=E5=92=8C= hwirq=E7=9A=84Linux IRQ=E5=8F=B7=EF=BC=8C=E5=A6=82=E6=9E=9C=E6=B2=A1=E6=9C= =89=E6=98=A0=E5=B0=84=E5=88=99=E8=BF=94=E5=9B=9E0=E3=80=82 =20 -- irq_linear_revmap()=E7=8E=B0=E4=B8=8Eirq_find_mapping()=E7=9B=B8=E5=90= =8C=EF=BC=8C=E5=B7=B2=E8=A2=AB=E5=BA=9F=E5=BC=83=E3=80=82 - - generic_handle_domain_irq()=E5=A4=84=E7=90=86=E4=B8=80=E4=B8=AA=E7=94=B1= =E5=9F=9F=E5=92=8Chwirq=E5=8F=B7=E6=8F=8F=E8=BF=B0=E7=9A=84=E4=B8=AD=E6=96= =AD=E3=80=82 =20 =E8=AF=B7=E6=B3=A8=E6=84=8F=EF=BC=8Cirq=E5=9F=9F=E7=9A=84=E6=9F=A5=E6=89= =BE=E5=BF=85=E9=A1=BB=E5=8F=91=E7=94=9F=E5=9C=A8=E4=B8=8ERCU=E8=AF=BB=E4=B8= =B4=E7=95=8C=E5=8C=BA=E5=85=BC=E5=AE=B9=E7=9A=84=E4=B8=8A=E4=B8=8B=E6=96=87= =E4=B8=AD=E3=80=82 diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index bd02550df6e6..d5c9e32ff0a2 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -492,12 +492,6 @@ static inline unsigned int irq_find_mapping(struct irq= _domain *domain, return 0; } =20 -static inline unsigned int irq_linear_revmap(struct irq_domain *domain, - irq_hw_number_t hwirq) -{ - return irq_find_mapping(domain, hwirq); -} - extern const struct irq_domain_ops irq_domain_simple_ops; =20 /* stock xlate functions */ --=20 2.49.0