alistair23-linux/drivers/ntb/hw
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
..
amd ntb_hw_amd: Style fixes: open code macros that just obfuscate code 2017-07-06 11:30:07 -04:00
idt NTB: Add IDT 89HPESxNTx PCIe-switches support 2017-07-06 11:30:07 -04:00
intel ntb_hw_intel: Style fixes: open code macros that just obfuscate code 2017-07-06 11:30:07 -04:00
mscc NTB: switchtec_ntb: Implement doorbell registers 2017-11-18 20:37:12 -05:00
Kconfig NTB: switchtec_ntb: Introduce initial NTB driver 2017-11-18 20:37:12 -05:00
Makefile NTB: switchtec_ntb: Introduce initial NTB driver 2017-11-18 20:37:12 -05:00