Re: [PATCH] iommu/amd: Fix event counter availability check

From: Suravee Suthikulpanit
Date: Mon Feb 22 2021 - 13:01:19 EST


This fix has been accepted in the upstream recently.

https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git/commit/?h=x86/amd

Could you please give this a try?

Thanks,
Suravee

On 2/21/21 8:49 PM, Paul Menzel wrote:
Dear Suravee,


Am 17.09.20 um 19:55 schrieb Alexander Monakov:
On Tue, 16 Jun 2020, Suravee Suthikulpanit wrote:

Instead of blindly moving the code around to a spot that would just work,
I am trying to understand what might be required here. In this case,
the init_device_table_dma()should not be needed. I suspect it's the IOMMU
invalidate all command that's also needed here.

I'm also checking with the HW and BIOS team. Meanwhile, could you please
give
the following change a try:
Hello. Can you give any update please?

[…]

Sorry for late reply. I have a reproducer and working with the HW team to
understand the issue.
I should be able to provide update with solution by the end of this week.

Hello, hope you are doing well. Has this investigation found anything?

I am wondering the same. It’d be great to have this fixed in the upstream Linux kernel.


Kind regards,

Paul