OSDN Git Service

scsi: aacraid: Insure we don't access PCIe space during AER/EEH
authorDave Carroll <david.carroll@microsemi.com>
Fri, 22 Mar 2019 18:16:03 +0000 (12:16 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2019 07:20:20 +0000 (09:20 +0200)
commita2b302e4f2fb40bdcda3c7c70dae9a27974dbd49
tree30a9dc7af0c8f1e8c0c0aa246e16ec0da67eab7a
parent2c8c8ef8d3b433a6cf1207c4be2058c973ba9b05
scsi: aacraid: Insure we don't access PCIe space during AER/EEH

[ Upstream commit b6554cfe09e1f610aed7d57164ab7760be57acd9 ]

There are a few windows during AER/EEH when we can access PCIe I/O mapped
registers. This will harden the access to insure we do not allow PCIe
access during errors

Signed-off-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Sagar Biradar <sagar.biradar@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/commsup.c