ntb_hw_switchtec: Crosslink doorbells and messages
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 29 Nov 2017 17:55:30 +0000 (10:55 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:23 +0000 (22:17 -0500)
commit270d32e63c70c808a91449da24324e0009827c5f
tree231ff4460926ea111fdcf71d6901e0e97b15bb6b
parent01752501820277d217a7b52548d9c948f98d2c56
ntb_hw_switchtec: Crosslink doorbells and messages

In a crosslink configuration doorbells and messages largely work the
same but the NTB registers must be accessed through the reserved LUT
window. Also, as a bonus, seeing there are now two independent sets of
NTB links, both partitions can actually use all 60 doorbell registers
instead of them having to be split into two for each partition.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c