From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933201AbbHITOZ (ORCPT ); Sun, 9 Aug 2015 15:14:25 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40770 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933165AbbHITOV (ORCPT ); Sun, 9 Aug 2015 15:14:21 -0400 Date: Sun, 9 Aug 2015 21:14:18 +0200 From: Pavel Machek To: Josh Poimboeuf Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Michal Marek , Peter Zijlstra , Andy Lutomirski , Borislav Petkov , Linus Torvalds , Andi Kleen , Pedro Alves , Namhyung Kim , Bernd Petrovitsch , x86@kernel.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" Subject: Re: [PATCH v9 20/20] x86/asm/power: Create stack frames in hibernate_asm_64.S Message-ID: <20150809191418.GA26785@amd> References: <851bb2a8da6225a9392a1a0b7b69745b89d21384.1438963009.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <851bb2a8da6225a9392a1a0b7b69745b89d21384.1438963009.git.jpoimboe@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2015-08-07 11:50:29, 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 tooling. > > Create a stack frame for them when CONFIG_FRAME_POINTER is enabled and > give them proper ELF function annotations. > > Signed-off-by: Josh Poimboeuf > Cc: "Rafael J. Wysocki" 17,20: Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html