From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6951F33262F; Fri, 10 Jul 2026 08:24:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783671865; cv=none; b=W94phqWcL/n/e82tp7f4QgiHtNodV+jFgzXeuIDGvbsv1/54L257rxyUoaWCy4KZnr7TBkuanThrI695XVF7w2zmuS4ddlU2SKkwJXAJt43de/YXhm/Jtf6Vp2f2URRctvuv7WUa5qHrAnetaHCChYTANbjWP4LIuLpPD8SD2gE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783671865; c=relaxed/simple; bh=1n2pHRvn5SQpMkOz2wjE7yjDY3UpHbq2PujQ6Cs00L0=; h=From:Subject:To:Cc:In-Reply-To:References:Content-Type:Date: Message-Id; b=dSqANOhIt+ZCDFvt5iCu7IYVntstik2mdkDKz9MiI6OEo3TzUmMsjRqe3ZBYQotLoUZ5aiV0mnWttj5nfCpA0PMJl6P5kaj79hpHB8IN5166MPMRFY9s051mGWkLJT1x4q6RMIhJ21vwEyhiQ5nNAlrhg97bzICI33mWe2+OWpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ltIUvAhL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ltIUvAhL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A55341F000E9; Fri, 10 Jul 2026 08:24:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783671863; bh=1n2pHRvn5SQpMkOz2wjE7yjDY3UpHbq2PujQ6Cs00L0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ltIUvAhL4OI0Dt6A81DwAxFKFwiJWyLJKvJUq8jiadUb0JogyxZW7PMaCvRfz7kU0 uB/ldaDnBEx+KpohjpX3ts2jGpRmFBfNs5LGlK8YdRF2WHHnmNgEKZYxfGRhPZ8MP9 B/sIcbAdnTwXYYyxcfDllbh5rC9eMYd/Zkqoqv+L1qoTQ0PJfN+TEykmSRsA5pkclG iUwidSjimLH74C0E1E1/RvGhvIGCSyjvPziWdTXaFLLCLQNJ8iCzls8BFpVKUbYKFn jvHzh3qVZ9jT6dREoMd9P/2PzFr6HT79Bs4jG4irh05aysXjVML+j8V06oYf9Dov5R sfJ4kRt5sX7Rg== From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 1/6] PCI: endpoint: Define endpoint DMA BAR metadata format Reply-To: sashiko-reviews@lists.linux.dev To: "Koichiro Den" Cc: linux-pci@vger.kernel.org, vkoul@kernel.org, dmaengine@vger.kernel.org, Frank.Li@kernel.org In-Reply-To: <20260710082156.2395844-2-den@valinux.co.jp> References: <20260710082156.2395844-1-den@valinux.co.jp> <20260710082156.2395844-2-den@valinux.co.jp> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 10 Jul 2026 08:24:23 +0000 Message-Id: <20260710082423.A55341F000E9@smtp.kernel.org> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: > Define the BAR-resident metadata format used by endpoint functions that > expose an endpoint-integrated DMA controller to the host. >=20 > A VSEC-based discovery scheme would be a natural fit, and existing > dw-edma-pcie providers such as Synopsys EDDA and AMD (Xilinx) MDB/CPM6 > already use VSECs for DMA discovery. However, some endpoint controllers > cannot provide enough writable configuration-space storage for a > complete, controller-defined payload. Keep the extensible metadata in a > BAR instead, where the endpoint function controls the layout and size. >=20 > The format describes the DMA register window, exported channel counts, > descriptor windows, optional auxiliary windows, endpoint-local descriptor > and auxiliary DMA addresses, and a ready bit that tells the host when the > described BAR windows are usable. Channel entries keep the auxiliary > window optional so layouts that need a separate data or auxiliary aperture > can describe it without a format bump. >=20 > Signed-off-by: Koichiro Den Sashiko has reviewed this patch and found no issues. It looks great! --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260710082156.2395= 844-1-den@valinux.co.jp?part=3D1