]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: CN20k basic mbox operations and structures
authorSai Krishna <saikrishnag@marvell.com>
Wed, 11 Jun 2025 11:01:52 +0000 (16:31 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 00:37:49 +0000 (17:37 -0700)
commite53ee4acb220acab6832669334279367b0206af6
treef8393033b2d4b26a8db3bf59522a763b089335b4
parent25d51ebf0f54f9c2424f28bb29125cf24f120df0
octeontx2-af: CN20k basic mbox operations and structures

This patch adds basic mbox operation APIs and structures to add support
for mbox module on CN20k silicon. There are few CSR offsets, interrupts
changed between CN20k and prior Octeon series of devices.

Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1749639716-13868-3-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/Makefile
drivers/net/ethernet/marvell/octeontx2/af/cn20k/api.h [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/af/cn20k/mbox_init.c [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/af/cn20k/reg.h [new file with mode: 0644]
drivers/net/ethernet/marvell/octeontx2/af/mbox.c
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h