Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp26293ybe; Wed, 4 Sep 2019 14:26:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPd28WOuZJwi1nU/N5+uUGyG7c7wSMOKSeqpMMCg/8GcI3ZEl1Lr91LlXREMfDRarIqn0c X-Received: by 2002:a63:5823:: with SMTP id m35mr158877pgb.329.1567632383322; Wed, 04 Sep 2019 14:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567632383; cv=none; d=google.com; s=arc-20160816; b=k/4P7eKXTeb382ZgBOEGdI5cAEETcVqZyNpXMVz4Szj1LRT9Gp4zG/nz3hrOWU6C0t Da9fmLe76VER1x5EwGeYv+BB2KuyjvFLPz24o6HNQ16FJMClOe28AOoE8Tj0udXLbn/D 0StDMbk2vXLuntwF534/UJrZT7sapCaqtPQcwRLjQqVmbMQE4+Z61AG1mq41xram2rlk u2WSjpqUtF/Iau7m0YAyNUKEakiYPudF+/lKy/+vwps5XT6+V2nbLMvY4L6ctUWFwLRO /YCNhpJIWevYMgOhUcHETwqUq+9WCg9bpRrP+EUA5juAVzrnmkMLLL/juM3CQa8Mvr3E VKoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=gpnxUOC87Hy/bQFTjChPoPUmVY9m9l5TllB0pP0NeVk=; b=LuNme9oPE0NCgzMUdQi4kh2bzLdODFsN2otSWai3UOV2RTg64dy9Qq167xKylNCYJ+ 4gQ/KzZxGnG7YqC5jwkUDVlI8k8OYWesIvooXnOf6bMJ1QsjrYGcL7gd9fxINewCK0g6 FHE707DVRykLcTO9U9V+BtZebVLMt5JDO0qN0kdDhjIn4kdDp8q3zCzWT2QATIvcqJE7 ZjLCEN1lLeUEJahEDey47etddafls0eGNP2g6RVyVdrjxkSWnLZF2tm6RNWc2nU1HtOU e89r0XW8d8yRNZpKBykj+XPvXmQtTIEMk8ixdOdw5rEvcdTNso4fRIKJQMz3uwEE6dRT LjvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=fTLS4AC5; 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 190si15347874pfz.108.2019.09.04.14.26.08; Wed, 04 Sep 2019 14:26:23 -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=@sifive.com header.s=google header.b=fTLS4AC5; 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 S1730633AbfIDVZA (ORCPT + 99 others); Wed, 4 Sep 2019 17:25:00 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:36946 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727156AbfIDVY7 (ORCPT ); Wed, 4 Sep 2019 17:24:59 -0400 Received: by mail-io1-f68.google.com with SMTP id r4so32444906iop.4 for ; Wed, 04 Sep 2019 14:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=gpnxUOC87Hy/bQFTjChPoPUmVY9m9l5TllB0pP0NeVk=; b=fTLS4AC5Y3ATB96yfTaa7NNHIOTrZhvDflTG9Orv7lWVtnUCwEpcmP20IMPHHfbAo4 8IZUu4m/TmyBzD4IkRERocaj62+YgKlCnp0UnS9rfQgWahlhEFwbtw+h7L7OoNv6+ap+ RJudWwoFvJWcbxdoKoVd/Td0s4qFhYYQFo5RvC7qc4TKPMc3MftX/S71qdKw2PGFipAO nIux+yq5b0aZNpSAGSZID8kbRRvqRopQ2NLanjEh0XZx17D9feHuYXCD+G3JbySlMwSq wlTIM/KfezSMBzPmjTFMtfGCmlA465gjVqqLLGaudRkH6Z3C1ADjcKPc1Em1eTAFMHrl oBYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=gpnxUOC87Hy/bQFTjChPoPUmVY9m9l5TllB0pP0NeVk=; b=qO5l6o4VbwmeMyc/T0ONlhNm+o0Dhh6YS3zlI93+kNGWbiHT0C5/slsgUvJMOaYGjY J7uBGkYYt83mqcqDAk/wowTJWrzp3dDg7RpYeTgr0ewuOwsSHZJIfE/aKxaqMdBPp33x XIMo/2yLU6Z1y4XOTp9fNO8hbOvY+MXW9YnGpMrmm9+hJeGn3CwskPcVsIv1+yNKYfHy ulOj2mleoZYiLh1WGLIUU3Tzi6XmzHk2H3A3fXoAdUAzA1PUg6nvkJNyKxGEjOPcb4Fa EMSyTltbvWzCROd2MpLdDEinjS8uEQxZe+flMyMyDf8KaY0K4K3euJIwN1P+tnE89RIB doDg== X-Gm-Message-State: APjAAAX+qORQcKXbDGICXGCOjTXsqbfU377s5dCyd5Ob4AewhW5By2OK 9zGDSeNxQhpmN8/zR5/Qi+WSL4UTscQ= X-Received: by 2002:a02:cad1:: with SMTP id f17mr333310jap.18.1567632299044; Wed, 04 Sep 2019 14:24:59 -0700 (PDT) Received: from localhost (75-161-11-128.albq.qwest.net. [75.161.11.128]) by smtp.gmail.com with ESMTPSA id r2sm66211ioh.61.2019.09.04.14.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 14:24:58 -0700 (PDT) Date: Wed, 4 Sep 2019 14:24:57 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Mao Han cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, Greentime Hu , Palmer Dabbelt , Christoph Hellwig , Guo Ren Subject: Re: [PATCH V6 3/3] riscv: Add support for libdw In-Reply-To: <4cba2dfb6b1ef0df01185c6bce78a0a2867d0a7d.1567060834.git.han_mao@c-sky.com> Message-ID: References: <4cba2dfb6b1ef0df01185c6bce78a0a2867d0a7d.1567060834.git.han_mao@c-sky.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mao Han, On Thu, 29 Aug 2019, Mao Han wrote: > This patch add support for DWARF register mappings and libdw registers > initialization, which is used by perf callchain analyzing when > --call-graph=dwarf is given. > diff --git a/tools/arch/riscv/include/uapi/asm/perf_regs.h b/tools/arch/riscv/include/uapi/asm/perf_regs.h > new file mode 100644 > index 0000000..df1a581 > --- /dev/null > +++ b/tools/arch/riscv/include/uapi/asm/perf_regs.h > @@ -0,0 +1,42 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ As with https://lore.kernel.org/linux-riscv/CAJF2gTRXH_bx0rwsTZMTnX+umZfVTL_iVnewPtVM50sLaqJPTg@mail.gmail.com/T/#t is it possible to change this license string to "GPL-2.0 WITH Linux-syscall-note" to match the other Linux architectures? - Paul