Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] hpsa: disable doorbell reset on reset_devices

The doorbell reset initially appears to work correctly,
the controller resets, comes up, some i/o can even be
done, but on at least some Smart Arrays in some servers,
it eventually causes a subsequent controller lockup due
to some kind of PCIe error, and kdump can end up leaving
the root filesystem in an unbootable state. For this
reason, until the problem is fixed, or at least isolated
to certain hardware enough to be avoided, the doorbell
reset should not be used at all.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Stephen M. Cameron and committed by
James Bottomley
36ed2176 b15d05b0

+6
+6
drivers/scsi/hpsa.c
··· 3231 3231 misc_fw_support = readl(&cfgtable->misc_fw_support); 3232 3232 use_doorbell = misc_fw_support & MISC_FW_DOORBELL_RESET; 3233 3233 3234 + /* The doorbell reset seems to cause lockups on some Smart 3235 + * Arrays (e.g. P410, P410i, maybe others). Until this is 3236 + * fixed or at least isolated, avoid the doorbell reset. 3237 + */ 3238 + use_doorbell = 0; 3239 + 3234 3240 rc = hpsa_controller_hard_reset(pdev, vaddr, use_doorbell); 3235 3241 if (rc) 3236 3242 goto unmap_cfgtable;