Received: by 10.192.165.148 with SMTP id m20csp3454400imm; Mon, 23 Apr 2018 06:55:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/ImHywQCHz/T4cDsDZC+DpzV3SaycLuLLc+4yJIsFPi6cP3dPMm3XCY6m2o6WSzNt2CmvF X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr20923072plz.336.1524491722126; Mon, 23 Apr 2018 06:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524491722; cv=none; d=google.com; s=arc-20160816; b=J5cTmF4LX24tKoF0r21AhMw1cvQ3GjfhJe+hK8Iu4xEMQO6lP+oqzm7vfPTmjJfVCQ OYMgECfqQu1ricV9szqwzShZ99/xu7uP8O/pnCnXsbaF33nsasEwkNXCBz8TG58uYKmM /8MxkjMUTKrAH1kMmzLY0I5lNqRkTSdh4blNjHU8sE6LHHFx4p1PxhYRHtaVNTZYiLLM W8lKp0HesoJwjzW5afQaMrNeo1XO/HuvG/uM4euHXJxRkwlQIFl0bPfpI7v+yZlcxuUC zYbtvq48SKo7vifldCC+S2QAOEWCD+8xRXCkO5zwQXPLXTZV/vbzjFKQ6RzUEtK3ofN0 Q2jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=7c84KWtziH8TN8CnPwpPrafLcav8FsbwwYMb2uY6Mts=; b=slr+JDBjddEFJ5HHRsEeeHox2gxgtD+wnNiPp9KUCd23skowdBbN6uI2B0/hm4cnC2 cnJNtW0xnSBijHtopdQB8sf65VlpetJ4sWIn2OdAE9OYvLzbq7eQmEFQbckxyYsG8HZO YgdzrZn0Jn5BecZDksGMEKsXdHRVav0I8zXTvtieZeAnK9DNbPSB5XL9w7AnmZMS2BuO +ZOFFRL7VcubmI+zUpgyhIu/+LxVbn/ScjFivHSiM8OIRyHbGvW5NkENjzcKblDC1DWW B6b81hdq/Xp0swGyNwVxYyrLX/oURyUfjD0s9e/jUN4Qnpv+Cx8wSzNxbH+KFYro06eU suRw== 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 e187si5651320pgc.127.2018.04.23.06.55.07; Mon, 23 Apr 2018 06:55:22 -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 S1755340AbeDWNwb (ORCPT + 99 others); Mon, 23 Apr 2018 09:52:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:34434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754981AbeDWNw0 (ORCPT ); Mon, 23 Apr 2018 09:52:26 -0400 Received: from jouet.infradead.org (unknown [177.79.38.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 20ACB217A6; Mon, 23 Apr 2018 13:52:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20ACB217A6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id EDDDB1457B2; Mon, 23 Apr 2018 10:52:21 -0300 (-03) Date: Mon, 23 Apr 2018 10:52:21 -0300 From: Arnaldo Carvalho de Melo To: Kim Phillips Cc: Namhyung Kim , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , kernel-team@lge.com Subject: Re: [PATCH] perf tools: set kernel end address properly Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180420182358.c3dad0f06100d41aa16a2104@arm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? - Arnaldo