Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp893005rwl; Fri, 24 Mar 2023 03:34:06 -0700 (PDT) X-Google-Smtp-Source: AKy350YtiyRVtC4Bba08q2vwPQ8oObinW55LZuf66sAoMyWOva8oW1TeSPY4+gpnUaaET4tXuw6h X-Received: by 2002:a17:906:3598:b0:92b:4f8e:dddb with SMTP id o24-20020a170906359800b0092b4f8edddbmr2773192ejb.34.1679654045717; Fri, 24 Mar 2023 03:34:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679654045; cv=pass; d=google.com; s=arc-20160816; b=QZLiMWOe2OdQjUFrh2iMDIpXscQh0CZ1UjZK/oP8SCTjhGLN6KZZeWFf51alGPe1pB 6MIONwuUwgqKPKag3455S56VuADMb1f+IndgZDEUPUPOUe1oqSySh8pq8OYhhcD+XRYi nhil2IPgDskH48doZCPJ3tJrmlZZ7/ZgXz4KtoN7Banw8ZNW3gOvVc3ewV172ZtWFJ1O bPiuh4YTaClvcmNUblXjoGMdPyS3hIh29CNOkkGvVnd09LBslxKP4nBqxcY/9Smnfe4n jiIb75Q8DVrn85dgoFcll08olcoQy/iOId1/xhlERivVXWpz2jVUgsMDU7OT2uWzOjwr ylmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=0jcF6B4a/F4a9SZ8K9Hb8PxgFGRdbHrnKjoA3zqbq6g=; b=Re2RmALzG9sYS6YYm1DVKKyVH0oAz0Wq/YxJNW1Fmq9kqAaJLAGzD4o25ZT3nL0dUs U/T2p/OYZviIxjGRliBNHi5P8A+vk6OswdoWonq7NqxCOsRnqToTqIcTsoWHh2obS/Z3 tfi9slV85jATFEtlpPU/aPwU33JOaGyAp9TjsrLv330XhlQPOt8Q8Jms3EGysD9TgUdE 9zacu9R/eYC2J/ftRlRKe/Iz/NSIZ5iCDLM0VSO94WqE9M+c5WJgNkveDtNUnKifq6ab rAjeUddrIyisaEN59Qw1M4Jnryi7gXulFUr3GY+hAf69dLrm0wXJvTkmNt2+fMRNErl/ iEvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=qHBUuXm1; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020aa7c614000000b004fd1f9d8256si21644035edq.208.2023.03.24.03.33.41; Fri, 24 Mar 2023 03:34:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=selector1 header.b=qHBUuXm1; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbjCXKc3 (ORCPT + 99 others); Fri, 24 Mar 2023 06:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231135AbjCXKb6 (ORCPT ); Fri, 24 Mar 2023 06:31:58 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2084.outbound.protection.outlook.com [40.107.22.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C40FA212A9; Fri, 24 Mar 2023 03:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YO6V34tseUYf8u+5DbEh6WUorI0HLSeaGFwEJaHl/v7rRPuTmHc3TfFL+t9p9ch/WPQczwrpsaFFfdmaPVPcAaeeuj8UQNPif7BHC5ERUcmHUxoXB4eceBRmRo0XBMoP1K1is8MN/wkgTiLdrgBKTjdS5OE+tbP68GvbL7Ti4gEkl+QONnOkT0lMOlPI3Aet7KyiNW5csJMPKkJ7WRd9biWb9U/oxwOJmX63hJ/xeuxdrhIhiBGZWdILP4CW5+AuzJgtoPD6kFPV90HWyoYeGgweOgtb5xLOi7YHym3hDpcuEvH83Gn2Hkv2hptO89Eu1uY5VmaQ16t9V30YluCFQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0jcF6B4a/F4a9SZ8K9Hb8PxgFGRdbHrnKjoA3zqbq6g=; b=YtpDwxga6a/6BUjvWmy8P53pc24Fw6fDV7XCiSYXlHjpK7TnFgCEE2UStNXi1lkxFywXgV/ccBE5HGKNWsG1lPLCc+uXtk/WRlJhP/YKlzXTLulAHWBAWXNrer9Q691VXKkPZphKbKzOrVKpp2HO+icL3mmBCw+JHncpyc8M9MNBG3IoDQIry01uSj0kfu4Si7MFCQf3bjV8jaXZYTDwSlbkSuqEmJh3OYWdnCZ924K6bv6MLHiIQ6L1KFy/KXI/Trw+FUUJ/5IvwYs/dotUu/CjQmUqZeF0QFyUr8JMmItFlfarl3XF8AEE0g95hGhXX+GwYbZ61cSKMv29K2R/Ew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0jcF6B4a/F4a9SZ8K9Hb8PxgFGRdbHrnKjoA3zqbq6g=; b=qHBUuXm1wwSdEoA9ZdLUKF4SyOOwqsEhhn3ec/Fcp7NEGn96yHg6TfUo5tGroObjSOCL+R2mX6Z8tfZowbc34CtjSWCnFk4NXrBKZi/GYlRm+Bo3PW/0HPzxnaTL3dumG4g59JvOduV4UJygwJvMAZj6J200L1tpWv4vCM9EHIG/mpuxvR6M/CnvD7R+3TkMprcxJjPs+M1yov4/kNCvq9q8jVmMzuluamm4Q8n5W5w300WTTXi17ApRy0d856QFVQROzFWh7ZbM4ctBRo98akhqzdg582OfMLwfNV58fKE05HwHfDGrHF+NHjAm8/dh0XJ8QQqPinZ5zYc23Mh8FQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from AM0PR0402MB3395.eurprd04.prod.outlook.com (2603:10a6:208:1a::16) by DBBPR04MB7562.eurprd04.prod.outlook.com (2603:10a6:10:1f6::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Fri, 24 Mar 2023 10:31:51 +0000 Received: from AM0PR0402MB3395.eurprd04.prod.outlook.com ([fe80::34da:496c:c4b1:9929]) by AM0PR0402MB3395.eurprd04.prod.outlook.com ([fe80::34da:496c:c4b1:9929%3]) with mapi id 15.20.6178.038; Fri, 24 Mar 2023 10:31:51 +0000 Message-ID: <092a6b6d-c3a1-974f-5237-01c3772daa24@suse.com> Date: Fri, 24 Mar 2023 11:31:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v5] x86: Avoid relocation information in final vmlinux Content-Language: en-US To: Borislav Petkov , Nick Desaulniers Cc: tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, nathan@kernel.org, trix@redhat.com, corbet@lwn.net, linux-kernel@vger.kernel.org, clang-built-linux , linux-toolchains , Fangrui Song References: <20230320121006.4863-1-petr.pavlu@suse.com> <20230321115746.GBZBmbujAI4ZBxVn0G@fat_crate.local> From: Petr Pavlu In-Reply-To: <20230321115746.GBZBmbujAI4ZBxVn0G@fat_crate.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0155.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::18) To AM0PR0402MB3395.eurprd04.prod.outlook.com (2603:10a6:208:1a::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR0402MB3395:EE_|DBBPR04MB7562:EE_ X-MS-Office365-Filtering-Correlation-Id: 67862e71-e504-4104-0175-08db2c52fafa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aNEU0Ks0M2H5oAZLFPTIDLv3esqwmRkF0+DDx90vhv5TSiueGsO2YhO0zF6h9xg7muzCTclJOSRrTs1TDpJRQqaHNJKy/yttfwjD2auMF1AEa6zknHdGQbANMYZMDA+xPXxlOz2miW+BZx9szYthZWqoBX3BRFBfj9QRwELUvgUeMpfpk1l2PH+pFI8VdkAQ0SDtoSMKgTxY2hCNSvG3Z5nvdvpouJ6CAMwp222jv47A6ufXQhmqXNAHZIKdPrNZxdQffZBpnSDnKJGJlyBPTXPijcYCNQA3SWUIFzRHXPPY6Wci6mnlwhbQoXzHAiVSZfcKB0LpvExIvZlp/r6mbb+1HCOx7X8UPeZJDT4p4gWTSdskZtldLI4NpvPDFfRdhT/SQlPFwPMDjd0LOFBjAsC86SVG69Oir4WflxUqLW+/xsopwO5CPGyaUYS4+X6d6g2SnHEkHYCQDPksabvimBgCTztIZwUEwe4GQ6toYM9Yq6x8PHlJPwgCXZJkEzlM1H2oIH4q4dItsjQBymaY2hM5Pp3oI200IyEG5w/4rMkprvtKmDSPZEleL3Qe0PJWH1lxn0oSscRiwPcB4iIHLFrADereO5omRFPKdFINDxzf/DKwWiK4V483fF+c2cebcwLZxxpl6dzSp9WfChHckkS+dl3lPn8B7zsDHWmQUDgQObqGcGHZNP3S9USozUaQNTVogI79QYR/qzzMg8ncLZIV3If5lubP/r0CuVJDKOQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR0402MB3395.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(346002)(39860400002)(376002)(136003)(396003)(366004)(451199018)(86362001)(31696002)(36756003)(186003)(7416002)(478600001)(44832011)(66476007)(4744005)(66556008)(8676002)(4326008)(5660300002)(54906003)(8936002)(66946007)(41300700001)(110136005)(316002)(2906002)(53546011)(6512007)(26005)(38100700002)(6506007)(6486002)(55236004)(966005)(2616005)(83380400001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dWc3aXNxNzQ4cCtlcW5BSkc0b0diazE2Z1ZxQlM1ZEFrSWtqeW83OFZaQmJo?= =?utf-8?B?N0EwUCt1M1V6eDZuQkh4TStMeWRBYWI5ODhzVHcvWDc2QmRjM2x2VmMwWDJ5?= =?utf-8?B?R2ltZGZjYTVKY0x3blVScTFmd1lPMXVNcWdsamV0QlVBRVd6cjBYTE5ZSm1q?= =?utf-8?B?NzF0eFl5emRFbnFacDdqYUVyV29JYW1vZnZGQXM1NmZBTlU2cmdXdXE0b3p6?= =?utf-8?B?bmNJWjFpUDl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E91?= =?utf-8?B?OVVCb2xWVXhFTVVRMFg1Rm5jNTVvVDFNRU92ZXlTRmxod0JvSzZCYnVsbi9N?= =?utf-8?Q?3y0+tUslGE037wu2k0qhlgUb8?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67862e71-e504-4104-0175-08db2c52fafa X-MS-Exchange-CrossTenant-AuthSource: AM0PR0402MB3395.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2023 10:31:51.4092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5pR7pBivd8J5oVYnM4N9QohtftSclNCLJAxMj5Titv/ciVMhm4I5Nsj5UsKHpTCmexx8+VCOA+lEpmjqxwy6eA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7562 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/23 12:57, Borislav Petkov wrote: > On Mon, Mar 20, 2023 at 11:35:30AM -0700, Nick Desaulniers wrote: >> Why do you move this from the arch/x86/boot/compressed/ dir? > > I got an explanation here: > > https://lore.kernel.org/r/16941b45-0f4f-e7c9-4602-d9acb0c612c3@suse.com > > but my counterargument is: > > vmlinux.relocs is used there, in that dir, so it should stay there just > like the rest of the by-products generated there. Ok, I can see this argument. I will update it and post a new version. Thanks, Petr