Hi,
Guenter reported scsi boot issue caused by commit c3288dd8c232
("scsi: core: avoid pre-allocating big SGL for data").
Turns out there are at least two issues.
The 1st patch fixes issue in case that NO_SG_CHAIN on some ARCHs,
such as alpha, arm and parisc.
The 2nd patch makes esp scsi working with SG_CHAIN.
Ming Lei (2):
scsi: core: don't pre-allocate small SGL in case of NO_SG_CHAIN
scsi: esp: make it working on SG_CHAIN
drivers/scsi/esp_scsi.c | 32 +++++++++++++++++++++++++-------
drivers/scsi/scsi_lib.c | 6 +++++-
2 files changed, 30 insertions(+), 8 deletions(-)
Cc: Christoph Hellwig <[email protected]>
Cc: Bart Van Assche <[email protected]>
Cc: Ewan D. Milne <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Guenter Roeck <[email protected]>
--
2.20.1