Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6731015imm; Mon, 27 Aug 2018 23:24:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZl/+WyfMCbM9BK77dhHSd7Ow0qaWqFnA4+49kdS8uGe361maymVYd/1JR7C9qt8gBIw2uE X-Received: by 2002:a63:1866:: with SMTP id 38-v6mr134979pgy.313.1535437454397; Mon, 27 Aug 2018 23:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535437454; cv=none; d=google.com; s=arc-20160816; b=lxeY3Sb6I1N+K8Yq36J/lke36NiSoRptJJQ1VZ2eWbYQ8m6N+mrQi737lJJCobHaeS v/l8WAD8lZGZDFItMckRJv08aCu25Fv1PyWASKmP2ZHw3eaaqkyUGdYABJnuUZONC2nA GNaJARXc3RXKLZlVDrUIh44YMUZZP4S9ne68asJSg5T8iivgcaInr9TFzmYjGXmHPQ5J qvpSYLtSNmVWHWza6OX4lFhe3O5s0EurE6+qPh14RPBwRPQI9hrjNrK6PxuOd/BHjSFK TxFmMuzXJ4ghNOFVSb+gOUKkcgX0f+UgTFQgKBR4kcC02sbar9cirXjLinozD+LN3zXC dzoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :organization:from:references:cc:to:subject :arc-authentication-results; bh=0NBZJhvhNj3CbuGFnIC//eGNAmGrZiaCu9L465zbroI=; b=f2Wh7dYvJx4egxVnLBNUtQKyJDguPZuy2oH82BVmzBgyvcT2h73o6744dbteHJNYQE 5CN9lp8+Sukwml/PB2+WkuG7hLcV8oOlWr89dzk0SyO2maB3g8PUYEI7R7B46N3NSVIj Ykd2pdOgqVPr0VLPFm843aJs8bfKisb573RHgE5URJGLVC2mOGEZLK5j+t4jhmn6f4n1 fyJQUfJ0b0TCuEYtP4y3ie9JtJkJI9DPXZMoULSimvXGHAyH0Pah40q0f3V0bwo8wVG3 k27ImnN7Ag06MmAVzvJca+MF8zmIMmjvaT1bzdFYepgyK671kT4VuUQnMOAARUSYFsXn qTXw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16-v6si195265pgi.660.2018.08.27.23.23.58; Mon, 27 Aug 2018 23:24:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbeH1KM4 (ORCPT + 99 others); Tue, 28 Aug 2018 06:12:56 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50370 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbeH1KM4 (ORCPT ); Tue, 28 Aug 2018 06:12:56 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7S6KIpw033979 for ; Tue, 28 Aug 2018 02:22:49 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2m50ahsk9e-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 28 Aug 2018 02:22:49 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 28 Aug 2018 07:22:46 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 28 Aug 2018 07:22:41 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7S6Mfwq46333980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Aug 2018 06:22:41 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ECC854C050; Tue, 28 Aug 2018 09:22:39 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6863C4C052; Tue, 28 Aug 2018 09:22:39 +0100 (BST) Received: from oc3784624756.ibm.com (unknown [9.152.212.155]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 28 Aug 2018 09:22:39 +0100 (BST) Subject: Re: [PATCH] perf annotate: Handle arm64 move instructions To: Kim Phillips , Arnaldo Carvalho de Melo Cc: 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 References: <20180827150807.304110d2e9919a17c832ca48@arm.com> From: Thomas-Mich Richter Organization: IBM Date: Tue, 28 Aug 2018 08:22:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180827150807.304110d2e9919a17c832ca48@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18082806-0020-0000-0000-000002BC9EDD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18082806-0021-0000-0000-0000210A0E53 Message-Id: <7b5ea377-91a6-d3f3-56a1-a836d5aaa7c5@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-28_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280065 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany -- Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294