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=1796371904; b=ZlzPM2oJGa9uEoJc1pZ4UCMGAKkhQAdGWrUNHPszJa21FVMs/1QbrHiK9kZLPR/0NEjV zMDNC/s2Sc99HUaYAR5pzFzlGDlzfZMiPablQ6jUrgtAZ5q1Xpw/rW4LnZSWYCxp9pOZF Neb5+KzSejVvsMohrQc37xOyViyHkJWt2+7qn+rM7FlMWn7/HcbAsp+VuRjA3q6Wvv3CB YPxSxCU3fG5SNaN2oxjwkZli2u2pvJIKBD1/rZRSIoF3Kn/tMvEa9gNewb14+Y+HNTbjM z0d6IoICRBjLHsiadvODzP6ZifyyxzCFWPHzwopNWM6RfmySaRguJbxklSaB811yqDA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796371904; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=ZGMq6n/XGb+X1TLj9g63BYm3MsP6SckHqaQSCFGPBd0=; b=MSlTzftxwvZNhsPVCGWqbCxAFA5yxrTqxCxPxOkAIKuwd/9gPjZGA3175EvBgZ6VphHr X8/Rg5JEpSganUPa7PPaCpnTSvBYxjjO24f1gMbKQTWXDeS35gw7JbqheQbvnVKd3tj2d /PRBE7M/lshtnEES5vhgZa8TCpPrGPgF+OnbHDdI0RvPz65lQMBFGM0gj320BAbSJxIPr SjGEC1doAsurjecHfdHJdXWDuKaQhWE4bfJ8SU8/urMeUMhmL2Ey4/1YO7xwVtY6h9T9H xzHL3WMqv8/lB/daFB439nZpjvX7SevXeVh01OKengJ37L5PtFjv4XeeLQuC+jp5mIQ== 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 B3008606A32C for ; Fri, 4 Dec 2026 08:11:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B3008606A32C 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 4E89A245923; Fri, 4 Dec 2026 09:11:42 +0100 (CET) Date: Fri, 4 Dec 2026 09:11:41 +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 3/3] iommu/rockchip: Don't skip a bank whose state differs from the others Message-ID: References: <20261203-iommu-rockchip-faults-v2-0-40e11e3132ef@gmail.com> <20261203-iommu-rockchip-faults-v2-3-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-3-40e11e3132ef@gmail.com> On Thu, Dec 03, 2026 at 02:38:03AM +0000, Arun Iyengar via B4 Relay wrote: > From: Arun Iyengar > > The state helpers AND the status of all banks, and the callers skip a > command when the banks disagree: no DISABLE_PAGING unless every bank > pages, no ENABLE_STALL when one bank is in bypass, no DISABLE_STALL > unless every bank is stalled. This doesn't make much sense to me. Please write a proper commit message with a clear problem statement and how this patch fixes it. -Joerg