From nobody Mon Apr 13 14:15:29 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 545A0C4332F for ; Mon, 5 Dec 2022 18:27:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233066AbiLES1x (ORCPT ); Mon, 5 Dec 2022 13:27:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbiLESZU (ORCPT ); Mon, 5 Dec 2022 13:25:20 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7B6720BE8; Mon, 5 Dec 2022 10:25:19 -0800 (PST) Date: Mon, 05 Dec 2022 18:25:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670264718; 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=n4TmGrr6CqhWXhuVum4g3dKhcRpAc3swOSW11IndD9w=; b=nsENywLdenZpIIBqQPqpPxX6Ytw7FDCni4TStFqcJZtyNyyVjg4elopXSfnn4QEy+3D9YB 4WhuNycxVoLGUYivl4IlCDprKk2Ruho0YStL/u1IaddTmee+SgVyzV+EJrw/tEm+PmjvIz 5qFzYLeaFpFaLm9hcdaXVrfBR3p2VhkARKQaZeuqORvNnU2+ygIl0npxgj9tls3cOhS87P QJvyv5Ysaosi9px5bzTc62mxNgnPOeyp6qzxo3wTr9DrQ8iFXUbRKXC4m8r1U2DH8tm+ed 3GozSUjFTNZ1L0IUjHm3WkjvSjk83thX6t3Y9vc4M6NdCWV8dTggsFby3BPCwA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670264718; 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=n4TmGrr6CqhWXhuVum4g3dKhcRpAc3swOSW11IndD9w=; b=8A+Za5ELO2b5OS8ISPl81XN65cJvd6CBgq8rPvxOYmJROnnZbnuVX3A0PrEbhOwB/vnxJ5 lbG+rvKS7HNUZeDw== From: "tip-bot2 for Ahmed S. Darwish" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] platform-msi: Switch to the domain id aware MSI interfaces Cc: "Ahmed S. Darwish" , Thomas Gleixner , Kevin Tian , Marc Zyngier , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221124230314.513924920@linutronix.de> References: <20221124230314.513924920@linutronix.de> MIME-Version: 1.0 Message-ID: <167026471810.4906.10493249948096555909.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: b330ff9f0b03d6107ee941240ef63cc95374ff3d Gitweb: https://git.kernel.org/tip/b330ff9f0b03d6107ee941240ef63cc95= 374ff3d Author: Ahmed S. Darwish AuthorDate: Fri, 25 Nov 2022 00:24:38 +01:00 Committer: Thomas Gleixner CommitterDate: Mon, 05 Dec 2022 19:21:00 +01:00 platform-msi: Switch to the domain id aware MSI interfaces Switch to the new domain id aware interfaces to phase out the previous ones. No functional change. Signed-off-by: Ahmed S. Darwish Signed-off-by: Thomas Gleixner Reviewed-by: Kevin Tian Acked-by: Marc Zyngier Link: https://lore.kernel.org/r/20221124230314.513924920@linutronix.de --- drivers/base/platform-msi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c index dddafa1..5883e76 100644 --- a/drivers/base/platform-msi.c +++ b/drivers/base/platform-msi.c @@ -213,7 +213,7 @@ int platform_msi_domain_alloc_irqs(struct device *dev, = unsigned int nvec, if (err) return err; =20 - err =3D msi_domain_alloc_irqs(dev->msi.domain, dev, nvec); + err =3D msi_domain_alloc_irqs_range(dev, MSI_DEFAULT_DOMAIN, 0, nvec - 1); if (err) platform_msi_free_priv_data(dev); =20 @@ -227,7 +227,7 @@ EXPORT_SYMBOL_GPL(platform_msi_domain_alloc_irqs); */ void platform_msi_domain_free_irqs(struct device *dev) { - msi_domain_free_irqs(dev->msi.domain, dev); + msi_domain_free_irqs_all(dev, MSI_DEFAULT_DOMAIN); platform_msi_free_priv_data(dev); } EXPORT_SYMBOL_GPL(platform_msi_domain_free_irqs);