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@xxxxxxxxxxxxx>
Signed-off-by: Ethan Zhao<haifeng.zhao@xxxxxxxxxxxxxxx>
---
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