From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=85.214.250.239 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796370682; b=nAr4bYwiuasUlP+3oIumyFfwA3kJJ20ykupWYmXoLqwVjcQfknmG1bRi2RzPNxghLR85 jCBRa2PboudKm3mO5Ao3r75Q/PmdQRFKrarkMH0GoaLLheGdSyIz6wQX1jEXZHkceN5ZG iy7UJpoJPdgrK+HZWBvpXQX6c/XJHDrwmjCDUDzkl29SM4RHtjDcESfe+hjS9aj8r4ty4 xSwTBVuJFl115SsBDi8Z65kTi4wCbfni+4MkplXVKMjhx4VrjvcZBnhG2ij9TEKkSW6H+ Tdz+gUTLqQueQrAMH8baKMSqpcJxRa3IlU58nfXjp2/5RDK4Y1C9x4wxfCZetFDFq9A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796370682; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=rCenhAUwOONmonU4zbHeWqdHb/jJgrOo+NjAF0spFM8=; b=E5w5EPZwqGRBuU/eml/F4AfzTjeY2fxtNKshJZiENcB9GUqpaSH+U1vJx1zSl53eLf49 dkNIkwfftveoZZSKJLGK9CNeTx3X/bDuQOmraYP8EDjC5L9X8z9AJwIpWr7dxLK7VfEDM 4UWnde6Nt4BKCVCE48sHFIAkaq5zqDcHQMaWi5EM8bUaX+tziHefRF2OsHWaTH36VvvND 7TqlSIu/Rlu2JY3bKnOV2Vl2jHXV0O34Z5eFCRyqgCY3YbUWuC5J6CIpT40kmYRbmPFoN Bn/IYO28A1TLz3GskAKWeY6TiWra/ZC+L3k/Nxg5VwnhDesa9j5f5j8tB3VmB0uUhFw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; arc=none smtp.remote-ip=85.214.250.239 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2105606A330 for ; Fri, 4 Dec 2026 07:51:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A2105606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org 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-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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> 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