NTB: add support for hotplug feature
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 18 Nov 2016 09:21:41 +0000 (14:51 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 23 Dec 2016 21:09:15 +0000 (16:09 -0500)
commite5b0d2d1ba92a8e424e7395537a96e8a373d0267
treee75e4a9bb67c9310f0314f0eaf697d31e19567e6
parent783dfa6cc41b710b8b0c1979c6100417d0d6c3b2
NTB: add support for hotplug feature

AMD NTB support hotplug under B2B mode. NTB will trigger link
up/down interrupt event when doing plug add/remove, this patch
implements the two interrupt event to support B2B hotplug function.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h