summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2023-04-19 17:39:44 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-27 20:37:36 +0300
commit00433eae1771d355f20c152ddc5976baedb427e2 (patch)
tree899f414afc50a8f3051a18fdeae54a6052019029 /scripts/generate_rust_analyzer.py
parent1abffbd827668b3b44c34b168ccb5ee2866714a8 (diff)
downloadlinux-00433eae1771d355f20c152ddc5976baedb427e2.tar.xz
intel_idle: improve C-state flags handling robustness
The following C-state flags are currently mutually-exclusive and should not be combined: * IRQ_ENABLE * IBRS * XSTATE There is a warning for the situation when the IRQ_ENABLE flag is combined with the IBRS flag, but no warnings for other combinations. This is inconsistent and prone to errors. Improve the situation by adding warnings for all the unexpected combinations. Add a couple of helpful commentaries too. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Reviewed-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions