aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2015-01-26 09:32:22 +0200
committerPaolo Bonzini <[email protected]>2015-01-26 12:14:25 +0100
commit16794aaaab66fa74ab19588a8e255a460e8b3ace (patch)
tree35466fbdb5fac67987570583ae9b95ce19658e8b /tools/perf/scripts/python/bin/stackcollapse-report
parent2fcf5c8ae244b4c298d2111a288d410a719ac626 (diff)
KVM: x86: Wrong operand size for far ret
Indeed, Intel SDM specifically states that for the RET instruction "In 64-bit mode, the default operation size of this instruction is the stack-address size, i.e. 64 bits." However, experiments show this is not the case. Here is for example objdump of small 64-bit asm: 4004f1: ca 14 00 lret $0x14 4004f4: 48 cb lretq 4004f6: 48 ca 14 00 lretq $0x14 Therefore, remove the Stack flag from far-ret instructions. Signed-off-by: Nadav Amit <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions