Hi,
-----éäåä-----
åää: Lu Baolu [mailto:baolu.lu@xxxxxxxxxxxxxxx]
åéæé: 2019å12æ25æ 10:01
æää: Jim,Yan <jimyan@xxxxxxxxx>; Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
æé: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
äé: Re: çå: çå: çå: çå: [PATCH] iommu/vt-d: Don't reject nvme
host due to scope mismatch
Hi,
On 2019/12/25 9:52, Jim,Yan wrote:
Hi,due to
-----éäåä-----
åää: Lu Baolu [mailto:baolu.lu@xxxxxxxxxxxxxxx]
åéæé: 2019å12æ24æ 19:27
æää: Jim,Yan <jimyan@xxxxxxxxx>; Jerry Snitselaar
<jsnitsel@xxxxxxxxxx>
æé: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
äé: Re: çå: çå: çå: [PATCH] iommu/vt-d: Don't reject nvme host
and a class of PCI_CLASS_BRIDGE_PCI.scope mismatchFor example, an unknown device has a normal PCI header and bridge scope
Hi,
On 2019/12/24 16:18, Jim,Yan wrote:
look?I just posted a patch for both NTG and NVME cases. Can you pleaseFor both cases, a quirk flag seems to be more reasonable, so thatHi Baolu,
unrelated devices will not be impacted.
Best regards,
baolu
Thanks for your advice. And I modify the patch as follow.
take a
it is more flexible, and may use for similar unknown devices.Does it work for you?I have tested your patch. It does work for me. But I prefer my
Best regards,
baolu
second version,
I didn't get your point. Do you mind explaining why it's more flexible?
Best regards,
Baolu
These devices do have a class of PCI_BASE_CLASS_BRIDGE in common.
This is not a common case. It's only for devices on the marketing and hard for
the VT-d users to get it fixed in the OEM firmware.
Best regards,
Baolu
Got it. Then I am OK with this patch. I have tested it yesterday. It does work for me.
Thanks.