linux/drivers/ntb
Logan Gunthorpe 6619bf9549 NTB: switchtec_ntb: Implement doorbell registers
Pretty straightforward implementation of doorbell registers.
The shift and mask were setup in an earlier patch and this just hooks
up the appropriate portion of the IDB register as the local doorbells
and the opposite portion of ODB as the peer doorbells. The DB mask is
protected by a spinlock to avoid concurrent read-modify-write accesses.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Kurt Schwemmer <kurt.schwemmer@microsemi.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2017-11-18 20:37:12 -05:00
..
hw NTB: switchtec_ntb: Implement doorbell registers 2017-11-18 20:37:12 -05:00
test NTB: Ensure ntb_mw_get_align() is only called when the link is up 2017-11-18 20:37:11 -05:00
Kconfig NTB: Add ping pong test client 2015-07-04 14:07:42 -04:00
Makefile NTB: Add ping pong test client 2015-07-04 14:07:42 -04:00
ntb_transport.c NTB: Ensure ntb_mw_get_align() is only called when the link is up 2017-11-18 20:37:11 -05:00
ntb.c NTB: Add Messaging NTB API 2017-07-06 11:30:07 -04:00