diff options
author | Sebastian Sanchez <[email protected]> | 2017-02-08 05:26:55 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-02-19 09:18:37 -0500 |
commit | c03c08d50b3d44cd331319b4b2882315413ee281 (patch) | |
tree | 1c866c3a69a72c1c0e6e65c4761b5abb1afc4c86 /tools/perf/util/trace-event-scripting.c | |
parent | 76327627be1d9bd6a360b645ac7675c02a39096f (diff) |
IB/hfi1: Check upper-case EFI variables
The EFI variable that provides board ID is named
by the PCI address of the device, which is published
in upper-case, while the HFI1 driver reads the EFI
variable in lower-case.
This prevents returning the correct board id when
queried through sysfs. Read EFI variables in
upper-case if the lower-case read fails.
Reviewed-by: Easwar Hariharan <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions