2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/infiniband/hw
Wei Hu (Xavier) 97f0e39fa5 IB/hns: Fix bug of clear hem
In hip06, there's no interface to release hem memory. So, hardware can't
identify whether hem memory released or not.
If all context in a hem memory released, the related hem memory will be
released by driver and reused by others. But, hardware don't know that
this memory can't be used already.

In order to fix this bug, hns roce driver reserved 128K memory for each
type of hem(QPC/CQC/MTPT). While unmap hem memory, hns roce driver will
write base address of reserved memory according to hem type.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Dongdong Huang(Donald) <hdd.huang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-10-03 11:43:15 -04:00
..
cxgb3 Merge branches 'cxgb4' and 'mlx5' into k.o/for-4.8 2016-08-03 20:58:45 -04:00
cxgb4 Merge branches 'cxgb4' and 'mlx5' into k.o/for-4.8 2016-08-03 20:58:45 -04:00
hfi1 Second round of merge items for 4.8 2016-08-04 20:26:31 -04:00
hns IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
i40iw Round one of 4.8 code 2016-08-04 20:10:31 -04:00
mlx4 Round one of 4.8 code 2016-08-04 20:10:31 -04:00
mlx5 Round one of 4.8 code 2016-08-04 20:10:31 -04:00
mthca Merge branches 'misc' and 'rxe' into k.o/for-4.8-1 2016-08-04 11:13:47 -04:00
nes IB/nes: Support device FW version string 2016-06-23 12:08:34 -04:00
ocrdma IB/ocrdma: Support device FW version string 2016-06-23 12:08:34 -04:00
qib IB/qib, IB/hfi1: Fix grh creation in ud loopback 2016-08-02 16:00:58 -04:00
usnic IB/usnic: Support device FW version string 2016-06-23 12:08:34 -04:00
Makefile IB/hns: Kconfig and Makefile for RoCE module 2016-08-22 14:02:33 -04:00