Hi, > -----邮件原件----- > 发件人: Lu Baolu [mailto:[email protected]] > 发送时间: 2019年12月24日 19:27 > 收件人: Jim,Yan <[email protected]>; Jerry Snitselaar <[email protected]> > 抄送: [email protected]; [email protected] > 主题: Re: 答复: 答复: 答复: [PATCH] iommu/vt-d: Don't reject nvme host due > to scope mismatch > > Hi, > > On 2019/12/24 16:18, Jim,Yan wrote: > >>>> For both cases, a quirk flag seems to be more reasonable, so that > >>>> unrelated devices will not be impacted. > >>>> > >>>> Best regards, > >>>> baolu > >>> Hi Baolu, > >>> Thanks for your advice. And I modify the patch as follow. > >> I just posted a patch for both NTG and NVME cases. Can you please take a > look? > >> Does it work for you? > >> > >> Best regards, > >> baolu > >> > > I have tested your patch. It does work for me. But I prefer my second > > version, > it is more flexible, and may use for similar unknown devices. > > > > I didn't get your point. Do you mind explaining why it's more flexible? > > Best regards, > Baolu For example, an unknown device has a normal PCI header and bridge scope and a class of PCI_CLASS_BRIDGE_PCI. These devices do have a class of PCI_BASE_CLASS_BRIDGE in common.
Jim _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
