summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorVivek Pernamitta <quic_vpernami@quicinc.com>2025-09-12 18:18:06 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2025-09-19 11:22:58 +0530
commitb4d01c5b9a9d2dc39f52be22809e845cc4c46f03 (patch)
treec5614cb211e9a41e3a37985df9be65d424cfc63a /rust/kernel
parenta9e3d5a69cf8d1a73733c52f593a3f803f576391 (diff)
bus: mhi: host: pci_generic: Read SUBSYSTEM_VENDOR_ID for VF's to check status
In SR-IOV enabled devices, reading the VF DEVICE/VENDOR ID register returns `FFFFh`, as specified in section 3.4.1.1 of the PCIe SR-IOV spec. To accurately determine device activity, read the PCIe VENDOR_ID of the Physical Function (PF) instead. Health check monitoring for Virtual Functions (VFs) has been disabled, since VFs are not physical functions and lack direct hardware control. This change prevents unnecessary CPU cycles from being consumed by VF health checks, which are both unintended and non-functional. Signed-off-by: Vivek Pernamitta <quic_vpernami@quicinc.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Link: https://patch.msgid.link/20250912-uevent_vdev_next-20250911-v4-2-fa2f6ccd301b@quicinc.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions