]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJon Mason <jdmason@kudzu.us>
Mon, 11 Feb 2019 12:36:13 +0000 (07:36 -0500)
commit128d35b873861908637b05a5736cf94b7f3ec36c
treefa8a1d7b22ba7238ff38efe19a0b7684a46a83af
parentf9bb4b753eb00c02014e4467a28609f4f6ac7f88
ntb_hw_switchtec: debug print 64bit aligned crosslink BAR Numbers

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: 78da9ec87b7c ("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>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c