From nobody Sat Sep 26 13:08:13 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E4CF23A16A1 for ; Tue, 1 Sep 2026 07:04:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788246296; cv=none; b=Xs7mIaqTVUk9xKxMdfzE8gsrNJYh9jwlfOAjL0nO/kAQZKPwo8BsSCkYy9XvnhUvHv6RESvkuxBJIvjt1sZt4j5zHUfDokPDjKIHoz8nkgBzMAPhdM2vT6vcHJpp9kSqlGR7BkYdwSD2Mr0OKKJCxROejZ1b57kvoE2cBRK5LwQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788246296; c=relaxed/simple; bh=ey0G1X9tOwJNDFI9ncTYyCaKALRWJF8gnxAlcVfAHdg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hOqVI88QSXsUau1NNuOVn8/7K7Uj/hvzTEuyvo0Bc1AYtCLEsV15S1F0Kc8SNnv9/OkL9H7tDQMc8PMklI5J8nw+jRaBeZhkSXH6a/KgHKFBhvRgxsrVEv/Fcbk6WiKxkubOjJdri3+otbdvavA1E69VUAe7s1caIzOC9vIXSf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rc2nZPcA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rc2nZPcA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6C4D1F000E9; Tue, 1 Sep 2026 07:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788246294; bh=Dj9L8nra2wlXiqh+4Le5gpOg2EgGvJF4Ts7nBLLHjvM=; h=From:To:Cc:Subject:Date; b=Rc2nZPcAEViCXpdiXCBowQypECYNb4aXEaDy35QUPp2hGTk02Xlay2koaJwvXYxfc l8+SYtuuAkYUci57onVoJdnplxe7Ng+2sQKre/QZIDXHPepH7DrPnuqyBqEjA57dKj vyLkdYydfC+Q04Jdam2gRg3JHl6mzAH7L3XwG74SRxdYjpgqtL8DkFKomMWfPbEvCJ zMfPCngK5GM8Sv5klgYmyXvEtPCjUSOjbWII18yRYL/QxII8yaC3DnnY2Lr78Fcefy oN0VU8YOJ0ODABkCRCs6mgRUbi055h3ty52hX6KNIgt17ljkVOSfUf8gkpcNVJi2IY E5qt3OsuTDvGA== From: "Jiri Slaby (SUSE)" To: tglx@kernel.org Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Radu Rendec , Alex Shi , Yanteng Si , Dongliang Mu Subject: [PATCH v2] irqdomain: Delete irq_domain_add_linear() Date: Tue, 1 Sep 2026 09:04:48 +0200 Message-ID: <20260901070450.255507-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.55.0 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 7.3-rc1 is free of calls to irq_domain_add_linear(), so it can be deleted at last. According to Dongliang Mu, the paragraph in the Chinese docs is now obsolete. So drop it completely. Signed-off-by: Jiri Slaby (SUSE) Cc: Thomas Gleixner Cc: Radu Rendec Cc: Alex Shi Cc: Yanteng Si Cc: Dongliang Mu Reviewed-by: Dongliang Mu Reviewed-by: Yanteng Si --- [v2] drop the whole paragraph (Dongliang Mu) --- .../zh_CN/core-api/irq/irq-domain.rst | 4 ---- include/linux/irqdomain.h | 18 ------------------ 2 files changed, 22 deletions(-) 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 aaefeda0e164..7317cf5355c9 100644 --- a/Documentation/translations/zh_CN/core-api/irq/irq-domain.rst +++ b/Documentation/translations/zh_CN/core-api/irq/irq-domain.rst @@ -90,10 +90,6 @@ irq_domain=E6=98=A0=E5=B0=84=E7=9A=84=E7=B1=BB=E5=9E=8B =E6=98=A0=E5=B0=84=E7=9A=84=E4=BC=98=E7=82=B9=E6=98=AF=E5=9B=BA=E5=AE=9A= =E6=97=B6=E9=97=B4=E6=9F=A5=E6=89=BEIRQ=E5=8F=B7=EF=BC=8C=E8=80=8C=E4=B8=94= irq_descs=E5=8F=AA=E5=88=86=E9=85=8D=E7=BB=99=E5=9C=A8=E7=94=A8=E7=9A=84IRQ= =E3=80=82 =E7=BC=BA=E7=82=B9=E6=98=AF=E8=AF=A5=E8=A1=A8 =E5=BF=85=E9=A1=BB=E5=B0=BD=E5=8F=AF=E8=83=BD=E5=A4=A7=E7=9A=84hwirq=E5=8F= =B7=E3=80=82 =20 -irq_domain_add_linear()=E5=92=8Cirq_domain_create_linear()=E5=9C=A8=E5=8A= =9F=E8=83=BD=E4=B8=8A=E6=98=AF=E7=AD=89=E4=BB=B7=E7=9A=84=EF=BC=8C -=E9=99=A4=E4=BA=86=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0=E4=B8=8D= =E5=90=8C--=E5=89=8D=E8=80=85=E6=8E=A5=E5=8F=97=E4=B8=80=E4=B8=AAOpen Firmw= are=E7=89=B9=E5=AE=9A=E7=9A=84 'struct device_node' =E8=80=8C -=E5=90=8E=E8=80=85=E6=8E=A5=E5=8F=97=E4=B8=80=E4=B8=AA=E6=9B=B4=E9=80=9A= =E7=94=A8=E7=9A=84=E6=8A=BD=E8=B1=A1 'struct fwnode_handle' =E3=80=82 - =E5=A4=A7=E5=A4=9A=E6=95=B0=E9=A9=B1=E5=8A=A8=E5=BA=94=E8=AF=A5=E4=BD=BF= =E7=94=A8=E7=BA=BF=E6=80=A7=E6=98=A0=E5=B0=84 =20 =E6=A0=91=E7=8A=B6=E6=98=A0=E5=B0=84 diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 73c25d40846c..3ba75a4ed3da 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -752,24 +752,6 @@ static inline void msi_device_domain_free_wired(struct= irq_domain *domain, unsig } #endif =20 -static inline struct irq_domain *irq_domain_add_linear(struct device_node = *of_node, - unsigned int size, - const struct irq_domain_ops *ops, - void *host_data) -{ - struct irq_domain_info info =3D { - .fwnode =3D of_fwnode_handle(of_node), - .size =3D size, - .hwirq_max =3D size, - .ops =3D ops, - .host_data =3D host_data, - }; - struct irq_domain *d; - - d =3D irq_domain_instantiate(&info); - return IS_ERR(d) ? NULL : d; -} - #else /* CONFIG_IRQ_DOMAIN */ static inline void irq_dispose_mapping(unsigned int virq) { } static inline struct irq_domain *irq_find_matching_fwnode(struct fwnode_ha= ndle *fwnode, --=20 2.55.0