Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4042767rwb; Sat, 12 Nov 2022 20:04:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf5dxiDfdkUP1GjlVaE3f9U8h7ftGjJEM87TpDCFrtq2nlXyEDzm7Q62WRzi2AjmDWYVnij7 X-Received: by 2002:a17:906:eb5b:b0:78d:47c8:e80f with SMTP id mc27-20020a170906eb5b00b0078d47c8e80fmr6608226ejb.700.1668312257921; Sat, 12 Nov 2022 20:04:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668312257; cv=none; d=google.com; s=arc-20160816; b=iQNxUtTgVKTL/UyNb8XJCMjqx/jIocppDvgj6q9h8eSkVp561hAW4Y377QPZuKlgBf GS5sP8vcAcl4y+/cj531pcMENZJCRnWCFrBcpPpEx70ZPdWm/ZXwcHunuxrhLaw8Vb6l PQy41MLhYbfQAMps8Iu5Nbnn/kbdxLyBOQCnWf6w7fPKBIv+dgcF+KCG11DrlbrdILJa S9LFa/RvIEFkPaX/3rfSYTgCqCgtOC5H4x+7wu6Pi4RTwew4XUen9oqr7+qm+WNAUd3U ZNFUJJpMYtKfdGKnFFIYE7Kp2sikUwYY2gKHCaZ0U217BRIVS2HhfboktF8AOXAYScMe fVSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=61efaf8RTlvNOhUGQwmoI/xscEHmtLMGzUUcKWgEHXA=; b=Y1Hxy06+dilujgYWsgA/3ihHyhW5OkBSHc6NclVFOCedWS63tS4gaXAU94OLIOkrFO u9vF/TWoH9a0YyFmZuQl7R45EbobC01Oap+JIUpyxPVoibdJ5Bgizi3/8yCs5ulyWE0+ UlFn6aQkn21s6ntsdg3KDRnmrgLECt0UWWNRUKwRUY8o+q/YIhX1vl6UC6cYIXRUQXcH N6zvPsykFMH73BS3pc3/edNGJtHaPC3THZx0ZMmjnFyQ1pCkfUtNV58+qc+MX87uIb5k fn/LEiiNIfDQuihYLHQWCb5QAUxLiDCuiAibDplqLhzizHkZ6gFf+0lyh4cD0yYTsECu WyNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NAFD+KbQ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm4-20020a170907948400b007835897050esi6732990ejc.404.2022.11.12.20.03.55; Sat, 12 Nov 2022 20:04:17 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=NAFD+KbQ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234995AbiKMDCq (ORCPT + 91 others); Sat, 12 Nov 2022 22:02:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiKMDCl (ORCPT ); Sat, 12 Nov 2022 22:02:41 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EEC0CE2B; Sat, 12 Nov 2022 19:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=61efaf8RTlvNOhUGQwmoI/xscEHmtLMGzUUcKWgEHXA=; b=NAFD+KbQYX2/O79dvSeh89kXif xCC1HKPnrBKOVyJx90G+ancal0LjEGbHvqOLKLo6qEQPjx+fYf5p8GtCt65LtLtm2/7667jaTG+eL 6/ZDvTmG33mWKugsGd2qNQA1GtrZjI6VMX6kVtPgbrK4W/91x6iAkPCZYHl/OJdJpwcK2C1njHuKU kO+g2PdSOcRb7rwT5byFWWbHgX6TKqkrQk8Xdg8ZNtbJ0sddjoB1QximTJ4EE0zR5cOrX1nz9egjj m+kTeYLkd5882xCuoJSEzFXjlWkw3PWf2CY4xBbamr2MIwguk2aoPTgxKunJ6NBZpvaG2+MBUQcup HNkR8HrA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ou3GX-009CX1-N1; Sun, 13 Nov 2022 03:02:37 +0000 Date: Sat, 12 Nov 2022 19:02:37 -0800 From: Luis Chamberlain To: Nick Alcock Cc: masahiroy@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, akpm@linux-foundation.org, eugene.loh@oracle.com, kris.van.hees@oracle.com, thunder.leizhen@huawei.com Subject: Re: [PATCH v9 3/8] kbuild: generate an address ranges map at vmlinux link time Message-ID: References: <20221109134132.9052-1-nick.alcock@oracle.com> <20221109134132.9052-4-nick.alcock@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221109134132.9052-4-nick.alcock@oracle.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 Wed, Nov 09, 2022 at 01:41:27PM +0000, Nick Alcock wrote: > This emits a new file, .tmp_vmlinux.ranges, which maps address > range/size pairs in vmlinux to the object files which make them up, > e.g., in part: > > 0x0000000000000000 0x30 arch/x86/kernel/cpu/common.o > 0x0000000000001000 0x1000 arch/x86/events/intel/ds.o > 0x0000000000002000 0x4000 arch/x86/kernel/irq_64.o > 0x0000000000006000 0x5000 arch/x86/kernel/process.o > 0x000000000000b000 0x1000 arch/x86/kernel/cpu/common.o > 0x000000000000c000 0x5000 arch/x86/mm/cpu_entry_area.o > 0x0000000000011000 0x10 arch/x86/kernel/espfix_64.o > 0x0000000000011010 0x2 arch/x86/kernel/cpu/common.o > [...] This does't say why we'd want this. So either you merge it with its first user or you explain here why anyone might find this useful. Luis