]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Fix incorrect clearing of interrupt status register
authorHaoyue Xu <xuhaoyue1@hisilicon.com>
Thu, 14 Jul 2022 13:43:51 +0000 (21:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:56 +0000 (11:17 +0200)
commitec281ba1c7d8afcf97b9d43bf6aec2c55c9d7964
tree4e29816d2a2d8c58030b5ebc5a8552459f629ead
parent89e43a7fe975442b9e3c9817491f6243f3315351
RDMA/hns: Fix incorrect clearing of interrupt status register

[ Upstream commit 2f9bfed18a0c5e66a082758e282d64d02b39a951 ]

The driver will clear all the interrupts in the same area
when the driver handles the interrupt of type AEQ overflow.
It should only set the interrupt status bit of type AEQ overflow.

Fixes: c55e5c868a98 ("RDMA/hns: Add eq support of hip08")
Link: https://lore.kernel.org/r/20220714134353.16700-4-liangwenpeng@huawei.com
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c