Received: by 10.213.65.68 with SMTP id h4csp712586imn; Fri, 6 Apr 2018 07:41:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Xr+pZljienkTZg/ruJ8KvhwSUVPMXTJJg7yflgNJIKlTbzK7X5VXduZOZw58od3+N5Gsg X-Received: by 10.101.83.199 with SMTP id z7mr13338521pgr.165.1523025705549; Fri, 06 Apr 2018 07:41:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523025705; cv=none; d=google.com; s=arc-20160816; b=LWnQ6DlFfsaj+Aes2UCtKgIFPBbUA7pZFR9x4mmOtPUJxmzAc3anNwSxzah7ZAuSpd EuIT0pK4v3pukFavKyPOKT78/qSIa7uKfX4C9u4CY984qk+ZDRe21ayfOBZ1Bpy6VKUP M4drEoZlJcJHw4XVzkCD4xwBtGHA4LFX0BuA2UVQqPNfpJUvr7nkPFhZ+thvSOnS7+Ap yfNgZzwUFKRASejkxu7N+m1cCCDupbdRSVWyRRqtNa1dFaafDlhyLB7wv2jkVa++J3sS RltAh+rn9chLldNmsb3/cMZiaCA/Mx4IXjjknMBfeTyEO/iaLfIx1CWah1X3VjY0bFiV n++g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=6qf73QjkHVxbTglx9eJBZGJCS/RvYtyBv9ugDhcrd90=; b=SlJYRJZ9g2B+L9jsJ7pH2/Bg7JpMuzUXkJQOB8C4UtAVZuWaMjvYM5WcLjo1ngZgPX fRKsLKAME3Oq3Zs0oirHJky0q+ynqvJMkUywTvfcXbkGIV8aDloMgsv1ZsS2qpXfVjrm 9IxUGamGx5CCWmM4Mhzc8v1JnSWjqFzybG1ymNwTXuSJtxmTTqAZs/NsY+T/dMGUJSzh svvOSD8cqY4r6Bilr9VONGuOnaJKvvKeyS/LdWfcvsoR5V3noYG7ybCC0vEUeyexmrW/ hox0+rRdm1GWPwDHcps8um6HN3j6t2s4cqzS65TeOxKUdfHqy17GlHngrE1Rw8U5JYWc /q4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=eIOGzjvf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4si7010141pgq.808.2018.04.06.07.41.31; Fri, 06 Apr 2018 07:41:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=eIOGzjvf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756064AbeDFOk3 (ORCPT + 99 others); Fri, 6 Apr 2018 10:40:29 -0400 Received: from mail-he1eur01on0101.outbound.protection.outlook.com ([104.47.0.101]:24654 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756017AbeDFOkY (ORCPT ); Fri, 6 Apr 2018 10:40:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6qf73QjkHVxbTglx9eJBZGJCS/RvYtyBv9ugDhcrd90=; b=eIOGzjvfocw7XugIbS2/QGm/Uxv71ejc0owTvjyCA3ypGELa4fJCEWZ7MgyuygMHP9+1CtQz0SMV4qH39GXegyuYbc67byPm5YHoAmWPU0J/sB93XVnPIJi9YWRP21i/Q4J9Bo9Hlo4XMy7NQjvvZBGZSgMMEllcg3hvoiP8lBE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=alexander.sverdlin@nokia.com; Received: from ulegcpsvdell.emea.nsn-net.net (131.228.2.20) by HE1PR0701MB2473.eurprd07.prod.outlook.com (2603:10a6:3:71::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.4; Fri, 6 Apr 2018 14:40:18 +0000 From: Alexander Sverdlin To: linux-arm-kernel@lists.infradead.org Cc: Alexander Sverdlin , linux-kernel@vger.kernel.org, Russell King , Steven Rostedt , Ingo Molnar , Ard Biesheuvel Subject: [PATCH v5 2/3] ARM: ftrace/recordmcount: filter relocation types Date: Fri, 6 Apr 2018 16:39:38 +0200 Message-Id: <20180406143939.14642-3-alexander.sverdlin@nokia.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20180406143939.14642-1-alexander.sverdlin@nokia.com> References: <20180406143939.14642-1-alexander.sverdlin@nokia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [131.228.2.20] X-ClientProxiedBy: MAXPR0101CA0018.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::28) To HE1PR0701MB2473.eurprd07.prod.outlook.com (2603:10a6:3:71::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ee17ace9-1ada-4c7a-4549-08d59bcc5358 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:HE1PR0701MB2473; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB2473;3:aM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fIDFIh14KQW5tvO4Swf5BVvu8/44mlnUkK4DS+kt09YHqggjeeUjngJU/YQpO3uuiNDu6MSYWyioKZK8oUYwD1YZALAK+V5XBWrBClEGH4SyqCgyFSyHldWiqnxBxBKRw/zxsvA0DY9CEWGcFdfgYr8gj88ZcIdjIItPzpAVSGyleKsjneOBacNwtSGb4w1ieJNclnuMm3zGk4eGG6bVGv0mYQnSYLNAIEL5sNNRWNwPpK/AUoucLyRx/sN9e9eZMrJCEio/zKE1Z+HpoAYOPIoM8Z2uxcA/IuxlaCAqz5VQjsOGv63Kyl4w4dYdEbQSW0Y3QIU+ZzcvQvRtHkEma8KwwapNyTHbCA34TI9uGvo5t/Z2yBoGK5bIZF6zIJxvIoExvcB1g/AVwJJ+fzOJe0b0qgY+P+tXrpCZCWxLULOiwdziNJiu7XI4JtpkWzAv53g6AOnF0qYMjokoD5PQTOId4=;4:EOAPGoyyI1whl709H6edmV4NsT2OnyDcv+CpwqSWE5uNAVIXk+oiMsomV2GGCnN+cmtd5Fl0SnUPO5wJUu5tSfqHoHSMRo3LqtfPPnbDWr+Mv8jS12oqxQ7NiJWbeIqOKMLBOs0AhAbR6CkmJ8AfT3W+9S7fCdo0dh2kyfeq5Yp3Eg0674QYTU//tdWZF+bIrX2pgHo00Hrvy+urNhCQ3mc9g5/+wBBlfsS1gqzDof3mLGN55ts47FboMhSM/404cdxAmIWYVLDnQ8WQcm4Tk9TZSTFkOUuQGerN22odddRGG50VdoUH+ZuNwIinpH7n X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(82608151540597); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231221)(11241501184)(806099)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:HE1PR0701MB2473;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0701MB2473; X-Forefront-PRVS: 0634F37BFF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(366004)(346002)(376002)(39380400002)(189003)(199004)(25786009)(446003)(4326008)(11346002)(956004)(97736004)(2616005)(476003)(26005)(186003)(16526019)(6666003)(47776003)(6916009)(2361001)(66066001)(7736002)(305945005)(5660300001)(486006)(8936002)(50226002)(81166006)(53936002)(3846002)(6116002)(8676002)(81156014)(106356001)(6512007)(6306002)(105586002)(16586007)(316002)(6486002)(52116002)(51416003)(76176011)(2906002)(36756003)(966005)(68736007)(1076002)(86362001)(54906003)(2351001)(48376002)(6506007)(50466002)(386003)(478600001)(59450400001);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0701MB2473;H:ulegcpsvdell.emea.nsn-net.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HE1PR0701MB2473;23:SE2bNFRO27WXWYrjWVxIlC3Gpe38ElSVnuuy3JN?= =?us-ascii?Q?XCxFUXsLQMB82pNcxTWA1O6tywRUAjB7swO7vTnlvkyRFXLh2IKoIwiUm+wL?= =?us-ascii?Q?S5o4BMVVy80lF0cX7d2mo5hoVdv7PvHa8At6KL8EVcQgYESFPo6nTiiMexDA?= =?us-ascii?Q?kBOpCBVpeaxDG9alYItatzZQdPNYdDkFdiTM9TpnluB4pMzbzeVnNPASlVAr?= =?us-ascii?Q?UtX4POKUxmLVY0D3Qc8D2IliVg/MtNvvMNaXRhU2AUIQbMgrno2tclRxxjTI?= =?us-ascii?Q?2tfCrlCEP5xtPh2OnC0OA1oEKjgzGN1OTDP3AfP2a16WW3m9czKb7YrGKNFZ?= =?us-ascii?Q?/0kXFCfqit8ntqbj4fHVj/BGL2nI3U28WZiEuVbesiEGtwivYkxAdcktvNJY?= =?us-ascii?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RTTCe+421lrJ3cuNmy8fYA2+ILwsnScSQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB2473;7:P9/Pw4uBBAD3M1K/F0Cq2b7R0DRE56IoS5Oxxgb4cw1KnI2gDcGerG80dKiQjbsp5aEdWNNcG63/AdvzepXMXpGJbXsKxO8PNaIVlmAJm5D84cLTdQ6/d5DSBeO2Bhlt66EeA78Oh8dDOi/oMJ3N8gEK3EF11ZvToGpefoDKmNAT9L5yRwJY5VUSM51XOPdbRBxOqMWQXdPcMCCl8OoTCtGN4/nIRE2rtVbtBR0OwaUlvy8SXgR8BHIF85Hyoyxg X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2018 14:40:18.4594 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee17ace9-1ada-4c7a-4549-08d59bcc5358 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2473 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If code in arch/arm/kernel/ftrace.c would operate on mcount() pointer the following may be generated: 00000230 : 230: b5f8 push {r3, r4, r5, r6, r7, lr} 232: b500 push {lr} 234: f7ff fffe bl 0 <__gnu_mcount_nc> 234: R_ARM_THM_CALL __gnu_mcount_nc 238: f240 0600 movw r6, #0 238: R_ARM_THM_MOVW_ABS_NC __gnu_mcount_nc 23c: f8d0 1180 ldr.w r1, [r0, #384] ; 0x180 FTRACE currently is not able to deal with it: WARNING: CPU: 0 PID: 0 at .../kernel/trace/ftrace.c:1979 ftrace_bug+0x1ad/0x230() ... CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.116-... #1 ... [] (unwind_backtrace) from [] (show_stack+0x11/0x14) [] (show_stack) from [] (dump_stack+0x81/0xa8) [] (dump_stack) from [] (warn_slowpath_common+0x69/0x90) [] (warn_slowpath_common) from [] (warn_slowpath_null+0x17/0x1c) [] (warn_slowpath_null) from [] (ftrace_bug+0x1ad/0x230) [] (ftrace_bug) from [] (ftrace_process_locs+0x27d/0x444) [] (ftrace_process_locs) from [] (ftrace_init+0x91/0xe8) [] (ftrace_init) from [] (start_kernel+0x34b/0x358) [] (start_kernel) from [<00308095>] (0x308095) ---[ end trace cb88537fdc8fa200 ]--- ftrace failed to modify [] prealloc_fixed_plts+0x8/0x60 actual: 44:f2:e1:36 ftrace record flags: 0 (0) expected tramp: c03143e9 Fix this by allowing only selected reloc types in __mcount_loc. The list itself comes from the legacy recordmcount.pl script. Signed-off-by: Alexander Sverdlin --- scripts/recordmcount.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index 16e086d..a4888e9 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c @@ -53,6 +53,10 @@ #define R_AARCH64_ABS64 257 #endif +#define R_ARM_PC24 1 +#define R_ARM_THM_CALL 10 +#define R_ARM_CALL 28 + static int fd_map; /* File descriptor for file being modified. */ static int mmap_failed; /* Boolean flag. */ static char gpfx; /* prefix for global symbol name (sometimes '_') */ @@ -428,6 +432,18 @@ is_mcounted_section_name(char const *const txtname) #define RECORD_MCOUNT_64 #include "recordmcount.h" +static int arm_is_fake_mcount(Elf32_Rel const *rp) +{ + switch (ELF32_R_TYPE(w(rp->r_info))) { + case R_ARM_THM_CALL: + case R_ARM_CALL: + case R_ARM_PC24: + return 0; + } + + return 1; +} + /* 64-bit EM_MIPS has weird ELF64_Rela.r_info. * http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf * We interpret Table 29 Relocation Operation (Elf64_Rel, Elf64_Rela) [p.40] @@ -529,6 +545,7 @@ do_file(char const *const fname) altmcount = "__gnu_mcount_nc"; make_nop = make_nop_arm; rel_type_nop = R_ARM_NONE; + is_fake_mcount32 = arm_is_fake_mcount; break; case EM_AARCH64: reltype = R_AARCH64_ABS64; -- 2.4.6