This series fixes several issues in the Marvell OCTEON DPU vDPA driver
and adds support for firmware-initiated device events.
Patch 1 fixes the PF->VF mailbox address calculation when multiple
rings per VF are configured. The driver previously assumed 1 ring per
VF; it now reads the actual rings-per-VF from OCTEP_EPF_RINFO.
Patch 2 switches mailbox signature access from 64-bit to 32-bit, since
the upper 4 bytes are reserved by firmware for metadata.
Patch 3 adds handling for vDPA device add and remove events from
Octeon firmware, using irq 0 for multiplexed event delivery.
Patch 4 fixes the IRQ-to-ring mapping in the interrupt handler. The
original logic assumed contiguous IRQs starting at irqs[0]; the driver
now looks up the IRQ index in oct_hw->irqs to support non-contiguous
IRQ numbers and avoid incorrect ring indexing.
Srujana Challa (2):
vdpa/octeon_ep: Fix PF->VF mailbox data address calculation
vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler
Vamsi Attunuru (2):
vdpa/octeon_ep: Use 4 bytes for mailbox signature
vdpa/octeon_ep: Add vDPA device event handling for firmware
notifications
drivers/vdpa/octeon_ep/octep_vdpa.h | 22 +++-
drivers/vdpa/octeon_ep/octep_vdpa_main.c | 131 +++++++++++++++++++----
2 files changed, 134 insertions(+), 19 deletions(-)
--
2.25.1