summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-05-06 10:00:00 -0400
committerLen Brown <len.brown@intel.com>2026-10-27 13:15:41 -0400
commit481006fbcb22ba1f134283c017aa3ae8a67e0d59 (patch)
tree8d4d16f5b9c77ce2fe441f72c899b38671d5f9dd /tools/lib/python/kdoc/parse_data_structs.py
parentc03c1a14507dfaf8b856c2608f9ac216021fc222 (diff)
x86_energy_perf_policy: Rewrite Linux/Android MSR path discovery
First check that the Linux MSR driver path exists, modprobe if no. If still no, then check that the Android MSR driver path exists. Read or Write permissions are handled at run-time in the get_msr()/put_msr() error paths. Create set_msr_path() helper. Return -1 for all fatal errors. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions