]> git.baikalelectronics.ru Git - kernel.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)
commitca514a2682b4b698e3a7cb4a00fa6938c030d751
tree88d0cfde50212703deec1a690a15e85bceb493b0
parentd69587f9e251164132c4496041e79276f33c4da0
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