diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2021-03-30 16:21:37 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-05 23:32:43 -0400 |
commit | 3c8604691d2acc7b7d4795d9695070de9eaa5828 (patch) | |
tree | 04f031c1031a1d8f936928bb5f152b1ad6be202d /samples | |
parent | c0629d70ca5570ab75e791e03e6fd11b9c754a6a (diff) |
scsi: mpt3sas: Block PCI config access from userspace during reset
While diag reset is in progress there is short duration where all access to
controller's PCI config space from the host needs to be blocked. This is
due to a hardware limitation of the IOC controllers.
Block all access to controller's config space from userland applications by
calling pci_cfg_access_lock() while diag reset is in progress and unlocking
it again after the controller comes back to ready state.
Link: https://lore.kernel.org/r/20210330105137.20728-1-sreekanth.reddy@broadcom.com
Cc: stable@vger.kernel.org #v5.4.108+
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions