aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorRajvi Jingar <[email protected]>2023-12-15 17:16:50 -0800
committerIlpo Järvinen <[email protected]>2023-12-18 14:45:32 +0200
commitfbcf67ce5a9e2831c14bdfb895be05213e611724 (patch)
tree529570aab95484506d1aacde0a8aa83ca39e244c /scripts/rustdoc_test_builder.rs
parent66e92e23a72761f5b53f970aeb1badc5fd92fc74 (diff)
platform/x86/intel/pmc: Fix hang in pmc_core_send_ltr_ignore()
For input value 0, PMC stays unassigned which causes crash while trying to access PMC for register read/write. Include LTR index 0 in pmc_index and ltr_index calculation. Fixes: 2bcef4529222 ("platform/x86:intel/pmc: Enable debugfs multiple PMC support") Signed-off-by: Rajvi Jingar <[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 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions