Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp195481imm; Thu, 30 Aug 2018 11:40:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZhrkW4RzzXXXBv4U1/kE0WLf+LZ1ab7EVw0Sygum1A6EF0J4Vs74w+Txi8PpuyPpLOAV+S X-Received: by 2002:a17:902:5998:: with SMTP id p24-v6mr11455360pli.36.1535654437527; Thu, 30 Aug 2018 11:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535654437; cv=none; d=google.com; s=arc-20160816; b=pm3hHO21gyvcm7yfvq5xdFDD3uvtR0nN10kF0Mk75RiTv0Rewy8lMyLs2VwQgCfEyB BpqFqWw6gzBo6JvxpB5EJaK0/p+BmyRct1kjw06VNFcAT8u7n/r5juQRZGaqK5TtJcT0 vyI4RGeg8eq3B6EdSlgXEjVQ20G3Z6AkgTso7UmN4vez0PD01Z5Es5+QohuDjxdOlcOq +D0BF3zEDGnX6kTZvN3uSSmR0T2LrRShjotVW80mZumhSBa7OBKz95QHLyF+Dys/XdiK t8BUShg41d7F/ZtK4dQESnaFl/xHmM9XTd8wgXaSVqadwwHeyMiwktrr8PPWyquethRm Ye4w== 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:dkim-signature:arc-authentication-results; bh=YyiTzIOuMH+tK2A+C0QykqNZhFeYlb2dINn1eNZcFss=; b=wgK0Sf5JKdYDIHoLLuf1a51qgz67cyXMBlsE04ADEuZNhm43vuv6nquvS2NaU9VFoO /LyB5VLIKQwZdYTLaCrlk8v7Ij92mqh6P/xL/wlml3of1OJR4KuZKuLTTQxH0rHsSwpg hDSWDN9v2WiDDxzfB76afdPWZGhqYP8Iaf7W95mKX3GGuCjBgiMOXN1M3yFn76Hfz+LJ 1p3+i3rwir6Pv8KCOcCK/+Jbf12dMZEl1ToQGizsgl9mfMXKdSNFpY43Ikq3d5cQj7r+ //smK7LTitCS1S/wQ1LPlu1nJ2YqZ8ZIbpqwZECXpS+3sMolZ5AbPGCuasRgeOpuemkV E09w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zy6lNPcz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d127-v6si7133562pfa.189.2018.08.30.11.40.23; Thu, 30 Aug 2018 11:40:37 -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=@kernel.org header.s=default header.b=Zy6lNPcz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728161AbeH3WmQ (ORCPT + 99 others); Thu, 30 Aug 2018 18:42:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:42942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbeH3WmQ (ORCPT ); Thu, 30 Aug 2018 18:42:16 -0400 Received: from jouet.infradead.org (unknown [189.43.51.114]) (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 A16DC20658; Thu, 30 Aug 2018 18:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535654326; bh=4jbi0hsP71QIm5CLViuOGptUy+UyZH1xmsrEktUb0Qo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zy6lNPczRsAX2gudm/xTNIn1pVkOfQRIqSi6xQxseQVRYWRtfXhOnZd6lcjLdYkZ2 ZLFtYRFU77TlzaqAEDWgDIgdgdyYeY51U7kmtq88ZFyy15Vbymdjxq1uZW1f4RCAb3 RtcARoISpUUA3z2dejV2ZGtL0Muxjz/a+Azhxcxw= Received: by jouet.infradead.org (Postfix, from userid 1000) id 21B96141C3F; Thu, 30 Aug 2018 15:38:36 -0300 (-03) Date: Thu, 30 Aug 2018 15:38:36 -0300 From: Arnaldo Carvalho de Melo To: Thomas-Mich Richter Cc: Kim Phillips , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Greg Kroah-Hartman , Thomas Richter , Hendrik Brueckner , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, perf group Subject: Re: [PATCH] perf annotate: Handle arm64 move instructions Message-ID: <20180830183836.GF6097@kernel.org> References: <20180827150807.304110d2e9919a17c832ca48@arm.com> <7b5ea377-91a6-d3f3-56a1-a836d5aaa7c5@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7b5ea377-91a6-d3f3-56a1-a836d5aaa7c5@linux.ibm.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 Tue, Aug 28, 2018 at 08:22:40AM +0200, Thomas-Mich Richter escreveu: > On 08/27/2018 10:08 PM, Kim Phillips wrote: > > Add default handler for non-jump instructions. This really only has an > > effect on instructions that compute a PC-relative address, such as 'adrp,' > > as seen in these couple of examples: > > > > BEFORE: adrp x0, ffff20000aa11000 > > AFTER: adrp x0, kallsyms_token_index+0xce000 > > > > BEFORE: adrp x23, ffff20000ae94000 <__per_cpu_load> > > AFTER: adrp x23, __per_cpu_load > > > > The implementation is identical to that of s390, but with a slight > > adjustment for objdump whitespace propagation (arm64 objdump puts > > spaces after commas, whereas s390's presumably doesn't). > > > > The mov__scnprintf() declaration is moved from s390's to arm64's > > instructions.c because arm64's gets included before s390's. > > > > Tested-by: Thomas Richter Thanks, applied. - Arnaldo