From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6CB2606A32D for ; Fri, 4 Dec 2026 07:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=R0BqNYDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=rCenhAUwOONmonU4zbHeWqdHb/jJgrOo+NjAF0spFM8=; b=R0BqNYDT7wmcv0atuIxYXJ2LlT BMVrBqpCNulgQEGrJjJ5tf2w6lSnH/WHTSaIoix9E7ew+X9bEaHjB8RkRHgYjj2RpqB5VVskVeGKD tNbC7RtGr9XQpy7bq7jiWMrSMEcPlH0fXib8s0JweF38KCPbqqjoI/xBpt9efUGYfRbLqSjV0zjaq aAp95CFP+y5929f39MCtYWIoi2lIfXzD2eKFbKaV1fn1JYvWSjl57QfX5ZTgz+rGI8+ViYGjqZgmm mxJbxdoAA3ppujZ4EXdgnqhbaF5A3Mz084cyJgirNKAkkLPbzNqBK0eLLFSfV6cOAluLGje0YMETt WjArINDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZO6D-0000000H1pZ-0jAe; Fri, 04 Dec 2026 07:52:57 +0000 Received: from mail.8bytes.org ([85.214.250.239]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZO4u-0000000H1VF-0NaD; Fri, 04 Dec 2026 07:51:53 +0000 Received: from 8bytes.org (p549216fa.dip0.t-ipconnect.de [84.146.22.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 867E6245D11; Fri, 4 Dec 2026 08:51:20 +0100 (CET) Date: Fri, 4 Dec 2026 08:51:19 +0100 From: "Joerg Roedel (AMD)" To: aiyengar1990@gmail.com Cc: Will Deacon , Robin Murphy , Heiko Stuebner , Jeffy Chen , Tomasz Figa , Simon Xue , 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 Message-ID: References: <20261203-iommu-rockchip-faults-v2-0-40e11e3132ef@gmail.com> <20261203-iommu-rockchip-faults-v2-1-40e11e3132ef@gmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203-iommu-rockchip-faults-v2-1-40e11e3132ef@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_235141_554112_9659A152 X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-4.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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