From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=210.118.77.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796300265; b=c56OhelPqZcbDZ3tH9OhNYQUOh4588RrRufxmqmOyvd0howfRCzFA32YgRlsS1CXWEsb Vk3B0BiIaWVF2SeX1SImgpqcYATvmiKW2WwUTO81Ns+2f5dw2wotLBJkZkbIzWOMwbqJ/ ImMsee/sLNoMYuLutFdEXzr7Oo4dBUp5tZYFpxoEli8T/r1nDf5inKlrh51JSB+CrmchT 69kog89ZSTUTMvvVGiwHt95RTXkcW/ZQUqet5X1koMhlDg0IuP0SEVK6sOMB3ONTfalvd b6CG+VEtVzlDo3HpMhpDuIFdec2G6jx2S7ZyK9EnWS8/Wdj1m/343qItCLEkXvfFjAw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796300265; h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc: Content-Language:From:In-Reply-To:Content-Transfer-Encoding: X-CMS-MailID:X-Msg-Generator:Content-Type:X-RootMTR:X-EPHeader: X-CMS-RootMailID:References; bh=LQrXc3LIvtY2ZLWnR16mUyHmdlscY8IcyrXSJM6ZBOY=; b=GNw4EtZu/AM3qha42iINEcktwxvKCr2yL7N/XiWgPhfgGdxPrXKEyQe9una4PqqmqFtL VV7+pcoj6l43TSsoBAejTEBokwNQq0zPQgkwxGgAiJqKGKWv/ufgvfNTkM3oMrb1SE7a4 5x0ym6XQ5qdCeTj8EAucXAUBFltq/NijUwRB+q+T1AqCGqxhyx3TLhWxcerTA0Ehcq/UW mlxxPjusq5Cl5UHN4XDbZpcPSTLZdfX1LGRmuO2A0+FIGc/JOT2YnFJ8oDHHmDHC1/Cio 66HhbABIZEG+qy+uxmqKsXGNH3VpTBZOjzKCMVqg9TrfHKBTWPGn5zQwEbZZlM/DsIQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=Lupickho; arc=none smtp.remote-ip=210.118.77.11 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAD23606A69A for ; Thu, 3 Dec 2026 12:17:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BAD23606A69A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=Lupickho Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20261203121736euoutp01fd8c9bfee29dd39cad63d81021b3eb9d~tvZDNCd_70045500455euoutp01F for ; Thu, 3 Dec 2026 12:17:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20261203121736euoutp01fd8c9bfee29dd39cad63d81021b3eb9d~tvZDNCd_70045500455euoutp01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1796300256; bh=LQrXc3LIvtY2ZLWnR16mUyHmdlscY8IcyrXSJM6ZBOY=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=LupickhorJUMpmygOli536LYFX5gbN07dFrQ0EvEkzPxzy0wJpxjorxQ9va0bfCKf 6cc/+CpS09ptpq0MQJ42LSTwLtmPD2P5d24m6qL875HWr3hBHM3Hm1+cmI9STC+2A/ gR0CZryDSgtiiYXx0GhHW/3QKuk+FWVMjV94LpIY= Received: from eusmtip1.samsung.com (unknown [203.254.199.221]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20261203121735eucas1p1a13ee6a4ae29e6b858121e68631246d5~tvZC4yGIW1389413894eucas1p1X; Thu, 3 Dec 2026 12:17:35 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20261203121734eusmtip1433525f664582e1d6153e96e65a3ff3f~tvZB1rvyA2496724967eusmtip1D; Thu, 3 Dec 2026 12:17:34 +0000 (GMT) Message-ID: <778b6afe-b25e-4906-bf4d-c6cead3bddd3@samsung.com> Date: Thu, 3 Dec 2026 13:17:34 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Betterbird (Windows) Subject: Re: [PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs To: Juanlu Herrero , Andrew Lunn , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Shuah Khan , Robin Murphy , Eric Dumazet Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev Content-Language: en-US From: Marek Szyprowski In-Reply-To: <20261110-zcrx-dma-debug-registration-v1-0-48743ea61631@fastmail.com> Content-Transfer-Encoding: 8bit X-CMS-MailID: 20261203121735eucas1p1a13ee6a4ae29e6b858121e68631246d5 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20261110213736eucas1p1eab83ca5602049b731a5e4937b7d8c4f X-EPHeader: CA X-CMS-RootMailID: 20261110213736eucas1p1eab83ca5602049b731a5e4937b7d8c4f References: <20261110-zcrx-dma-debug-registration-v1-0-48743ea61631@fastmail.com> On 10.11.2026 22:36, Juanlu Herrero wrote: > Make the ZCRX area size configurable, skip DMA debug buckets that cannot > contain a partial sync, and add KUnit coverage for bucket bounds. > > Earlier Fastio ZCRX registration means with DMA debug enabled: > > driver pages before after time saved > mlx5 65536 4.720 s 0.942 s 3.778 s > bnxt_en 131072 10.658 s 0.556 s 10.102 s > > These runs used an earlier patch revision and workload. Later > SG-controlled CX7 runs showed no overall registration gain. > > Validation: KUnit with KASAN/lockdep, W=1 build and checkpatch passed. > > Codex assisted with implementation, review and validation. > > Signed-off-by: Juanlu Herrero It took me a while to understand this optimization and indeed it looks correct. I would like to take the whole patchset to dma-mapping-for-next. Any objections about taking also the first patch via my tree? Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland