Received: by 10.213.65.68 with SMTP id h4csp514417imn; Tue, 13 Mar 2018 11:27:44 -0700 (PDT) X-Google-Smtp-Source: AG47ELuwbhXUomU7BDx+VPa6gzztnyZd5vcPmTNXpD4StbosXaG9IOs05kwNlBNFztFfwutXVsBg X-Received: by 2002:a17:902:4222:: with SMTP id g31-v6mr1422808pld.335.1520965664568; Tue, 13 Mar 2018 11:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520965664; cv=none; d=google.com; s=arc-20160816; b=fPfS3DHQ0pGmXvOx3VCHhQSwoslYkUqhSz8teLa0KoKjLoeTeXXz6LUsgR8ondUHVe vrnA1mLzAMUyxdjCoIOqjzaHQVpwUArPAvu/iDEVykMmB+Zp8+crNvkxDvdKlQ1qGiRM SECFm+gx0n3Ct2QkeMVDWmfv2Pjn7prVM7xcZfi62BqkJKhKxva2KcOxyugZ2K2eziur lQ6eu0PRfdourqhiXyWPahX3ehWVFr4vXA5ExDhk4MSpvDyNrdwOqKDYsFnvKe2RJKeY SOsDksKq56R82+yjlgY8EfHQQGTOL4Gk7tTg8hW87Bijtz+/c7lLlwPgJbGKwrs8dy5f 3hEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=xcIRd6dl83vY10wARqZRw3bAMSc2nIfa7IUz0SnM12A=; b=uuWCqhSQuBZww/zJc9JuxHesJKiVp89ZG1nYPhkCgW4m0jRqiEPjlM1flhvoH5F19z 41BbUI5gnEFnu7k6wyh+uQ3mYmWsK1GeKfq/Q0bUCYPXXVdqGLLkjxHmdvbyGguMxZzx HRCoPMe/CQqSywPMrrKVCxYs9JUgVf+t0oRuasXgotSzJQqCnDzcbeE1ZfjplOLevCXJ 4I+4esCCVO4yt5SGWwEbbNQoabtqbj+9O0ztzicgVZYxViy/ZDWfEBQfVzPTYg1SNhGR iuvzmU3aPyOoj7iWM3QqgumK01rq7TJz77zDBTdnRgOSlEp8b1R0SeeahRtWY4KZyK8z ELWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-com header.b=YRF2FbQk; 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 g132si132079pgc.69.2018.03.13.11.27.29; Tue, 13 Mar 2018 11:27:44 -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=YRF2FbQk; 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 S1752378AbeCMS0E (ORCPT + 99 others); Tue, 13 Mar 2018 14:26:04 -0400 Received: from mail-eopbgr50105.outbound.protection.outlook.com ([40.107.5.105]:11664 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751660AbeCMS0C (ORCPT ); Tue, 13 Mar 2018 14:26:02 -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=xcIRd6dl83vY10wARqZRw3bAMSc2nIfa7IUz0SnM12A=; b=YRF2FbQkgbJobW/kP/GjS9OyR/Sqz12Xw6/6UoThv43bchZiLP/Quh2FjBwgzR9uusEiAlzLVSzOx3NNMggTCGTzZQPeu6UGkY+GRw1Q/EOGi5zTyt81LdFj254mz1SlFPHP7WEIkikOtcpEKQHlnJ25crfGsINZxCPURYZXyB4= Received: from AM5PR0701CA0016.eurprd07.prod.outlook.com (2603:10a6:203:51::26) by AM3PR07MB1121.eurprd07.prod.outlook.com (2a01:111:e400:536e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.7; Tue, 13 Mar 2018 18:25:58 +0000 Received: from VE1EUR03FT036.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::209) by AM5PR0701CA0016.outlook.office365.com (2603:10a6:203:51::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.588.7 via Frontend Transport; Tue, 13 Mar 2018 18:25:58 +0000 Authentication-Results: spf=pass (sender IP is 131.228.2.240) smtp.mailfrom=nokia.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=pass action=none header.from=nokia.com; Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.240 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.240; helo=mailrelay.int.nokia.com; Received: from mailrelay.int.nokia.com (131.228.2.240) by VE1EUR03FT036.mail.protection.outlook.com (10.152.19.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.16 via Frontend Transport; Tue, 13 Mar 2018 18:25:58 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id w2DIP0ph015951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Mar 2018 20:25:00 +0200 Received: from [10.151.73.41] ([10.151.73.41]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id w2DIOxLo015901; Tue, 13 Mar 2018 20:24:59 +0200 X-HPESVCS-Source-Ip: 10.151.73.41 Subject: Re: [PATCH v4 2/2] ARM: ftrace: Add MODULE_PLTS support To: Ard Biesheuvel CC: linux-arm-kernel , Linux Kernel Mailing List , Russell King , Steven Rostedt , Ingo Molnar References: <20180313135314.18780-1-alexander.sverdlin@nokia.com> <20180313135314.18780-3-alexander.sverdlin@nokia.com> <5d3ae760-45bd-3588-500f-1b352e1722de@nokia.com> <60156300-b74a-628c-d296-7fb71a0eeb4f@nokia.com> From: Alexander Sverdlin Message-ID: Date: Tue, 13 Mar 2018 19:24:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240;IPV:CAL;SCL:-1;CTRY:FI;EFV:NLI;SFV:NSPM;SFS:(10019020)(346002)(376002)(396003)(39860400002)(39380400002)(2980300002)(438002)(189003)(199004)(93886005)(81166006)(8676002)(106466001)(81156014)(8936002)(22756006)(186003)(53546011)(31696002)(77096007)(68736007)(64126003)(230700001)(50466002)(26005)(4326008)(36756003)(53936002)(6306002)(6246003)(26826003)(356003)(966005)(5660300001)(305945005)(65956001)(65806001)(2950100002)(6916009)(229853002)(97736004)(31686004)(478600001)(65826007)(58126008)(2906002)(316002)(336012)(47776003)(23676004)(2486003)(54906003)(86362001)(76176011)(106002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM3PR07MB1121;H:mailrelay.int.nokia.com;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;VE1EUR03FT036;1:+x1fcnZpAp8xea40lTVAjOt50kIJCbbOelcgYGa9PyIm7zNe/k26KLsK7BwghSV2r0dtLgYBDIxWW3KlolKMD1pPHaAol+dMFS7ojAbOdtKk0eum6/BEMtk9nx1y7QhL X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 70a0de3d-bb1f-4e73-c844-08d5890fde43 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328);SRVR:AM3PR07MB1121; X-Microsoft-Exchange-Diagnostics: 1;AM3PR07MB1121;3:d4J9d1W6RWLKc9dcEn8Xw6QHjXOoKvXF1CQw9AGtzXjkGC5S+kfMng/lQfq1wJ0/66/apsmgvPETSgj70pHUlabdInn7phMMNEGOgkbe92uRwb0IhsBCMFwqrCV6CmwOIUTYVPWfWQMxrSbw2siYNHNNpUIedZX9zDyoxCrtihNiD9CM1FG4L/xELlGYyesqLZoPULrjwS4ogyHiXoHkqfG4TihdGjqx4aTCFsrhVzpWwGDLBDb4lNPnQ+K5Ct1EpjS4Y4bCfLzNY8z5bX4U4LNm5n4tEbWc7Z9+9AHEs/41pdeC0+PbG2QQ8nfeXkW7QmJ4T7SSjjDQL8m7MpyEB9r2gY7Bc24YpBVz3FZ/WgU=;25:Q9UbnonJyajqYUQCoDqQw+lOZQVGuPdGMUsRwCdZ0inxaY1HCbG8hYsHZ+sTflYi0W0Gj238eSndZGTB233mvN+h8iyCQbFO3vuxCjsquZDHmMEzQabqTIVkrHqd+hgK1iXXE8ZUYkvwS7hy9qlV+DogmcR5HFhNci0CW9b9j94cEG0Ney/WaZ3wfI+IiJy2XJRyOjGGkO5C4JdH69pdKUtTEVK0Tl92XrLom2VFvkmqKZ5fpx0bQWOlCiuNMq8VdWWmhmoxTGDKz5n9soqwbE4zzU9jWsHvcdJang6jghCKNExzcqf3/ZbEvBRu269lPfm1J8suyENVQjy0abpb1A== X-MS-TrafficTypeDiagnostic: AM3PR07MB1121: X-Microsoft-Exchange-Diagnostics: 1;AM3PR07MB1121;31:wkvvupG3iBIvnpkqgfIyY2OmLydmXAZZM0bMvFqqStKZ7fA+c/AgGPsQkuogwkYxD9WinL4sxcjXeOsgW7C06qsDUFG4yMiXRkOy4W3aRbYbANT0TjZVwPtXreLgVqcF2idn0jWD7pJciWhMAsTWFOVkw/86icMMMEb8G8dNxnCwieWHgplNNapwjUdpCGXRZgOxXRO7CPcSVTSH5FdslONa6KZuUxv1w+O47QTkPC8=;20:HJg/GYDyvPOoV3KptbKlq6TSZ3dXT7XgUpcYoAjFWwKkAd86k0xGm2YNV9A4NO9NweP2gg3L31dPjHB1JDcfYL5wZVmQsuIxSj2c6ornZpzs4a5l/1pesQR+WukcdTYE9MUzZdETxz/BAVZ2oZTISwC59Pxqh3K5HeiK74aIkbbs2n5ySzSuOjNI3p1BZVlyKGDazSRnIlkj3vlVderl6gt+MyHP/+7Hnq0++kxEjZ6wQOZpiZmwE5dGBpTfCQYkXfx0RgmNH+xQQtrI22vsJ8k2wka1w/KBlvRCAPlAjMGh7Zf40/4rsuPHDYddfM1dNOaLW2BbQzA890IoXJCd6+9xK+u/D41nYE5oXhUY2fF9oxA1LA9ntIIGpryvNwEccxdA6lbqSZYgaioBFe8Ssk70jUN4l6MgU4N7BSna54IeqcAftxTZyFbnhdTDqwwhkCK3Dz8WhqYewEcGt4JPaJXAaa/vwldD2+IchE24CR4y88OhxzakzuazpVNYPJ9kltnomEzS9dGwPk9X/MbxRYQBXnfqY7zIYT/60l0jFh4p+9LOxLzxb3orOU1eeckXmjooGpNCRAWv3SgDjQg8ul8UmleMeg6XDkEG+3yPmE8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231221)(11241501184)(806099)(944501244)(52105095)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:AM3PR07MB1121;BCL:0;PCL:0;RULEID:;SRVR:AM3PR07MB1121; X-Microsoft-Exchange-Diagnostics: 1;AM3PR07MB1121;4:FlEgII+6zv8uwUKfFv2h292hsoR2PDPunJjK75jBs0CRx0NES0gUPTpBMBdZQcfKMflrX1ZZ/W6EJgbuHJxbxxBKZhnAcIgaOolMqgCiFTaw2yt/pMpJud3K9VrHjJyImetSoISoiIk2Uo0L6t5QWWjd50pp081ds3mVvF155z6pBmcIPSrh9i+YKPb4R/TFnEHsZ7BtT9xn7xPVB7SqcbCegNv22gJtMLRpiOro3fonYgdNGKY1rOyLvzlNoKUZJE+iKAli3bF6NFIEmAUaAhf9Z110Gw6vg0xuQL+wiulueWf4QT65cQr60l73lHTl X-Forefront-PRVS: 0610D16BBE X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTNQUjA3TUIxMTIxOzIzOktrdGVIR0RuZUdpWmlmYUtyMzZSSUhTamlJ?= =?utf-8?B?WkVHMzM2UEFoSklGajlCbGQyY1pBbkwrUWl1Q0tNQzNDRVNqY3hxV1J4a2ZX?= =?utf-8?B?V2ZSOUlHeEU2UjVjR0lsZisxRS9lZ2c4SW43OXdTYWE2YXBHUXZTclpaZEJv?= =?utf-8?B?NzNNejhoaW5tdzNkWjl6MW1nS2luUkJrdFN0dWNKYjh2T3BWeTNscEREVVRi?= =?utf-8?B?TG4rdGxYaFNLSGhpTXgwVFl5cW51eFBVcnNsUG40QmhhSytqN2YyYkpVY1cw?= =?utf-8?B?QU5reWtlQWRBK3oraXIrSms4TXNOWmV6dnNidmpkTm9XbStEc0VwckZCL3cv?= =?utf-8?B?c3FZMmwyTTdoS3ptWkZFbkJ4ajFtTDlPK0RFK0pIOWk2K1ZjM2YzajFyQnBx?= =?utf-8?B?VkNOYUdDRTlDeGhD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xZ/4gZlKR2E7oIcCpaSMgioTJPgJ0DgIkIdqR3NgCrqRqD+VIiIbB1K9F971eZSxmrZBqioVR2wZPiLTm6wjubnyj6WZSBM44doM8y7n7FDL2Qa93D7ro05Bz0ROJc4wvWs9aAp6b4mfEHghrYLVwFFdcR1a8pUSNuk429VEUjveT2c8EHelCQsHfDiJQbMc98/zAtMqXLNJVPWfMTbkjyGQiikX10KCoWWhO8w==;5:nHye3DiKtdRkL2sQwX5skk1CnBph8qzn5dt3qGlPcj3mqjptu4gkXScjZtV14RfNIscKbioLOM8MfE6IRBSnuTa7/vIJ7zuCcHZHbRoEIc/0j+9meejD0ZINnTUNIExNtBKL4V9Xl3bkLmPs//qCrNWxM5n/fEv+iXoEhUObRNk=;24:bQEnwsmsmCjoT0zyMF5YuNUbVkfQLr7llMobq1SF9UqsB/l4DOLYSPQ2r7TX4wmneSlCxIbiPyYWFCK3lcjc13QUy+Xe3LEkgJwsGaoGD/k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM3PR07MB1121;7:GcBArAMKt6SWkxkuzJjkGm3hWFEOvuFryba9UPVqLbyzDyjfQ6N0j9mpnSQPbPdhKYFwZRCggODjXKvdHOe90Pe1JvHNg16xG3CHY+dOPjrZ/Nxoo82u6rDf+2rx/v5CDXBU8dbPTauNBbHWBeLesZzUbSuBl7JCETV0+wvOCaPPcI2Z4LvEOjPg/SCXg9Om2e1zjWB6V8eAR4e4/kJ7mBZRBhawXjSWk8pas06M3H2+/J1apifyylGJV0ic5/UJ X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2018 18:25:58.7104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70a0de3d-bb1f-4e73-c844-08d5890fde43 X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0;Ip=[131.228.2.240];Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR07MB1121 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! On 13/03/18 18:51, Ard Biesheuvel wrote: >>> if (IS_ENABLED(CONFIG_ARM_MODULE_PLTS)) >>> module_plt_alloc_fixed(); >> Do you consider this a legal C code if without module-plts.o the function would not exist at all? >> That's too much relying on optimizer I think... >> > Yes, we rely on that in many different places in the kernel. https://www.kernel.org/doc/Documentation/process/coding-style.rst: "However, this approach still allows the C compiler to see the code inside the block, and check it for correctness (syntax, types, symbol references, etc). Thus, you still have to use an #ifdef if the code inside the block references symbols that will not exist if the condition is not met." But we can of course ignore it. -- Best regards, Alexander Sverdlin.