]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeon_ep: ensure dbell BADDR updation
authorVimlesh Kumar <vimleshk@marvell.com>
Fri, 6 Feb 2026 11:15:07 +0000 (11:15 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 14:57:59 +0000 (15:57 +0100)
commitce8fe3fc4f99efd872120301c0f72f2e90ab9769
treee9b454dd648d1987fb8e71c1780275f9c69b420c
parent73e6ffa37cebee152c07c5f2b8bc70fd2899ea6e
octeon_ep: 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: 0807dc76f3bf5 ("octeon_ep: support Octeon CN10K devices")
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-3-vimleshk@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeon_ep/octep_cn9k_pf.c
drivers/net/ethernet/marvell/octeon_ep/octep_cnxk_pf.c
drivers/net/ethernet/marvell/octeon_ep/octep_main.h
drivers/net/ethernet/marvell/octeon_ep/octep_rx.c