Re: [PATCH v15 23/25] x86/asm/power: Create stack frames in hibernate_asm_64.S

2015-12-20 Thread Rafael J. Wysocki
On Friday, December 18, 2015 06:39:37 AM Josh Poimboeuf wrote: > swsusp_arch_suspend() and restore_registers() are callable non-leaf > functions which don't honor CONFIG_FRAME_POINTER, which can result in > bad stack traces. Also they aren't annotated as ELF callable functions > which can confuse

[PATCH v15 23/25] x86/asm/power: Create stack frames in hibernate_asm_64.S

2015-12-18 Thread Josh Poimboeuf
swsusp_arch_suspend() and restore_registers() are callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Also they aren't annotated as ELF callable functions which can confuse tooling. Create a stack frame for them when CONFIG_FRAME_POINTER is en