diff options
author | 2025-04-03 14:50:45 +0200 | |
---|---|---|
committer | 2025-04-03 16:28:38 +0200 | |
commit | fc1cd60042b3df1d162278461c7a87f0362502b8 (patch) | |
tree | 58aae61aab0315a6cfa84515cee6e010a13bb3d5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | x86/idle: Change arguments of mwait_idle_with_hints() to u32 (diff) | |
download | wireguard-linux-fc1cd60042b3df1d162278461c7a87f0362502b8.tar.xz wireguard-linux-fc1cd60042b3df1d162278461c7a87f0362502b8.zip |
x86/idle: Use MONITOR and MWAIT mnemonics in <asm/mwait.h>
Current minimum required version of binutils is 2.25,
which supports MONITOR and MWAIT instruction mnemonics.
Replace the byte-wise specification of MONITOR and
MWAIT with these proper mnemonics.
No functional change intended.
Note: LLVM assembler is not able to assemble correct forms of MONITOR
and MWAIT instructions with explicit operands and reports:
error: invalid operand for instruction
monitor %rax,%ecx,%edx
^~~~
# https://lore.kernel.org/oe-kbuild-all/202504030802.2lEVBSpN-lkp@intel.com/
Use instruction mnemonics with implicit operands to
work around this issue.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250403125111.429805-1-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions