From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 9441B215764 for ; Thu, 12 Dec 2024 14:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734015402; cv=none; b=s6Ozm0cFB64Tn/qBmURN7EDOQlTWEtiWYZ1ZQVyW8MnfUDN/IgJpL4FGFDBNl27j7inidvgzj66q5/ndU8qk2guBAviDIo6TBFCnEkapkUKDvkKtVejG5aETuNleI6fUuq0mUCCJL9P5wliyUYDi5cpnG5s2OFFa0i3Vtj5qcuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734015402; c=relaxed/simple; bh=AjQOAHstwlMlrDDeDDeSx0eAGZcKzvIvjK1+noRizkA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=r6mY66Qwt3+NR1VUGkAonofE3E4eoKJpJEip6sAEYFCQXG2U8cyRmePu6EDG7Wmj1pHV07dcko0wnlO11+K4qycmi9Yx/qkY3tVyVuOqkXFYrB+uHmKs2bb3zRYejNjmu1kn28MgbFABSUzX5uBev5ugAFNNicNnNe0RzpDp65c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=DeTuY93G; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DeTuY93G" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734015399; 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=oL7oDzf/iu+owBEyFgADY3KtJbecvvlrXRMt6TBS380=; b=DeTuY93Gl+QN/i3NSufXohDh5kzQ5U46yxaBzDTGmmFpqioerQwohfCtNBrRf2YVQ/A/vf qHL0U/1TkrRuAVqYAU8oYfXmndUGM9+yJUKR7Kv1C++pqgQuajeQMr44mBK3YR/gHRwuZO ZEMNOE1WcmHFTmkM2nVLdSgErhzaYbk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-588-mdKtuBOyMCiSRa5BOcViIg-1; Thu, 12 Dec 2024 09:56:38 -0500 X-MC-Unique: mdKtuBOyMCiSRa5BOcViIg-1 X-Mimecast-MFC-AGG-ID: mdKtuBOyMCiSRa5BOcViIg Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-43621907030so7205405e9.1 for ; Thu, 12 Dec 2024 06:56:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734015397; x=1734620197; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oL7oDzf/iu+owBEyFgADY3KtJbecvvlrXRMt6TBS380=; b=FNRVeWx5q7q18+H0OvSB5VvNwNAT3NI42jtg01ZAQqvfvE3k0bJsoQyP36bWTqYbp1 45QeYiQsMWz+uPHxNvwXtL+G5FFSkOcc3eJcAa6FPWjW5JxMCU/I/K0/2jWsIWec/azb 3AWXifFO/7E/OZb6f3c2FmathSsU6duc7/hM9AofKNIhx5q7vNDXaFoXI93W6kF2kXET fZ9ekJD0n0ZgIlfs3WMVG1K5xzh0WEiLb7P4FplU8VhminyupxQ/pTxwWHKyXHtw6Uzm NF/KOh0zc3bDFdZT3KBawKnLUxVLaGXEYH8q/zUgLvCMz42j/nnb9P6ZLee1hsIZ+qS8 ouCQ== X-Forwarded-Encrypted: i=1; AJvYcCWm8GU7q7dU3jP5AszHMto84+XLv4/aRdV4W+mePsj5uNfnYCXydDdadgAZuVSpu/+kvt+a1E2iGtymcV0=@vger.kernel.org X-Gm-Message-State: AOJu0YxjDVBap30smnc9z71RWjHgeFRZmB8TybkgRKZTlBqZiLfLpQh4 rixI/dGVL0WjiEdBmIJcpAihi0HrfNOwggl6BHm7fHYuu3n7h+GCjUozBqiWRv9pShmHz81AY+5 uRA+KrJBQAqAjsQMf1aWXk+gEetjA6Xfs4/kcHvMZlgqoR68FGz7q6qV0GrPhRQ== X-Gm-Gg: ASbGncsjUcxskQ0bH0hfXRqNrIL8cre4/3xm9bQrkAjs8VBTQ1jKxjhFLNh4M6kN1Au CfV/r5zzWLl2ObYRCBC/gBWrGHZ6gY47inSvWtUuDtYIieeTdt+Cp5VXvQNWJWw3470BPhV2cb/ ZsX4+fVsjLzjwWJdGJ/T9SIRFeqGdspwgZpZ/WNczT0243ZteeKFCKpDhnVWIyi9OZa1q3NZT5y yxc464HpofTKiGM6h0Qg3DKzf+66vHxIt40O/SuKN7562seNCSaYIfpUBdXEc/zLW7xCmsrdlK1 MRe6tRo= X-Received: by 2002:a05:600c:34cc:b0:434:fbe2:4f with SMTP id 5b1f17b1804b1-4361c430b5cmr63303075e9.23.1734015397044; Thu, 12 Dec 2024 06:56:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6jT4MvcNP0dxPJ6BKwDHdX4PrfqhYHXR4TAbgRNM6khL6oXpHiVnh7UfEpSYX/vLofOsSxA== X-Received: by 2002:a05:600c:34cc:b0:434:fbe2:4f with SMTP id 5b1f17b1804b1-4361c430b5cmr63302405e9.23.1734015396688; Thu, 12 Dec 2024 06:56:36 -0800 (PST) Received: from [192.168.88.24] (146-241-48-67.dyn.eolo.it. [146.241.48.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4362557c457sm19247805e9.15.2024.12.12.06.56.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2024 06:56:36 -0800 (PST) Message-ID: <8ee0cf91-c215-4015-90fc-32be6f22b7db@redhat.com> Date: Thu, 12 Dec 2024 15:56:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 03/11] net/ethernet: Use never-managed version of pci_intx() To: Philipp Stanner , amien 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 , 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 , Mario Limonciello , Chen Ni , Ricky Wu , Al Viro , Breno Leitao , Thomas Gleixner , Kevin Tian , Andy Shevchenko , Mostafa Saleh , Jason Gunthorpe , Yi Liu , Kunwu Chan , Dan Carpenter , "Dr. David Alan Gilbert" , Ankit Agrawal , 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 References: <20241209130632.132074-2-pstanner@redhat.com> <20241209130632.132074-5-pstanner@redhat.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20241209130632.132074-5-pstanner@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/9/24 14:06, Philipp Stanner wrote: > 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. > > broadcom/bnx2x and brocade/bna enable their PCI-Device with > pci_enable_device(). Thus, they need the never-managed version. > > Replace pci_intx() with pci_intx_unmanaged(). > > Signed-off-by: Philipp Stanner Acked-by: Paolo Abeni