Issue with Upstream patch "PCI: vmd: Honor ACPI _OSC on PCIe features"
A message that is not in the archive (sent off-list or not yet received): [email protected]
[+Cc linux-acpi]
Hi Nirmal,
Quoted 7 lines · Nirmal
Hello,
I am writing this email to report an issue we are observing because of recent addition of a patch and need some help understanding it better.
Quoted 8 lines
Issue:
Drives are still present after performing hotplug in guest OS. We have tested with different combination of OSes, drives and Hypervisor. The issue is present across all the OSes and the following patch was identified as a root cause.This patch was added to avoid AER messages for Samsung drives when VMD is enabled.
To be more specific, the patch is to align with what other OSes do on the VMD ports.
Quoted 7 lines
I also compared the values of the parameters in the patch in Host and Guest OS. The parameters with different values in Host and Guest OS are:
Quoted 8 lines
native_pcie_hotplugnative_shpc_hotplugnative_aernative_ltrI am not sure why "
native_pcie_hotplug" is changed to 0 in guest. Isn't itOSC_managed parameter? If that is the case, it should have same value in Host and Guest OS.
Assuming it's a VM and NVMe passthrough? I guess guest OS provide its own _OSC value?
Quoted 2 lines
Can you please provide your input or next step?
Please file a bug with both host and guest OS's dmesg and lspci -vv attached.
Quoted 1 line
Is reverting the patch a good option?
Not really...
Kai-Heng
Quoted 6 lines
Thank you for your time.
Regards,
-Nirmal