vdpa/octeon_ep: fixes and improvements for multi VF
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vdpa/octeon_ep: Fix PF->VF mailbox data address calculationdrivers/ | +6 | 0 replies | |
| 2/4 | vdpa/octeon_ep: Use 4 bytes for mailbox signaturedrivers/ | +3 | 0 replies | |
| 3/4 | vdpa/octeon_ep: Add vDPA device event handling for firmware notificationsdrivers/ drivers/ | +115 | 0 replies | |
| 4/4 | vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handlerdrivers/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] vdpa/octeon_ep: fixes and improvements for multi VF
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(-)
Signature · 1 line
2.25.1