diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-09-24 15:27:03 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-10-14 13:43:11 +0200 |
| commit | 044f721ccd33103349eebbb960825584bc6d8e23 (patch) | |
| tree | 3e9c6be0aa5d332a7e50798611fafdd60b7a7a1e /kernel/livepatch | |
| parent | objtool/x86: Add UDB support (diff) | |
| download | linux-044f721ccd33103349eebbb960825584bc6d8e23.tar.gz linux-044f721ccd33103349eebbb960825584bc6d8e23.zip | |
objtool/x86: Fix NOP decode
For x86_64 the kernel consistently uses 2 instructions for all NOPs:
90 - NOP
0f 1f /0 - NOPL
Notably:
- REP NOP is PAUSE, not a NOP instruction.
- 0f {0c...0f} is reserved space,
except for 0f 0d /1, which is PREFETCHW, not a NOP.
- 0f {19,1c...1f} is reserved space,
except for 0f 1f /0, which is NOPL.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions
