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
iommu@lists.linux-foundation.or
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(&pdev->dev);
if (dev_data && __ratelimit(&dev_data->rs)) {
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(&pdev->dev);
if (dev_data && __ratelimit(&dev_data->rs)) {
pci_err(pdev, ...
} else {