From nobody Mon Dec 15 21:29:57 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 5ABF5280305; Fri, 16 May 2025 19:37:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747424247; cv=none; b=REMDdNuIB+5sjXVz07iCAYczIEnL6ZlMOAmcvwSpIhmRE1nyN6vjFqT9HsElqTgOPGA/5RxAcfbTWdoreS1yO152g+GFP9FQx6fte8lZiwP70E743rDnyGOAIPOEZpsXesejkdqudMSChtBVVjjBW5fLJ0042KzOo9zOGtagtQc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747424247; c=relaxed/simple; bh=urGzl0o+ShdVklUjXB3QI0moP+ncSyNTTr+mc02JtT8=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=EKZJpLxusaoPZoHJtq2DGh7cXpbpHzJqz2tEscRzimNXzrc5iDqYkPFVX4MeEU3znosS7pxDSx/F6gCRHfUwfevBYeyMcU4DuWjwYc5yWgEOdYS352A4XemNFy5bdx0U8sI2RNv5eX8PrksZws2PEfzP6CpOZKrTSan30Cq8uE0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Hb9vZUxL; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=xGTnQkc3; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Hb9vZUxL"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xGTnQkc3" Date: Fri, 16 May 2025 19:37:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1747424243; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6zcsPE4oGtzVfwpq7AzlKc/4EUUNjF0WsEtAFnqJBEs=; b=Hb9vZUxL0gpCrVOYNJmB7rjrRoGVvT4yKkEIcVJxpg7ypoyle2Q+AUYrAerR3p277/KZno gsicifUF2rXv9AjEIywyh0Pmef8FWGwZb3EhpiCFJjRY01Bpdrt9iXIBWKacOB1hGTVa3U QyQwY0EhtWiSXwO0JdeLwzQ6UU9YaWPwkWxSgAEk12XhYhrNXZYIP4cl84n4jre2fg2WOR 5Xw7BR/gca7dIiATWIrU/RglmDPZpLgZ08Cfm3fJtsb2afmXFSLSPfDPAcrgeZ3vTLqUeW Lg2CQPV10bMVYjHxR/SSccH3JdZh6KQG8jiQwLEoy+y2eTpGwj+VtVsT2DiEzg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1747424243; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6zcsPE4oGtzVfwpq7AzlKc/4EUUNjF0WsEtAFnqJBEs=; b=xGTnQkc3z8dMi4jw0+xgBT0W/KRtUuFBB5Ff8rJSif80STzbKFKEPYWdeaO1qbkv9ZkcHR klhd73YwW+ESUKDg== From: "tip-bot2 for Jiri Slaby (SUSE)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/cleanups] irqdomain: Drop irq_linear_revmap() Cc: "Jiri Slaby (SUSE)" , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250319092951.37667-50-jirislaby@kernel.org> References: <20250319092951.37667-50-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174742424304.406.3684518749218798391.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/cleanups branch of tip: Commit-ID: 14ebb11ba895c9223d9a453a17df2fd81410c96c Gitweb: https://git.kernel.org/tip/14ebb11ba895c9223d9a453a17df2fd81= 410c96c Author: Jiri Slaby (SUSE) AuthorDate: Wed, 19 Mar 2025 10:29:42 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 16 May 2025 21:06:12 +02:00 irqdomain: Drop irq_linear_revmap() irq_linear_revmap() is deprecated and unused now. So remove it. Signed-off-by: Jiri Slaby (SUSE) Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20250319092951.37667-50-jirislaby@kernel.= org --- Documentation/core-api/irq/irq-domain.rst | 2 -- Documentation/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 7624607..c365c3e 100644 --- a/Documentation/core-api/irq/irq-domain.rst +++ b/Documentation/core-api/irq/irq-domain.rst @@ -62,8 +62,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 913c3ed..4a2d3b2 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=EF=BF=BD =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 712c662..c8e55cd 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 */