diff options
| author | Jiri Slaby <[email protected]> | 2019-09-06 07:55:49 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2019-09-06 08:34:15 +0000 |
| commit | 559ceeed62a5121783a8955c63aeb18aaa0ef224 (patch) | |
| tree | bcb93c9ad32ff3c9ee49ac50c80236d915f58b69 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | x86/math64: Provide a sane mul_u64_u32_div() implementation for x86_64 (diff) | |
| download | kernel-559ceeed62a5121783a8955c63aeb18aaa0ef224.tar.gz kernel-559ceeed62a5121783a8955c63aeb18aaa0ef224.zip | |
x86/asm/suspend: Get rid of bogus_64_magic
bogus_64_magic is only a dead-end loop. There is no need for an
out-of-order function (and unannotated local label), so just handle it
in-place and also store 0xbad-m-a-g-i-c to %rcx beforehand, in case
someone is inspecting registers.
Here a qemu+gdb example:
Remote debugging using localhost:1235
wakeup_long64 () at arch/x86/kernel/acpi/wakeup_64.S:26
26 jmp 1b
(gdb) info registers
rax 0x123456789abcdef0 1311768467463790320
rbx 0x0 0
rcx 0xbad6d61676963 3286910041024867
^^^^^^^^^^^^^^^
[ bp: Add the gdb example. ]
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Len Brown <[email protected]>
Cc: [email protected]
Cc: Pavel Machek <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
