]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: hisi_sas: update RAS feature for later revision of v3 HW
authorXiaofei Tan <tanxiaofei@huawei.com>
Fri, 23 Mar 2018 16:05:09 +0000 (00:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:51 +0000 (19:32 -0400)
commit61573630918bf29a1974e08ef5d4b8889fb9dd7f
tree88d0cfde50212703deec1a690a15e85bceb493b0
parent8b8d66531555006a18d1532546dadbea8d16df95
scsi: hisi_sas: update RAS feature for later revision of v3 HW

There is an modification for later revision of v3 hw. More HW errors are
reported through RAS interrupt. These errors were originally reported
only through MSI.

When report to RAS, some combinations are done to port AXI errors and
FIFO OMIT errors. For example, each port has 4 AXI errors, and they are
combined to one when report to RAS.

This patch does two things:

1. Enable RAS interrupt of these errors and handle them in PCI
   error handlers.

2. Disable MSI interrupts of these errors for this later revision hw.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c