mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-04 12:54:37 +08:00
021e2e53b8
This patch adds mailbox support infrastructure APIs. Each RVU device has a dedicated 64KB mailbox region shared with it's peer for communication. RVU AF has a separate mailbox region shared with each of RVU PFs and a RVU PF has a separate region shared with each of it's VF. These set of APIs are used by this driver (RVU AF) and other RVU PF/VF drivers eg netdev, crypto e.t.c. Signed-off-by: Aleksey Makarov <amakarov@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
499 B
Plaintext
18 lines
499 B
Plaintext
#
|
|
# Marvell OcteonTX2 drivers configuration
|
|
#
|
|
|
|
config OCTEONTX2_MBOX
|
|
tristate
|
|
|
|
config OCTEONTX2_AF
|
|
tristate "Marvell OcteonTX2 RVU Admin Function driver"
|
|
select OCTEONTX2_MBOX
|
|
depends on (64BIT && COMPILE_TEST) || ARM64
|
|
depends on PCI
|
|
help
|
|
This driver supports Marvell's OcteonTX2 Resource Virtualization
|
|
Unit's admin function manager which manages all RVU HW resources
|
|
and provides a medium to other PF/VFs to configure HW. Should be
|
|
enabled for other RVU device drivers to work.
|