From: "Joerg Roedel (AMD)" <joro@8bytes.org>
To: aiyengar1990@gmail.com
Cc: Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Heiko Stuebner <heiko@sntech.de>,
Jeffy Chen <jeffy.chen@rock-chips.com>,
Tomasz Figa <tfiga@chromium.org>, Simon Xue <xxm@rock-chips.com>,
iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] iommu/rockchip: Rate-limit the page fault reports
Date: Fri, 4 Dec 2026 08:51:19 +0100 [thread overview]
Message-ID: <axJwrDF6T4TC04wG@8bytes.org> (raw)
In-Reply-To: <20261203-iommu-rockchip-faults-v2-1-40e11e3132ef@gmail.com>
On Thu, Dec 03, 2026 at 02:38:01AM +0000, Arun Iyengar via B4 Relay wrote:
> - if (int_status & RK_MMU_IRQ_BUS_ERROR)
> + if ((int_status & RK_MMU_IRQ_BUS_ERROR) &&
> + __ratelimit(&iommu->fault_rs))
> dev_err(iommu->dev, "BUS_ERROR occurred at %pad\n", &iova);
Why are BUS_ERRORs rate-limited as well? A series of page-faults can then hide
the bus error from being logged. Is that intentional?
-Joerg
WARNING: multiple messages have this Message-ID (diff)
From: "Joerg Roedel (AMD)" <joro@8bytes.org>
To: aiyengar1990@gmail.com
Cc: Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Heiko Stuebner <heiko@sntech.de>,
Jeffy Chen <jeffy.chen@rock-chips.com>,
Tomasz Figa <tfiga@chromium.org>, Simon Xue <xxm@rock-chips.com>,
iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] iommu/rockchip: Rate-limit the page fault reports
Date: Fri, 4 Dec 2026 08:51:19 +0100 [thread overview]
Message-ID: <axJwrDF6T4TC04wG@8bytes.org> (raw)
In-Reply-To: <20261203-iommu-rockchip-faults-v2-1-40e11e3132ef@gmail.com>
On Thu, Dec 03, 2026 at 02:38:01AM +0000, Arun Iyengar via B4 Relay wrote:
> - if (int_status & RK_MMU_IRQ_BUS_ERROR)
> + if ((int_status & RK_MMU_IRQ_BUS_ERROR) &&
> + __ratelimit(&iommu->fault_rs))
> dev_err(iommu->dev, "BUS_ERROR occurred at %pad\n", &iova);
Why are BUS_ERRORs rate-limited as well? A series of page-faults can then hide
the bus error from being logged. Is that intentional?
-Joerg
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2026-12-04 7:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 2:38 [PATCH v2 0/3] iommu/rockchip: page fault and reset handling fixes Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar
2026-12-03 2:38 ` [PATCH v2 1/3] iommu/rockchip: Rate-limit the page fault reports Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar
2026-12-04 7:51 ` Joerg Roedel (AMD) [this message]
2026-12-04 7:51 ` Joerg Roedel (AMD)
2026-12-03 2:38 ` [PATCH v2 2/3] iommu/rockchip: Fix the poll period and timeout of FORCE_RESET Arun Iyengar
2026-12-03 2:38 ` Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar via B4 Relay
2026-12-03 2:38 ` [PATCH v2 3/3] iommu/rockchip: Don't skip a bank whose state differs from the others Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar via B4 Relay
2026-12-03 2:38 ` Arun Iyengar
2026-12-04 8:11 ` Joerg Roedel (AMD)
2026-12-04 8:11 ` Joerg Roedel (AMD)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axJwrDF6T4TC04wG@8bytes.org \
--to=joro@8bytes.org \
--cc=aiyengar1990@gmail.com \
--cc=heiko@sntech.de \
--cc=iommu@lists.linux.dev \
--cc=jeffy.chen@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robin.murphy@arm.com \
--cc=tfiga@chromium.org \
--cc=will@kernel.org \
--cc=xxm@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.