Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp394209rwo; Tue, 1 Aug 2023 19:46:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlH14QIkJrT5z7C0BKN9U1yWkBQapUMQmxojJdfqh/YIjQ++dSuj32L+vSFIP87s/ToW5CcU X-Received: by 2002:a05:6a20:3d8f:b0:12d:5b6:7b32 with SMTP id s15-20020a056a203d8f00b0012d05b67b32mr14849707pzi.3.1690944396541; Tue, 01 Aug 2023 19:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690944396; cv=none; d=google.com; s=arc-20160816; b=ZiS4pMPYntSOmMfkTAC6nQnqQ6jrP+TrbhqJpa9XxOy/lgh8PFscaNywGHwcrOkJT+ 9CElzok3xTvh6pnCYB37LvadHYC9OVSgnoQdZLxWKLH5bQOK+TJaL+5x0/gDc4V7q1Qg p04WT+Y2Z7s2zX1b/BopQ7FM8lyu+CxU/zNeqpHJEU+kSAg7QpXWNEMWp0U9/4i/jamQ fQ1sFi+Va2l/0UexKMQCXPTqxV+SyNj0O8LcH0O6o5KNegrmXHg3/ohF6qz2khVBh8sk YcXpBp43CSQQgqaok6EwYBTwRRonYj7HS10KLxersUKfXWyGFJ/j+dDfE/o8196qx8Xo qEZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=33FGRO0uiP6qTJBMh3rf02rvPSySzQ+cG5TwspD9eRg=; fh=MYzPQESSou5CB9uYfm04c2qXP0ngZhHm1UsJmP1bV18=; b=ceDZWEoWnsrh4Vek8MTExyvsL7GIzSLhLR7mgRCrkDe/f1ow9JFiwsKBXiVkx//GIJ 62cvDZ0FWV6sCwnqQx0PmPRMq7AmEzAQHnR5BzeTvWKrkdyIYL/LawlZQZJw+aHc7Bvb RTR0dRmaILnmxQZEOIqhzEaJliytfWGHXkNe2xFUF3DdhyqKrCH69b9CbWFiuqRhlqvl tUYa/EkDPCec0fG+Ar3XvooKQv/JD9yg7OksDW4YWHlgtVFyMkIZetlX4Pj0sRO7u66A 5yWl95uQ1AP5UGXxHLZqGKLLHvoWQ9afLtmON28ecGg+FXBEA88Zp4aEcITChQczlOnS zSpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=f3NvgaeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b0055bc30dbcd0si3187482pge.742.2023.08.01.19.46.25; Tue, 01 Aug 2023 19:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=f3NvgaeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231597AbjHBCFR (ORCPT + 99 others); Tue, 1 Aug 2023 22:05:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231468AbjHBCFP (ORCPT ); Tue, 1 Aug 2023 22:05:15 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70D7A212D; Tue, 1 Aug 2023 19:05:14 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b9e6cc93c6so46950491fa.2; Tue, 01 Aug 2023 19:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690941912; x=1691546712; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=33FGRO0uiP6qTJBMh3rf02rvPSySzQ+cG5TwspD9eRg=; b=f3NvgaeSAWtk/Wu+VcamVFH4Q9indsZ08iIwci/KzL+4hqWjX876YurFCS9x0+xLtD bAHulBtcK0RwTaVUxZuXdSm/txfwxi5bPyc/pDPqLk9b9zN32zk9w0D4oUkgVMO+MrLX nSdQhl0Sb4gmj5LR4DBjY6WULMtolrLNhrDk19fJZwn3/tBNPbOVOcwZiREBuJVSmX/T huPRF6RuaE/0TazoDW3S5iozA9bv0ALjAGe+x5n30/DS3KIaltguIBMGmbHLouBVsEs/ zouGj4OJBDJarSNW6tqOweA6gxBes/21spg2qNdUDxKj1VqqT6iSamPJBibn2/KIFZdz Kiqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690941912; x=1691546712; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=33FGRO0uiP6qTJBMh3rf02rvPSySzQ+cG5TwspD9eRg=; b=aljhVYnOCEzsGBpWNVfKAews/czgQ88uGDYZBWHiXX9sSghO6YG9J0+z/hLwXL5QGq 8eQkyh0ijkJGfsk9wivXHBFBNT0Q4YAztQxaMcKwIjsmL9n/zQpyrip/Q10UH/PsVAA9 9A0nkA7jhdptfR7fVuk7eDis9wAHclqYw3X+yzE3fx+QBaI8lacrWNq9u2bidXkgmyeJ JO3+FVdMFCNg2fyul9FabNHHnNLXlWx14GU6aTEf2/1SAPycREtYyicBnHCSvS3Lr+nu 5CLIsBcPtfgDudWu4G+BYfmbccvpJBKEFI4JoANFFVLk+uFAkq5N0CQtL5I7Xqkiq61l uvVg== X-Gm-Message-State: ABy/qLayp6244rpBg9cjnLXFkw1XzQ9dyK/UpNHPTZmL8RmARzY4/D95 o2T87+MgYf7/rPngGKHkBXTVh+20tuvq+meEmrk= X-Received: by 2002:a2e:860b:0:b0:2b9:55c9:c228 with SMTP id a11-20020a2e860b000000b002b955c9c228mr3729409lji.27.1690941912186; Tue, 01 Aug 2023 19:05:12 -0700 (PDT) MIME-Version: 1.0 References: <35ce2b9f7ca655eb3af13730b1ca9f05b518e08f.1690364259.git.haibo1.xu@intel.com> <20230728-879500f157954d849fb303ec@orel> In-Reply-To: <20230728-879500f157954d849fb303ec@orel> From: Haibo Xu Date: Wed, 2 Aug 2023 10:05:00 +0800 Message-ID: Subject: Re: [PATCH 1/4] tools: riscv: Add header file csr.h To: Andrew Jones Cc: Haibo Xu , Paul Walmsley , Palmer Dabbelt , Albert Ou , Paolo Bonzini , Shuah Khan , Anup Patel , Atish Patra , Sean Christopherson , Vipin Sharma , Marc Zyngier , Colton Lewis , Andrew Jones , Vishal Annapurve , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, kvm-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 28, 2023 at 5:43=E2=80=AFPM Andrew Jones wrote: > > On Thu, Jul 27, 2023 at 03:20:05PM +0800, Haibo Xu wrote: > > Borrow some of the csr definitions and operations from kernel's > > arch/riscv/include/asm/csr.h to tools/ for riscv. > > You should copy the entire file verbatim. > Ok, will copy all the definitions in the original csr.h > Thanks, > drew