From: Srujana Challa <schalla@marvell.com>
To: <virtualization@lists.linux.dev>
Cc: <mst@redhat.com>, <jasowang@redhat.com>,
<xuanzhuo@linux.alibaba.com>, <eperezma@redhat.com>,
<linmq006@gmail.com>, <phasta@kernel.org>,
<ndabilpuram@marvell.com>, <kshankar@marvell.com>,
<vattunuru@marvell.com>, <schalla@marvell.com>
Subject: [PATCH 0/4] vdpa/octeon_ep: fixes and improvements for multi VF
Date: Tue, 24 Feb 2026 15:22:22 +0530 [thread overview]
Message-ID: <20260224095226.1001151-1-schalla@marvell.com> (raw)
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
next reply other threads:[~2026-02-24 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 9:52 Srujana Challa [this message]
2026-02-24 9:52 ` [PATCH 1/4] vdpa/octeon_ep: Fix PF->VF mailbox data address calculation Srujana Challa
2026-02-24 9:52 ` [PATCH 2/4] vdpa/octeon_ep: Use 4 bytes for mailbox signature Srujana Challa
2026-02-24 9:52 ` [PATCH 3/4] vdpa/octeon_ep: Add vDPA device event handling for firmware notifications Srujana Challa
2026-02-24 9:52 ` [PATCH 4/4] vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler Srujana Challa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260224095226.1001151-1-schalla@marvell.com \
--to=schalla@marvell.com \
--cc=eperezma@redhat.com \
--cc=jasowang@redhat.com \
--cc=kshankar@marvell.com \
--cc=linmq006@gmail.com \
--cc=mst@redhat.com \
--cc=ndabilpuram@marvell.com \
--cc=phasta@kernel.org \
--cc=vattunuru@marvell.com \
--cc=virtualization@lists.linux.dev \
--cc=xuanzhuo@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox