From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ED8B5107BCE1 for ; Fri, 13 Mar 2026 19:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject: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-Owner; bh=a37QXwp3qEwDh9AgjIf+Tlc0+VKHZxoerRqHbO7hOHc=; b=YLA4al1UEtZYqTOriFb3o/l2TZ AijTL/90Lm62PZGD4tzIzDxKYDuWbgXfI8nRQCWbJHAz+3jFhaIzJVTuH8XGxukFInRGNnv//3cDS 1RRH3lnJnwFvakvNgG21RTZMIHcdoaRjQu6mQaPvHWjJVRCUbo61tsXzmtwLy4TcDjE+c2i73qj8E nW+X47fTaEje+fLfLmPuwW1m+XY2ws8GYmU6shXgLcJ2tthNdHmGyM2cCslDrO6LVquOY2GUFG4Lh 0WPhBTE1xo3E0scw5ZqOJKPxZp7mE0o40N8dJSusG0o63MnVtaTqeg1augQHpHnXy6HkqVfoqgGFB jJhYa2yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w18IW-0000000151Z-3z65; Fri, 13 Mar 2026 19:35:48 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w18IT-0000000150F-3ZZb for linux-arm-kernel@lists.infradead.org; Fri, 13 Mar 2026 19:35:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D8F7F14BF; Fri, 13 Mar 2026 12:35:37 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC8E23F694; Fri, 13 Mar 2026 12:35:41 -0700 (PDT) Date: Fri, 13 Mar 2026 19:35:39 +0000 From: Catalin Marinas To: Barry Song <21cnbao@gmail.com> Subject: Re: [PATCH v3 3/5] arm64: Provide dcache_inval_poc_nosync helper Message-ID: References: <20260228221125.59863-1-21cnbao@gmail.com> <20260228221258.59918-1-21cnbao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260228221258.59918-1-21cnbao@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260313_123545_969120_8854A44C X-CRM114-Status: UNSURE ( 7.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tangquan Zheng , Barry Song , Ryan Roberts , Leon Romanovsky , Anshuman Khandual , robin.murphy@arm.com, Xueyuan Chen , linux-kernel@vger.kernel.org, Suren Baghdasaryan , iommu@lists.linux.dev, Marc Zyngier , will@kernel.org, Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Mar 01, 2026 at 06:12:58AM +0800, Barry Song wrote: > From: Barry Song > > dcache_inval_poc_nosync does not wait for the data cache invalidation to > complete. Later, we defer the synchronization so we can wait for all SG > entries together. > > Cc: Leon Romanovsky > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Marek Szyprowski > Cc: Robin Murphy > Cc: Ada Couprie Diaz > Cc: Ard Biesheuvel > Cc: Marc Zyngier > Cc: Anshuman Khandual > Cc: Ryan Roberts > Cc: Suren Baghdasaryan > Cc: Tangquan Zheng > Tested-by: Xueyuan Chen > Signed-off-by: Barry Song Reviewed-by: Catalin Marinas From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9D173DFC65 for ; Fri, 13 Mar 2026 19:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773430552; cv=none; b=rhR6BFMUEiAR2VkelUiB0q16Pwetwa0n1QSsmG58qXUK2DFTIAmg/0AFo4UEQFvnuh1AXHmk25NVPpVeSZxO0hjgdLm3pooNV6mu4aOHmIn1Wb3P057gmmQA/FgKzcwKbFL333hGcUNn/1+3dSpsh9lSld85MpjmSE/UcQsUEu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773430552; c=relaxed/simple; bh=mGDB2/aNMF4NAPsMQOXdDPMtSxxKwkdGGDBa9oypOYk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ye+IURyyDwOpSrb5N8qDgshB5JuaBiYC6Eo6/FtipdAEp3i8Gmw4KRnhfq+uFioP/e763JkSF3sb6gbHtE/65t34IhrYz/ZX0NeguzpL9gEZHmxqxWdOuPhdFvoneHvlkZk68aNnNylL1Ait8efqqF7usDwAk7Hlhw9/ztVmN6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D8F7F14BF; Fri, 13 Mar 2026 12:35:37 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EC8E23F694; Fri, 13 Mar 2026 12:35:41 -0700 (PDT) Date: Fri, 13 Mar 2026 19:35:39 +0000 From: Catalin Marinas To: Barry Song <21cnbao@gmail.com> Cc: m.szyprowski@samsung.com, robin.murphy@arm.com, will@kernel.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Barry Song , Leon Romanovsky , Ada Couprie Diaz , Ard Biesheuvel , Marc Zyngier , Anshuman Khandual , Ryan Roberts , Suren Baghdasaryan , Tangquan Zheng , Xueyuan Chen Subject: Re: [PATCH v3 3/5] arm64: Provide dcache_inval_poc_nosync helper Message-ID: References: <20260228221125.59863-1-21cnbao@gmail.com> <20260228221258.59918-1-21cnbao@gmail.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260228221258.59918-1-21cnbao@gmail.com> On Sun, Mar 01, 2026 at 06:12:58AM +0800, Barry Song wrote: > From: Barry Song > > dcache_inval_poc_nosync does not wait for the data cache invalidation to > complete. Later, we defer the synchronization so we can wait for all SG > entries together. > > Cc: Leon Romanovsky > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Marek Szyprowski > Cc: Robin Murphy > Cc: Ada Couprie Diaz > Cc: Ard Biesheuvel > Cc: Marc Zyngier > Cc: Anshuman Khandual > Cc: Ryan Roberts > Cc: Suren Baghdasaryan > Cc: Tangquan Zheng > Tested-by: Xueyuan Chen > Signed-off-by: Barry Song Reviewed-by: Catalin Marinas