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

2021-04-05 Thread Jason Wang
在 2021/4/2 下午5:31, Michael S. Tsirkin 写道: On Fri, Apr 02, 2021 at 03:55:20PM +0800, Jason Wang 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 capab

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

2021-04-02 Thread Michael S. Tsirkin
On Fri, Apr 02, 2021 at 03:55:20PM +0800, Jason Wang 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 o

[PATCH] virtio-pci: compat page aligned ATS

2021-04-02 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