summaryrefslogtreecommitdiff
path: root/scripts/sbom
diff options
context:
space:
mode:
authorKoichiro Den <den@valinux.co.jp>2026-05-13 11:49:15 +0900
committerBjorn Helgaas <bhelgaas@google.com>2026-06-22 15:31:11 -0500
commitf417c400a6683c62cdead42013f60872fda84013 (patch)
tree2e10f22dae293139d06fa097c321002487ee7c33 /scripts/sbom
parent91fb4488cd615a39360bc4160a10cb3236189ba1 (diff)
PCI: endpoint: pci-epf-vntb: Reject unusable doorbell counts
pci-epf-vntb reserves slot 0 for link events and keeps slot 1 unused for legacy layout compatibility. A db_count smaller than MIN_DB_COUNT leaves no usable doorbell slot after those reservations. Reject such configurations when configuring interrupts. While at it, move MAX_DB_COUNT next to MIN_DB_COUNT. They are used as a pair in the range check, and keeping them together makes the valid doorbell range easier to read. Signed-off-by: Koichiro Den <den@valinux.co.jp> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260513024923.451765-5-den@valinux.co.jp
Diffstat (limited to 'scripts/sbom')
0 files changed, 0 insertions, 0 deletions