Re: [PATCH V2] virtio-pci: compat page aligned ATS

2021-04-07 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: > > 在 2021/4/6 下午5:39, Dr. David Alan Gilbert 写道: > > * Jason Wang (jasow...@redhat.com) wrote: > > > Commit 4c70875372b8 ("pci: advertise a page aligned ATS") advertises > > > the page aligned via ATS capability (RO) to unbrek recent Linux IOMMU > > > dri

Re: [PATCH V2] virtio-pci: compat page aligned ATS

2021-04-07 Thread Jason Wang
在 2021/4/6 下午5:39, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: Commit 4c70875372b8 ("pci: advertise a page aligned ATS") advertises the page aligned via ATS capability (RO) to unbrek recent Linux IOMMU drivers since 5.2. But it forgot the compat the capability which br

Re: [PATCH V2] virtio-pci: compat page aligned ATS

2021-04-06 Thread Dr. David Alan Gilbert
* Jason Wang (jasow...@redhat.com) wrote: > Commit 4c70875372b8 ("pci: advertise a page aligned ATS") advertises > the page aligned via ATS capability (RO) to unbrek recent Linux IOMMU > drivers since 5.2. But it forgot the compat the capability which > breaks the migration from old machine type: >

[PATCH V2] virtio-pci: compat page aligned ATS

2021-04-05 Thread Jason Wang
Commit 4c70875372b8 ("pci: advertise a page aligned ATS") advertises the page aligned via ATS capability (RO) to unbrek recent Linux IOMMU drivers since 5.2. But it forgot the compat the capability which breaks the migration from old machine type: (qemu) qemu-kvm: get_pci_config_device: Bad config