Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1708765

[PATCH 12/19] scsi: hisi_sas: fix v3 hw channel interrupt processing

From John Garry <john.garry@huawei.com>
Newsgroups linux.kernel
Subject [PATCH 12/19] scsi: hisi_sas: fix v3 hw channel interrupt processing
Date 2017-08-10 17:50 +0200
Message-ID <ucXSH-7AZ-55@gated-at.bofh.it> (permalink)
References <ucXSF-7AZ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Xiang Chen <chenxiang66@hisilicon.com>

The channel interrupt is to process all the interrupts
except PHY UP/DOWN and broadcast interrupt. So we need to
clear all the interrupts except those 3 interrupts after
processing channel interrupts.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
---
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
index bb79b776..a8bd557 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
@@ -1260,7 +1260,7 @@ static irqreturn_t int_chnl_int_v3_hw(int irq_no, void *p)
 		if (irq_msk & (2 << (phy_no * 4)) && irq_value0) {
 			hisi_sas_phy_write32(hisi_hba, phy_no,
 					CHL_INT0, irq_value0
-					& (~CHL_INT0_HOTPLUG_TOUT_MSK)
+					& (~CHL_INT0_SL_RX_BCST_ACK_MSK)
 					& (~CHL_INT0_SL_PHY_ENABLE_MSK)
 					& (~CHL_INT0_NOT_RDY_MSK));
 		}
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/19] hisi_sas: misc fixes, improvements, and new features John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 06/19] scsi: hisi_sas: remove repeated device config in v2 hw John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 03/19] scsi: hisi_sas: fix v2 hw underflow residual value John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 12/19] scsi: hisi_sas: fix v3 hw channel interrupt processing John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 17/19] scsi: hisi_sas: remove phy_down_v3_hw() res variable John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 09/19] scsi: hisi_sas: support zone management commands John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 05/19] scsi: hisi_sas: use array for v2 hw ECC errors John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 19/19] scsi: hisi_sas: remove driver versioning John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 15/19] scsi: hisi_sas: add reset handler for v3 hw John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200
  [PATCH 01/19] scsi: hisi_sas: fix reset and port ID refresh issues John Garry <john.garry@huawei.com> - 2017-08-10 18:00 +0200
  Re: [PATCH 00/19] hisi_sas: misc fixes, improvements, and new features "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-08-11 02:20 +0200

csiph-web