JoergRoedel wrote on 02/05/2022 11:45:
[now with Vasants correct email address]
Hi Jörg,
can you please try the attached patch? It should get rid of the WARNING on your system.
Suravee, Vasant, can you please test review the patch and report whether the GA log functionality is still working?
Thanks,
Joerg
Thanks for the patch. Will test it today.
Regards, Jörg.
From 4fee768d5c23715eae31fed3b41cdf045e099aef Mon Sep 17 00:00:00 2001 From: Joerg Roedel jroedel@suse.de Date: Mon, 2 May 2022 11:37:43 +0200 Subject: [PATCH] iommu/amd: Do not poll GA_LOG_RUNNING mask at boot
On some hardware it takes more than a second for the hardware to get the GA log into running state. This is too long to poll for in the AMD IOMMU driver code.
Instead, check whehter initialization was successful before polling the log for the first time.
Signed-off-by: Joerg Roedel jroedel@suse.de
drivers/iommu/amd/amd_iommu_types.h | 3 +++ drivers/iommu/amd/init.c | 13 ++----------- drivers/iommu/amd/iommu.c | 25 ++++++++++++++++++++++++- 3 files changed, 29 insertions(+), 12 deletions(-)
<snip>