Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2643462lqp; Mon, 25 Mar 2024 05:30:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/jCuHwZB4FBjz6RdWLbFC368Q9aFA/Qgx1L7bSI24gLNJ4nkGrGkLd00JTNNJAZPoiXkbTDQjiapc5SR/gtv6cEMjSqVWSm+asEkeJA== X-Google-Smtp-Source: AGHT+IFgKiC8XBR0iRAe9e+0LPWpStuE0rE2MUmUnLXl+yXhOs0LdH8W+gY8FslhwckKkY1xOtdw X-Received: by 2002:a17:906:a106:b0:a47:31db:d8ff with SMTP id t6-20020a170906a10600b00a4731dbd8ffmr4760532ejy.40.1711369851480; Mon, 25 Mar 2024 05:30:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711369851; cv=pass; d=google.com; s=arc-20160816; b=R4fX3kjUdL13jcqo3PgOp1FWUgq48Q7LaSVD73t5M2ouaW2ytX8/qlH6m7f5r84g8A fONwAMMkTl2I/H9Zi9yKIHY/8BqmFygFr1FBWaBAy7JzQcd9VtO/QqkRi8UsEq1q9KtY 0e+v4VfnwZ9Bno0DDhGWT1QJEYCp6yObcoadOr8Q5+5iNv0/l/tlpXCyYJOSZBiz3dbl UKXK0YGJmOzVhCRPXC7HgnBWGh42Jh/HkuPW8Kv283mMFjZHYyj7p6Poc1K6eBWRulo8 qq433T9ejIcdZ+F82F6c7PqCgffcTCjkSaZC4sk8pb/T4BmJaHihgMQjg7Cr90djfh0s Iq9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=+9XOn18Dp2Mr0MQLXTGvw0dnZhhtQnyefEnAu78ky1Q=; fh=PXKk0h5tOYrfvLOsca+I8y9oqIXj3i9JJuE9vl6NMgM=; b=VDsBOAqES/vEQ6YVEsU+jdu3WWGl0QIlV2Oeg0QBfkJ7A3AYUZ2irIGKhn3xC7S72o vurA8d96KUJJQokOd768UaOiRX6VUCLWMWbbPFZ/mKSlJ1Z+jJHBluBTCv+RYyRN+nmZ moI/mz9ID9h4isDnVyFgFdcXfOCbCp24wDozQDRl+t4pFZikZchF0s1gTmQGCpwT+WA/ TK4Lpv/bjoqxTCfR4KZp8Li/14UgG0xpxyUuuD2Jyv94iYAWFvnDbdgf1f69ln/3RiM7 hURqIOfKelNdkY5JJQfJKf06loCi97mgfz/khIALxptOG3Os+/0HgueriwNeO4xhZGbR 5Tjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sDYAW4so; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qk19-20020a1709077f9300b00a4748ca721csi1992262ejc.439.2024.03.25.05.30.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 05:30:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sDYAW4so; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 368051F38B14 for ; Mon, 25 Mar 2024 12:30:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFF7117277D; Mon, 25 Mar 2024 07:31:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sDYAW4so" 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 8C7EE180A85; Mon, 25 Mar 2024 07:10:19 +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=1711350619; cv=none; b=KfYVTQs9WrjHo85Ms9SovIsJ997v8bZL4nXytIUPaUgr1stJ+5tRIUa4FKDfiS+LHP1mjSvkEu+GxzWux9D//j52Mp7vCjqCdqwD9xjIkem8DnXDqyv9o8wgpfRZuPrL3ZlQ3zj/CVASOTufYUmdRhWmnxMGfCXZ1Bf1vL55e1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350619; c=relaxed/simple; bh=pDklQ4HEyATJrG52s500i9rhBWGMsdxljxs2zv1Sn9M=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DUYqjmAnKF+cBB561dGFaK+t1TDFKl2FYXUYTxKWrW/rEu2WiqgfYfcURMSVLihoEuFPZaOACESFmq4InNMfqQc4Fi+NMIsXslpnqDFFop6U0tIjZ61Ts0ew/YDoH42O4eWErsFaIV9jpzjY5isUhkQOn9IP+FKg/nsgMuZLm20= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sDYAW4so; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA54EC43390; Mon, 25 Mar 2024 07:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711350619; bh=pDklQ4HEyATJrG52s500i9rhBWGMsdxljxs2zv1Sn9M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sDYAW4so/yK4aW9I/T/TZScfACA4ErlTn9EzeRTzT0MnxaSVQ18Q/wo608EexZikE sQl8FfiCyoVhNcD8xHTbECjttNmWw0ciorZ3xFGviCMbgRLOJ00DpYRWlTMJxOtZZg s5SU6uyY/WGt9G9bB84oySLBvK+/u2GZTVC3oMJhjM7Ob8VXW5JgVt2V7KHslRw3Oh gL35PqaFFZT1tkoAczGgg/W48noHxc978hv4oL6Fxz0NJ+OHry+tDI+RQsYgB4eL/x FfsjGiAWqZV/KEgVhCfLsTpJ+PJrw7cwRmdpFSka6ElQHDgnw5eikTNurbY+d3DDsq XYcVv/bRWkvlQ== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivami , linux-scsi@vger.kernel.org, "Martin K . Petersen" , Jaroslav Kysela , linux-sound@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, Hans de Goede , platform-driver-x86@vger.kernel.org, ntb@lists.linux.dev, Lee Jones , David Airlie , amd-gfx@lists.freedesktop.org, Jason Gunthorpe , linux-rdma@vger.kernel.org, "David S . Miller" , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/28] ntb: Use PCI_IRQ_INTX Date: Mon, 25 Mar 2024 16:09:19 +0900 Message-ID: <20240325070944.3600338-9-dlemoal@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240325070944.3600338-1-dlemoal@kernel.org> References: <20240325070944.3600338-1-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c index 48823b53ede3..48dfb1a69a77 100644 --- a/drivers/ntb/hw/idt/ntb_hw_idt.c +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c @@ -2129,7 +2129,7 @@ static int idt_init_isr(struct idt_ntb_dev *ndev) int ret; /* Allocate just one interrupt vector for the ISR */ - ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSI | PCI_IRQ_LEGACY); + ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSI | PCI_IRQ_INTX); if (ret != 1) { dev_err(&pdev->dev, "Failed to allocate IRQ vector"); return ret; -- 2.44.0