From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0A7541D103 for ; Fri, 9 Oct 2026 08:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791535869; cv=none; b=K9t/8BFpv4WkFCZm2ZBPKCWeVUc/PPclAQbJyIPtaDdGF4Bwhq0XkgR9Us4sloitaPO20lsBkbtw8OXOSxv9HcYcmFTAY19s86ubpsrDNc6/z/KCiU5oUpVd5Em+OEZ2NflGT3xZob6OlpNYbVlzrb9rudec9tgyWUqlT9NjUjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791535869; c=relaxed/simple; bh=92fSs2xz3FU0UFlQ2cAFInK1+NWg6+T1Q4bclgsnaOU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nNLROIjYicVebsziF/t+nQCcANIT7dfOQTPh/R/zqpbr6Hxjy3MulpqGiSFGQ5ZDMRCIQ1BMjujoi2zHjRmac7iz4zUmjBNsJIVQxjb1l2N3GlAN24QOHlwtaRx6+GGnxXZkDIPLJXwyd4C70Wuvc7WiJB/gt3P+ODhb/dHlNyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; arc=none smtp.client-ip=85.214.250.239 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 (p200300f6af404a00448550d0471e54ea.dip0.t-ipconnect.de [IPv6:2003:f6:af40:4a00:4485:50d0:471e:54ea]) (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 AD38A1C77A4; Fri, 9 Oct 2026 10:51:03 +0200 (CEST) Date: Fri, 9 Oct 2026 10:51:02 +0200 From: =?utf-8?B?SsO2cmcgUsO2ZGVs?= To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, nicolinc@nvidia.com, jgg@nvidia.com Subject: Re: [PATCH] iommu/dma: Clean up redundant MSI cookie check Message-ID: References: <214eb3e383431f48b517c4bd2ba4f329579a442e.1790958898.git.robin.murphy@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <214eb3e383431f48b517c4bd2ba4f329579a442e.1790958898.git.robin.murphy@arm.com> On Fri, Oct 02, 2026 at 05:34:58PM +0100, Robin Murphy wrote: > The has_msi_cookie() condition only mattered transiently as an artefact > of the cookie rework being done in parallel with the sw_msi rework. Once > combined, calls to iommu_dma_sw_msi() are themselves dispatched based on > domain->cookie_type, so checking again is clearly redundant. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/dma-iommu.c | 11 ----------- > 1 file changed, 11 deletions(-) Applied, thanks.