mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 05:06:43 +07:00
IB/hfi1: Allow meta version 4 for platform configuration
Parsing of platform configuration format 4 will fail on meta version check. Allow meta version 4 during parsing. Reviewed-by: Jan Sokolowski <jan.sokolowski@intel.com> Reviewed-by: Ira Weiny <ira.weiny@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>
This commit is contained in:
parent
242b494bf2
commit
621515da67
@ -1733,7 +1733,7 @@ static int check_meta_version(struct hfi1_devdata *dd, u32 *system_table)
|
||||
ver_start /= 8;
|
||||
meta_ver = *((u8 *)system_table + ver_start) & ((1 << ver_len) - 1);
|
||||
|
||||
if (meta_ver < 5) {
|
||||
if (meta_ver < 4) {
|
||||
dd_dev_info(
|
||||
dd, "%s:Please update platform config\n", __func__);
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user