]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/hfi1: Add parsing for platform configuration format version 4
authorJakub Byczkowski <jakub.byczkowski@intel.com>
Mon, 2 Oct 2017 18:04:03 +0000 (11:04 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 4 Oct 2017 19:39:44 +0000 (15:39 -0400)
commit9773afb97fc30d22db14a425fea519f4a658dc4e
treec2cb4da1245279027b5e8cf0f9c38c63b9b19f6b
parent40837273d084ad1584dbaea5e8fbefe0a64f2a6b
IB/hfi1: Add parsing for platform configuration format version 4

Platform configuration format version 4, that didn't use the file
size field, is not parsed by the host driver. Only version 5 is
supported. Add logic in parsing procedure to determine what format
is being used and allow to read data from version 4 files.

Reviewed-by: Jan Sokolowski <jan.sokolowski@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Andrzej Kacprowski <andrzej.kacprowski@intel.com>
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/firmware.c