From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89261433C0; Wed, 16 Oct 2024 01:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729041575; cv=none; b=sJEUdailCPlmf6sxl14E/q+FJuFoFAw0bEPD2zEc89l+YgoY5nfi3RxeJvaDpjwV3evrHiEANNfedbnAeJFz1aSecvDjT4QmKKJvRzi/0e+g9zWQUr5IBla1iaio6Rj7s+X/A+WM11u0qfI/A6EzmYuHzJIZ8K3Y2qDwCGjOCoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729041575; c=relaxed/simple; bh=jbVyCk1AWOwYwLa7bYVHToOePtRemy/kRTRE1MIxC9s=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=M9b5GlUmJwIRncJw3n0/7/K6DM5sZE8ovcn0IYglgHY2YIX3iJzzxxc+/CIrhbRxYgIEagNDOQvglbZhaUREtOfIZpNyhiKajbmMF+ghX0aYdG54BrW0DEtCiEnVs0X/u5pPnLukEIobdyfkoG5lHrlbvs0TfSCL4170vZkoTKU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j36UDIJf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j36UDIJf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B7B3C4CEC6; Wed, 16 Oct 2024 01:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729041575; bh=jbVyCk1AWOwYwLa7bYVHToOePtRemy/kRTRE1MIxC9s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=j36UDIJfyd6loYlqfrsUM7JuJm1t7+D9dbN6VpfMKaU9SUjfFph+Xg4akphX49Ldy D2dd1ByP9HEjEzK4MiGe9R/KbjuE9qYnUzspahH4NfERXtgacEXQU8jBZNBT/eMhbB tNRmJjBclMwWBzmLdGDHRNrNjs7VeveNu+8YWNn1dnC5Cc27YZMmLyAdqeUt4vZHTw i7DhzWkFPUW1lyBx4CIHF8vKFaDJX1lHc2krLl+Z92TLeUdLCw6iRw7RqBMpCbTeIV Sh5IDrQWjGJxEt+amRZY1RQWW5rcO57NZpfx3sef6tzHCqbf+2UaeMXyqX7C+WXqfE M4oLijby36ekQ== Date: Tue, 15 Oct 2024 18:19:33 -0700 From: Jakub Kicinski To: Jijie Shao Cc: , , , , , , , , , , Subject: Re: [PATCH net 2/9] net: hns3: add sync command to sync io-pgtable Message-ID: <20241015181933.3e7afbe3@kernel.org> In-Reply-To: <20241011094521.3008298-3-shaojijie@huawei.com> References: <20241011094521.3008298-1-shaojijie@huawei.com> <20241011094521.3008298-3-shaojijie@huawei.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 11 Oct 2024 17:45:14 +0800 Jijie Shao wrote: > To avoid errors in pgtable prefectch, add a sync command to sync > io-pagtable. I've never seen net drivers call iommu_iotlb functions. Could you provide more context on what this is doing and why such unusual handling is necessary?