Re: [PATCH] iommu/amd: Fix printing of IOMMU events when rate limiting kicks in

2021-07-26 Thread Joerg Roedel
On Wed, Jul 21, 2021 at 04:44:53PM +0300, Lennert Buytenhek wrote: > drivers/iommu/amd/iommu.c | 28 +--- > 1 file changed, 17 insertions(+), 11 deletions(-) Applied, thanks. ___ iommu mailing list

Re: [PATCH] iommu/amd: Fix printing of IOMMU events when rate limiting kicks in

2021-07-22 Thread Suthikulpanit, Suravee via iommu
On 7/21/2021 8:44 AM, Lennert Buytenhek wrote: For the printing of RMP_HW_ERROR / RMP_PAGE_FAULT / IO_PAGE_FAULT events, the AMD IOMMU code uses such logic: if (pdev) dev_data = dev_iommu_priv_get(>dev); if (dev_data && __ratelimit(_data->rs)) {

[PATCH] iommu/amd: Fix printing of IOMMU events when rate limiting kicks in

2021-07-21 Thread Lennert Buytenhek
For the printing of RMP_HW_ERROR / RMP_PAGE_FAULT / IO_PAGE_FAULT events, the AMD IOMMU code uses such logic: if (pdev) dev_data = dev_iommu_priv_get(>dev); if (dev_data && __ratelimit(_data->rs)) { pci_err(pdev, ... } else {