alistair23-linux/drivers/ntb/hw
Joey Zhang 28e339f100 ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function
When a re-initialization is caused by a link event, the driver will
re-setup the shared memory window. But at that time, the shared memory
is still valid, and it's unnecessary to free, reallocate and then
initialize it again. We only need to reconfigure the hardware
registers. Remove the redundant steps from
switchtec_ntb_reinit_peer() function.

Signed-off-by: Joey Zhang <joey.zhang@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>
2019-06-13 08:59:25 -04:00
..
amd NTB: amd: Silence shift wrapping warning in amd_ntb_db_vector_mask() 2019-06-13 08:59:18 -04:00
idt drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
intel ntb: intel: Make intel_ntb3_peer_db_addr static 2019-06-13 08:53:19 -04:00
mscc ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function 2019-06-13 08:59:25 -04: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