Re: [PATCH v2 07/13] mpt3sas: Handle NVMe PCIe device related events generated from firmware.
From: Hannes Reinecke
Date: Thu Aug 03 2017 - 02:38:14 EST
On 07/14/2017 03:22 PM, Suganath Prabu S wrote:
> * The controller firmware sends separate events for NVMe devices and
> PCIe switches similar to existing SAS events.
> * NVMe device detection, addition and removal are reported by the
> firmware through PCIe Topology Change list events.
> * The PCIe device state change events are sent when the firmware
> detects any abnormal conditions with a NVMe device or switch.
> * The enumeration event are sent when the firmware starts PCIe device
> enumeration and stops.
> * This patch has the code change to handle the events and add/remove
> NVMe devices in driver's inventory.
> Signed-off-by: Chaitra P B <chaitra.basappa@xxxxxxxxxxxx>
> Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@xxxxxxxxxxxx>
> drivers/scsi/mpt3sas/mpt3sas_base.c | 30 ++-
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 471 +++++++++++++++++++++++++++++++++-
> 2 files changed, 495 insertions(+), 6 deletions(-)
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 NÃrnberg
GF: F. ImendÃrffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG NÃrnberg)