OSDN Git Service

ntb_hw_switchtec: Skip unnecessary re-setup of shared memory window for crosslink...
authorWesley Sheng <wesley.sheng@microchip.com>
Thu, 6 Jun 2019 07:09:43 +0000 (15:09 +0800)
committerJon Mason <jdmason@kudzu.us>
Thu, 13 Jun 2019 12:59:28 +0000 (08:59 -0400)
commitf0f43e766bdb314b3816ac891fb18cea5de4123d
tree02cc455e30d399117a3cf80e08b1244362cbabb8
parent28e339f100e34608a8f40c5ec6a6f8ef7b826028
ntb_hw_switchtec: Skip unnecessary re-setup of shared memory window for crosslink case

In case of NTB crosslink topology, the setting of shared memory window in
the virtual partition doesn't reset on peer's reboot. So skip the
unnecessary re-setup of shared memory window for that case.

Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c