]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeon_ep_vf: ensure dbell BADDR updation
authorVimlesh Kumar <vimleshk@marvell.com>
Fri, 6 Feb 2026 11:15:08 +0000 (11:15 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 14:57:59 +0000 (15:57 +0100)
commit484e834d53cffa91c311631271f83130cf6e9e7c
treea7c42fbaf929b6fa453eaa46fc30d70a12cb5cae
parentce8fe3fc4f99efd872120301c0f72f2e90ab9769
octeon_ep_vf: ensure dbell BADDR updation

Make sure the OUT DBELL base address reflects the
latest values written to it.

Fix:
Add a wait until the OUT DBELL base address register
is updated with the DMA ring descriptor address,
and modify the setup_oq function to properly
handle failures.

Fixes: 2c0c32c72be29 ("octeon_ep_vf: add hardware configuration APIs")
Signed-off-by: Sathesh Edara <sedara@marvell.com>
Signed-off-by: Shinas Rasheed <srasheed@marvell.com>
Signed-off-by: Vimlesh Kumar <vimleshk@marvell.com>
Link: https://patch.msgid.link/20260206111510.1045092-4-vimleshk@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_cn9k.c
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_cnxk.c
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c