OSDN Git Service

scsi: lpfc: Fix secure firmware updates
authorDick Kennedy <dick.kennedy@broadcom.com>
Sat, 30 Sep 2017 00:34:42 +0000 (17:34 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 3 Oct 2017 02:46:40 +0000 (22:46 -0400)
commit184fc2b9a8bcbda9c14d0a1e7fbecfc028c7702e
tree57cfe08c032d75ba96dd78d60e77f63ec7983566
parentb7672ae681f8debe125ecc2ec59ba31d886acf5d
scsi: lpfc: Fix secure firmware updates

Firmware update fails with: status x17 add_status x56 on the final write

If multiple DMA buffers are used for the download, some firmware revs
have difficulty with signatures and crcs split across the dma buffer
boundaries.  Resolve by making all writes be a single 4k page in length.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hw4.h