ntb_hw_switchtec: debug print 64bit aligned crosslink BAR Numbers
authorPaul Selles <paul.selles@microchip.com>
Thu, 6 Dec 2018 13:30:50 +0000 (21:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:22 +0000 (14:50 +0100)
commit10efc08b05e494aa1511210b25e355b2910daf95
tree74790a6e40d311c96fb3595a913c6d0917cfc81b
parenta4bf79da352f8bf0a4999d241b7ebf4c5316334f
ntb_hw_switchtec: debug print 64bit aligned crosslink BAR Numbers

[ Upstream commit cce8e04cf79e47809455215744685e8eb56f94bb ]

Switchtec NTB crosslink BARs are 64bit addressed but they are printed as
32bit addressed BARs. Fix debug log to increment the BAR numbers by 2 to
reflect the 64bit address alignment.

Fixes: 017525018202 ("ntb_hw_switchtec: Add initialization code for crosslink")
Signed-off-by: Paul Selles <paul.selles@microchip.com>
Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c