> Introduce per-device gdma_bus_ops for interrupt allocation, IRQ lookup, > reset, servicing, and bus-specific capabilities. Route the shared GDMA > code through these callbacks and provide the PCI implementation. > > Move common device bring-up and teardown into mana_gd_setup() and > mana_gd_cleanup(), including hardware-channel initialization, device > enumeration, interrupt-pool sizing, and servicing workqueue management. > Record the vPort count for transport-specific queue sizing and keep shared > IRQ context bookkeeping in the core. > > This prepares the driver for additional bus transports without duplicating > the core or adding configuration checks throughout it. > > Signed-off-by: Manish Awasthi <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
