diff options
| author | Srinivas Pandruvada <[email protected]> | 2023-10-03 09:32:33 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2023-10-04 11:10:29 +0300 |
| commit | 7525cea3ef9384054a30f25ebb501234befecdcb (patch) | |
| tree | 7d1d226426c54d0c7b0febbb2548a0b697b4f482 /tools/perf/scripts/python/flamegraph.py | |
| parent | a22d36eb5b150913325640cb793e13e08d1bd715 (diff) | |
platform/x86: intel_speed_select_if: Remove hardcoded map size
The driver is using 256 as the size while calling devm_ioremap(). The
maximum offset can be obtained from isst_mmio_range. Add a field "size"
to the isst_mmio_range and use it instead of hardcoding.
No functional impact is expected.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions