From patchwork Wed Aug 16 12:13:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 9903577 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDB3C600CA for ; Wed, 16 Aug 2017 12:15:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9240289DA for ; Wed, 16 Aug 2017 12:15:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD66B289DF; Wed, 16 Aug 2017 12:15:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1A1AB289DA for ; Wed, 16 Aug 2017 12:15:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhxCI-0003pz-K9; Wed, 16 Aug 2017 12:13:18 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhxCH-0003pt-3t for xen-devel@lists.xenproject.org; Wed, 16 Aug 2017 12:13:17 +0000 Received: from [85.158.139.211] by server-16.bemta-5.messagelabs.com id BE/E4-01712-CD634995; Wed, 16 Aug 2017 12:13:16 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJIsWRWlGSWpSXmKPExsXS6fjDS/eW2ZR Ig5P7tS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxfi1exFkwVqli9dSt7A+M0/i5GTg4hgTyJ tj1r2UFsXgE7iRdnToDZEgKGEqcX3mQBsVkEVCXONfWAxdkE1CXanm1n7WLk4BARMJA4dzQJx GQW0JfYtg6sWlhAT2L6/D2MENPtJLY0fmICKeEVEJT4u0MYJMwsoCXx8NctFghbW2LZwtfMEF OkJZb/45jAyDsLoWEWkoZZSBpmITQsYGRZxahRnFpUllqka2Sol1SUmZ5RkpuYmaNraGCql5t aXJyYnpqTmFSsl5yfu4kRGGD1DAyMOxjvTvY7xCjJwaQkyhukNSVSiC8pP6UyI7E4I76oNCe1 +BCjDAeHkgTvOVOgnGBRanpqRVpmDjDUYdISHDxKIrwZIGne4oLE3OLMdIjUKUZjjgU9G74wc bya8P8bkxBLXn5eqpQ470mQUgGQ0ozSPLhBsBi8xCgrJczLyMDAIMRTkFqUm1mCKv+KUZyDUU mYtwhkCk9mXgncvldApzABnXKlfRLIKSWJCCmpBkauDVWzegOlrrj/ma2htFSY/ezcF/HqM+z /LVvA27qI09Ngt6v9SbZrbDzq/+YqHHIRPzP9s3FmfJgkO8vRCazNHXO+Z96/+m1uc9L6GoVU uZ4CA+Pnk/K9+WZ+3xX7pyF7T0cO85syxSUXOEKnP77x6O9L0T1RoYFvS10kXTbzPoy1vPp2h bISS3FGoqEWc1FxIgBfsnmzvAIAAA== X-Env-Sender: JBeulich@suse.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1502885592!93496517!1 X-Originating-IP: [137.65.248.74] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 38800 invoked from network); 16 Aug 2017 12:13:14 -0000 Received: from prv-mh.provo.novell.com (HELO prv-mh.provo.novell.com) (137.65.248.74) by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 16 Aug 2017 12:13:14 -0000 Received: from INET-PRV-MTA by prv-mh.provo.novell.com with Novell_GroupWise; Wed, 16 Aug 2017 06:13:12 -0600 Message-Id: <599452F6020000780017046E@prv-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.2.2 Date: Wed, 16 Aug 2017 06:13:10 -0600 From: "Jan Beulich" To: "xen-devel" References: <599452F6020000780017046E@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Disposition: inline Cc: Andrew Cooper Subject: [Xen-devel] [PATCH] x86/asm: add .file directives X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Make sure local symbols are correctly associated with their source files: I've just run across a cpufreq.c#create_bounce_frame stack trace entry. Since we have multiple entry.S, don't use __FILE__ there to fully disambiguate things. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- a/xen/arch/x86/acpi/wakeup_prot.S +++ b/xen/arch/x86/acpi/wakeup_prot.S @@ -1,3 +1,4 @@ + .file __FILE__ .text #include --- a/xen/arch/x86/clear_page.S +++ b/xen/arch/x86/clear_page.S @@ -1,3 +1,5 @@ + .file __FILE__ + #include #define ptr_reg %rdi --- a/xen/arch/x86/copy_page.S +++ b/xen/arch/x86/copy_page.S @@ -1,3 +1,5 @@ + .file __FILE__ + #include #define src_reg %rsi --- a/xen/arch/x86/hvm/svm/entry.S +++ b/xen/arch/x86/hvm/svm/entry.S @@ -17,6 +17,8 @@ * this program; If not, see . */ + .file "svm/entry.S" + #include #include #include --- a/xen/arch/x86/hvm/vmx/entry.S +++ b/xen/arch/x86/hvm/vmx/entry.S @@ -16,6 +16,8 @@ * this program; If not, see . */ + .file "vmx/entry.S" + #include #include #include --- a/xen/arch/x86/pv/gpr_switch.S +++ b/xen/arch/x86/pv/gpr_switch.S @@ -5,6 +5,8 @@ * Copyright (c) 2006, Novell, Inc. */ + .file __FILE__ + #include ENTRY(host_to_guest_gpr_switch) --- a/xen/arch/x86/x86_64/compat/entry.S +++ b/xen/arch/x86/x86_64/compat/entry.S @@ -2,6 +2,8 @@ * Compatibility hypercall routines. */ + .file "x86_64/compat/entry.S" + #include #include #include --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -4,6 +4,8 @@ * Copyright (c) 2005, K A Fraser */ + .file "x86_64/entry.S" + #include #include #include --- a/xen/arch/x86/x86_64/kexec_reloc.S +++ b/xen/arch/x86/x86_64/kexec_reloc.S @@ -10,6 +10,9 @@ * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ + + .file __FILE__ + #include #include