[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f8a7c91d-5d46-4ba0-95ad-d07ab81efd75@linux.intel.com>
Date: Wed, 10 Jan 2024 16:47:45 +0800
From: Ethan Zhao <haifeng.zhao@...ux.intel.com>
To: Baolu Lu <baolu.lu@...ux.intel.com>, kevin.tian@...el.com,
bhelgaas@...gle.com, dwmw2@...radead.org, will@...nel.org,
robin.murphy@....com, lukas@...ner.de
Cc: linux-pci@...r.kernel.org, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v10 3/5] PCI: make pci_dev_is_disconnected() helper
public for other drivers
On 1/10/2024 1:25 PM, Baolu Lu wrote:
> On 12/29/23 1:05 AM, Ethan Zhao wrote:
>> Make pci_dev_is_disconnected() public so that it can be called from
>> Intel VT-d driver to quickly fix/workaround the surprise removal
>> unplug hang issue for those ATS capable devices on PCIe switch
>> downstream
>> hotplug capable ports.
>>
>> Beside pci_device_is_present() function, this one has no config space
>> space access, so is light enough to optimize the normal pure surprise
>> removal and safe removal flow.
>>
>> Tested-by: Haorong Ye<yehaorong@...edance.com>
>> Signed-off-by: Ethan Zhao<haifeng.zhao@...ux.intel.com>
>> ---
>> drivers/pci/pci.h | 5 -----
>> include/linux/pci.h | 5 +++++
>> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> This should be moved before PATCH 2/5? Otherwise, PATCH 2/5 couldn't be
Seems the order was mixed when send-email was abort by network connection
and sent again.
[3/5] &[4/5] goes to upset. though the subject order is right.
anyway will resend in next version.
Thanks,
Ethan
> compiled.
>
> Best regards,
> baolu
Powered by blists - more mailing lists