Re: [PATCH 01/11] NTB: Add atomic MW translation group operations

[email protected] Mon, 03 Aug 2026 18:10:30 +0000
Newsgroups dev.linux.lists.ntb,org.kernel.vger.linux-pci
Message-ID <[email protected]>
> A PCI function has only a few BARs, but an NTB device may need more
> logical MWs, for example to give queues separate windows. Splitting a
> large or resizable BAR avoids spending one BAR per MW.
>=20
> BAR subrange mappings for that would consume one inbound mapping region
> per logical MW. Those regions can be scarce on some PCIe controller
> integrations, limiting the number of MWs.
>=20
> Introduce translation groups whose members use contiguous local
> backing, so one inbound mapping can cover the whole group. Add a group
> query and atomic group set/clear operations. Singleton groups keep using
> the existing per-MW callbacks.
>=20
> Signed-off-by: Koichiro Den <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

--=20
Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260803180439.1963=
[email protected]?part=3D1