]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Add mailbox IRQ and msg handlers
authorSunil Goutham <sgoutham@marvell.com>
Wed, 10 Oct 2018 12:44:25 +0000 (18:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:06:01 +0000 (10:06 -0700)
commitb426e277ad63d625e94dd4624b78061bf8f75ad3
tree47247e6b9553a6183620aaa33efcdb9f446074dd
parent9b67d31f8870bcc766f1d5c77a4d7e80ead9f11b
octeontx2-af: Add mailbox IRQ and msg handlers

This patch adds support for mailbox interrupt and message
handling. Mapped mailbox region and registered a workqueue
for message handling. Enabled mailbox IRQ of RVU PFs
and registered a interrupt handler. When IRQ is triggered
work is added to the mbox workqueue for msgs to get processed.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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