|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v6 12/13] xen/arm: Suspend/resume IOMMU on Xen suspend/resume
On 02.09.25 01:10, Mykola Kvach wrote: Hello Mykola From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> This is done using generic iommu_suspend/resume functions that cause IOMMU driver specific suspend/resume handlers to be called for enabled IOMMU (if one has suspend/resume driver handlers implemented). Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> Signed-off-by: Mykola Kvach <mykola_kvach@xxxxxxxx> --- Changes in V6: - Drop iommu_enabled check from host system suspend. I do not have any comments for the updated version, thanks. --- xen/arch/arm/suspend.c | 11 +++++++++++ xen/drivers/passthrough/arm/smmu-v3.c | 10 ++++++++++ xen/drivers/passthrough/arm/smmu.c | 10 ++++++++++ 3 files changed, 31 insertions(+) diff --git a/xen/arch/arm/suspend.c b/xen/arch/arm/suspend.c index 35b20581f1..f3a3b831c5 100644 --- a/xen/arch/arm/suspend.c +++ b/xen/arch/arm/suspend.c @@ -5,6 +5,7 @@#include <xen/console.h>#include <xen/cpu.h> +#include <xen/iommu.h> #include <xen/llc-coloring.h> #include <xen/sched.h> #include <xen/tasklet.h> @@ -62,6 +63,13 @@ static void cf_check system_suspend(void *data)time_suspend(); + status = iommu_suspend();
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |