Received: by 10.192.165.148 with SMTP id m20csp3520518imm; Mon, 23 Apr 2018 07:57:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/0sEw9ZsOltEAyigHosaU5a+QvPP0FRpSGCQpNnckBKgjFnJywRltyMh9xSJ1aCbBjt1k4 X-Received: by 10.101.97.85 with SMTP id o21mr14927341pgv.23.1524495444763; Mon, 23 Apr 2018 07:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524495444; cv=none; d=google.com; s=arc-20160816; b=RH4fuKjVguKAXzrm5f3jhzfzxfusziuiKJWtFLe1ekUDhMSHkeWlKKVDGnIm3l8Uf7 xXB0Rde52Yp3h8xwFpZNmfKV8XdgVPozLYvvdn/DIFpnefyMLlc5DhPBmZMcVMR+HfGS AsJEOUGZdazsllmnlG5YyGAJS52z31eEvJiPg1Pc++JbDB6qMmSs95WHEBDJL/E0np/T i7eIboxSQk7GeJBExEBJkdGTvDSPCXiSZmrWbJ6xQFpr2J0K6I1u6O2o9+NGhQC0iL8d k2bVuZv4BwnA2iXTd/HWUA1t60ExjkeFBy+09NTfL3/nbVnWztCNDGOwHIFufTsvYNhF zc0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=zh3ipACXyycvOKPmTcGP11YufJD4RRrebjr1WELFVCk=; b=llWlZKlbxRcGAUekHc8ztUwqZt9CNRLWw6R1MOKPHXbmNiN/7yyV4XDQkmp6PE/ktR nhvEv/drwTF945Z1mUkpgmu6YKhj9Vh/oAF5GDmF1FFOE2Ckff6ZHoQH2AjtIfyyeASA eOrr/cqS3aoxDVNvO2Q3DeKapy1pTttp4WbOdfbu0Yh6e7bBhZ3Fn0trXxVaPP/ms++u rBenqDqLL9RonWXSRv1hqJTDT4j8tMXjf1DGEYrAHtjzx9i6cZDSyJC11Un4VWeDzw+1 Ak6EgQQHd1QpReFfharyD5lQe+vMr8M/U4zbQN4Eq+H6A60+X9AtG5aIEPcCsMC66Uf6 eREA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y63si3836142pgb.311.2018.04.23.07.57.09; Mon, 23 Apr 2018 07:57:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755554AbeDWO4D (ORCPT + 99 others); Mon, 23 Apr 2018 10:56:03 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:41890 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198AbeDWO4C (ORCPT ); Mon, 23 Apr 2018 10:56:02 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5DD3780D; Mon, 23 Apr 2018 07:56:02 -0700 (PDT) Received: from dupont (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DBBDA3F25D; Mon, 23 Apr 2018 07:56:01 -0700 (PDT) Date: Mon, 23 Apr 2018 09:56:01 -0500 From: Kim Phillips To: Arnaldo Carvalho de Melo Cc: Namhyung Kim , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Subject: Re: [PATCH] perf tools: set kernel end address properly Message-Id: <20180423095601.19d5d833f0260cede4b4c093@arm.com> In-Reply-To: <20180423135221.GC3254@kernel.org> References: <20180416110730.1dd12801e43be66ea5d0cc48@arm.com> <20180416165800.GD3202@kernel.org> <20180416122407.0d90863b69fed80166384850@arm.com> <20180416174811.1aca9106364effe435f363c8@arm.com> <20180417022726.GA31947@sejong> <20180418193759.b63912fe5e5b8a9023ec80a8@arm.com> <20180419023712.GB13370@sejong> <20180419182024.5d3bc71deef99551cc19fc55@arm.com> <20180419235915.GA19067@sejong> <20180420182358.c3dad0f06100d41aa16a2104@arm.com> <20180423135221.GC3254@kernel.org> Organization: Arm X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Apr 2018 10:52:21 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Apr 20, 2018 at 06:23:58PM -0500, Kim Phillips escreveu: > > On Fri, 20 Apr 2018 08:59:15 +0900 > > Namhyung Kim wrote: > > > > > The map_groups__fixup_end() was called to set end addresses of kernel > > > map and module maps. But now machine__create_modules() is set the end > > > address of modules properly, the only remaining piece is the kernel map. > > > We can set it with adjacent module's address directly instead of calling > > > the map_groups__fixup_end(). If there's no module after the kernel map, > > > the end address will be ~0ULL. > > > > > > Since it also changes the start address of the kernel map, it needs to > > > re-insert the map to the kmaps in order to keep a correct ordering. Kim > > > reported that it caused problems on ARM64. > > > > > > Reported-by: Kim Phillips > > > Signed-off-by: Namhyung Kim > > > --- > > > > Acked-by: Kim Phillips > > So as you actually seem to have tested this, I'm taking this as a > Tested-by instead, to better reflect what you did, ok? Sure. Thanks, Kim