From nobody Sat Nov 23 11:52:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1731501808; cv=none; d=zohomail.com; s=zohoarc; b=G/KLt3//U17mWzwnFKAJGCEutZ+Gfmah9V9d+qvXG2eKaBhjN/Khrv63+WRWSMq+LhCRyrkB/qWlfLx+EyI3Kc+hKXcYU/Ll4tKZqirK/rXrjvLP0zmDYhOYpKbCvwD0GSoOdgqlNqjmSaS0+wJaRGtPDLhSJKnpeKyq6MZE0/k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1731501808; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OYummHyMeO18Vto9q2ZMMfeLT6TZU1cjZPgJKtQfrDY=; b=AyFEqCgTgFNfxKP2B8iy6Y4Dgsrx8TPNp1WD+nXLKb4lSZGUPuWa0EpBVDfARONxPBohrD0zODGzOQO0o35cGTV8HKYKSMm+w1dzcdB+EQq3trJONrb7YasakrylzMfOa1IY0ljR2V6TVj5qF0KNqJHmMQyApdjrS4EYxz3t7vU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1731501807986750.2281004008885; Wed, 13 Nov 2024 04:43:27 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.835562.1251503 (Exim 4.92) (envelope-from ) id 1tBCi2-0006F7-19; Wed, 13 Nov 2024 12:42:58 +0000 Received: by outflank-mailman (output) from mailman id 835562.1251503; Wed, 13 Nov 2024 12:42:57 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tBCi1-0006El-T9; Wed, 13 Nov 2024 12:42:57 +0000 Received: by outflank-mailman (input) for mailman id 835562; Wed, 13 Nov 2024 12:42:56 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tBCi0-0003m4-DB for xen-devel@lists.xenproject.org; Wed, 13 Nov 2024 12:42:56 +0000 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id cd02e11e-a1bc-11ef-a0c7-8be0dac302b0; Wed, 13 Nov 2024 13:42:54 +0100 (CET) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-347-KbC74Q0JMf2uSR2TDDuicg-1; Wed, 13 Nov 2024 07:42:52 -0500 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-37d5116f0a6so3762440f8f.0 for ; Wed, 13 Nov 2024 04:42:51 -0800 (PST) Received: from eisenberg.redhat.com (nat-pool-muc-u.redhat.com. [149.14.88.27]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed99aa18sm18023528f8f.61.2024.11.13.04.42.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 04:42:50 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: cd02e11e-a1bc-11ef-a0c7-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjE3MC4xMC4xMjkuMTI0IiwiaGVsbyI6InVzLXNtdHAtZGVsaXZlcnktMTI0Lm1pbWVjYXN0LmNvbSJ9 X-Custom-Transaction: eyJpZCI6ImNkMDJlMTFlLWExYmMtMTFlZi1hMGM3LThiZTBkYWMzMDJiMCIsInRzIjoxNzMxNTAxNzc0LjY5ODI2Nywic2VuZGVyIjoicHN0YW5uZXJAcmVkaGF0LmNvbSIsInJlY2lwaWVudCI6Inhlbi1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZyJ9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1731501773; h=from:from: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=OYummHyMeO18Vto9q2ZMMfeLT6TZU1cjZPgJKtQfrDY=; b=fpeeRsbyV1zIGiRmNTfvJnrpSGDsCWjgvz1vve+mZefikvHDbCA1GUhnRW5NkGunl2gtA6 kfPj3frfrluokIHNuj4udIZyknt6dJVGDIq1XtMZo6JNcJiyvgiU4lNMBTmiYBLL6FbzqS XlL8u2kWDQIuYcBt2beHPT7vvlqBZD0= X-MC-Unique: KbC74Q0JMf2uSR2TDDuicg-1 X-Mimecast-MFC-AGG-ID: KbC74Q0JMf2uSR2TDDuicg X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731501771; x=1732106571; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OYummHyMeO18Vto9q2ZMMfeLT6TZU1cjZPgJKtQfrDY=; b=M4Mva4/vhbNcOf3JegR2m9N3t4bAz62HfM1QJb352vC7DTgySe39uR4WMeO0lxdwHL tK/U9Nle/Z0MAVYmSzkH77hLWr3NisR366C4gjCisZl1jMS8h46CIAikm31hWVNEnhV+ JVlvz7psd6aUELtHykNJceNugwNKF7Oelmue/yjXAkQbDXlnFffv1gLLMCKr58pRxvzE jGMt2Rha1HeyZQMGwcBMMeFNeOEqXQzS9yM/OsjyV0H656JU353YpAQLtDiIfN60opMj 95vvjoO/KMXe8dZzxIO+yZmRjb64ChXhumQeqfdy7nZ/JCbHNn48BnWZAqbn+zuUp5C2 hm4Q== X-Forwarded-Encrypted: i=1; AJvYcCWJxczL6QqEq6lq4vawNTwoPggODbpGcf/fvmiukXLzVTd22DpR88U8JjDktHOhrwjY9nZTCoKVvLQ=@lists.xenproject.org X-Gm-Message-State: AOJu0YzDKukSyRJBT6mOiLBk1G8rVF0Go5R1N7QcsPddhTPNdht60IP7 +MfVDF2Ci+oa44UA3m9z0NLqiqpV467GYCrV+WDtuswMyv43mTO3SDHmB9oQCmGEU1omqNfAkPO Ex4HqXYTeONs/7QXdV4yBEkZT0QVTRSQznlMYn3J5YqOOEjkTNjNJgaWr3TjOr4Jg X-Received: by 2002:a05:6000:18af:b0:36c:ff0c:36d7 with SMTP id ffacd0b85a97d-381f1863104mr17590044f8f.2.1731501770837; Wed, 13 Nov 2024 04:42:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaBVI43qrL6OFk13wQNBZS22ld2QbZy7MjquOncWveKQvBM2tKSYuVKq3Lye0eFRQdag4y9Q== X-Received: by 2002:a05:6000:18af:b0:36c:ff0c:36d7 with SMTP id ffacd0b85a97d-381f1863104mr17589974f8f.2.1731501770406; Wed, 13 Nov 2024 04:42:50 -0800 (PST) From: Philipp Stanner To: Damien Le Moal , Niklas Cassel , Basavaraj Natikar , Jiri Kosina , Benjamin Tissoires , Arnd Bergmann , Greg Kroah-Hartman , Alex Dubov , Sudarsana Kalluru , Manish Chopra , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rasesh Mody , GR-Linux-NIC-Dev@marvell.com, Igor Mitsyanko , Sergey Matyukevich , Kalle Valo , Sanjay R Mehta , Shyam Sundar S K , Jon Mason , Dave Jiang , Allen Hubbe , Bjorn Helgaas , Alex Williamson , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , Philipp Stanner , Mario Limonciello , Chen Ni , Ricky Wu , Al Viro , Breno Leitao , Kevin Tian , Thomas Gleixner , Mostafa Saleh , Andy Shevchenko , Jason Gunthorpe , Yi Liu , Kunwu Chan , Ankit Agrawal , Christian Brauner , Reinette Chatre , Eric Auger , Ye Bin Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, ntb@lists.linux.dev, linux-pci@vger.kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org Subject: [PATCH v2 09/11] wifi: qtnfmac: use always-managed version of pcim_intx() Date: Wed, 13 Nov 2024 13:41:57 +0100 Message-ID: <20241113124158.22863-11-pstanner@redhat.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241113124158.22863-2-pstanner@redhat.com> References: <20241113124158.22863-2-pstanner@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Mls-cUVR_X-Y_-Wqzqum2EXtcNgO8eEsXqC9RBJMVio_1731501771 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1731501809383116600 Content-Type: text/plain; charset="utf-8"; x-default="true" pci_intx() is a hybrid function which can sometimes be managed through devres. To remove this hybrid nature from pci_intx(), it is necessary to port users to either an always-managed or a never-managed version. qtnfmac enables its PCI-Device with pcim_enable_device(). Thus, it needs the always-managed version. Replace pci_intx() with pcim_intx(). Signed-off-by: Philipp Stanner Acked-by: Kalle Valo --- drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c b/drivers/n= et/wireless/quantenna/qtnfmac/pcie/pcie.c index f66eb43094d4..3adcfac2886f 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c +++ b/drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c @@ -204,7 +204,7 @@ static void qtnf_pcie_init_irq(struct qtnf_pcie_bus_pri= v *priv, bool use_msi) =20 if (!priv->msi_enabled) { pr_warn("legacy PCIE interrupts enabled\n"); - pci_intx(pdev, 1); + pcim_intx(pdev, 1); } } =20 --=20 2.47.0