Intel: NTB: add new parameter to peer_db_addr() db_bit and db_data
mainline inclusion from mainline-v5.1-rc1 commit ebb09b33 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V CVE: NA -------------------------------- commit ebb09b33 upstream. Backport summary: Backport to kernel 4.19.57 for 4th Gen Intel NTB support NTB door bell usage depends on NTB hardware. ex: intel NTB gen1 has one peer door bell register which can be controlled by the bitmap writen to it, while Intel NTB gen3 has a registers per door bell and the data trigering the each door bell is always 1. therefore exposing only peer door bell address forcing the user to be aware of such low level details Signed-off-by: NLeonid Ravich <Leonid.Ravich@emc.com> Acked-by: NLogan Gunthorpe <logang@deltatee.com> Acked-by: NDave Jiang <dave.jiang@intel.com> Acked-by: NAllen Hubbe <allenbh@gmail.com> Signed-off-by: NJon Mason <jdmason@kudzu.us> Signed-off-by: NZheng Wu <wu.zheng@intel.com> Signed-off-by: NJackie Liu <liuyun01@kylinos.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录