* [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
@ 2020-10-19 9:15 Zenghui Yu
2020-10-26 17:03 ` Auger Eric
0 siblings, 1 reply; 3+ messages in thread
From: Zenghui Yu @ 2020-10-19 9:15 UTC (permalink / raw)
To: eric.auger, peter.maydell
Cc: Zenghui Yu, wanghaibin.wang, qemu-arm, qemu-devel
Ensure the vSMMUv3 will be restored before all PCIe devices so that DMA
translation can work properly during migration.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
---
not sure if anything would actually go wrong...
hw/arm/smmuv3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
index 0122700e72..2017ba7a5a 100644
--- a/hw/arm/smmuv3.c
+++ b/hw/arm/smmuv3.c
@@ -1440,6 +1440,7 @@ static const VMStateDescription vmstate_smmuv3 = {
.name = "smmuv3",
.version_id = 1,
.minimum_version_id = 1,
+ .priority = MIG_PRI_IOMMU,
.fields = (VMStateField[]) {
VMSTATE_UINT32(features, SMMUv3State),
VMSTATE_UINT8(sid_size, SMMUv3State),
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
2020-10-19 9:15 [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly Zenghui Yu
@ 2020-10-26 17:03 ` Auger Eric
2020-10-26 17:16 ` Peter Maydell
0 siblings, 1 reply; 3+ messages in thread
From: Auger Eric @ 2020-10-26 17:03 UTC (permalink / raw)
To: Zenghui Yu, peter.maydell; +Cc: wanghaibin.wang, qemu-arm, qemu-devel
Hi Zenghui,
On 10/19/20 11:15 AM, Zenghui Yu wrote:
> Ensure the vSMMUv3 will be restored before all PCIe devices so that DMA
> translation can work properly during migration.
Sorry I missed this patch. good catch!
Acked-by: Eric Auger <eric.auger@redhat.com>
Thanks
Eric
>
> Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
> ---
>
> not sure if anything would actually go wrong...
>
> hw/arm/smmuv3.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c
> index 0122700e72..2017ba7a5a 100644
> --- a/hw/arm/smmuv3.c
> +++ b/hw/arm/smmuv3.c
> @@ -1440,6 +1440,7 @@ static const VMStateDescription vmstate_smmuv3 = {
> .name = "smmuv3",
> .version_id = 1,
> .minimum_version_id = 1,
> + .priority = MIG_PRI_IOMMU,
> .fields = (VMStateField[]) {
> VMSTATE_UINT32(features, SMMUv3State),
> VMSTATE_UINT8(sid_size, SMMUv3State),
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly
2020-10-26 17:03 ` Auger Eric
@ 2020-10-26 17:16 ` Peter Maydell
0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2020-10-26 17:16 UTC (permalink / raw)
To: Auger Eric; +Cc: Zenghui Yu, wanghaibin.wang, qemu-arm, QEMU Developers
On Mon, 26 Oct 2020 at 17:03, Auger Eric <eric.auger@redhat.com> wrote:
>
> Hi Zenghui,
>
> On 10/19/20 11:15 AM, Zenghui Yu wrote:
> > Ensure the vSMMUv3 will be restored before all PCIe devices so that DMA
> > translation can work properly during migration.
>
> Sorry I missed this patch. good catch!
>
> Acked-by: Eric Auger <eric.auger@redhat.com>
Applied to target-arm.next, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-26 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 9:15 [PATCH] [RFC] hw/arm/smmuv3: Set the restoration priority of the vSMMUv3 explicitly Zenghui Yu
2020-10-26 17:03 ` Auger Eric
2020-10-26 17:16 ` Peter Maydell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.