Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp987757rwb; Fri, 28 Jul 2023 03:04:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/S13YDD744vYroLqXD5mRZXDHa+9P+wo2dBv2Xl3ujz+mA+QY17RPC2ylNFKd4lwb4z/f X-Received: by 2002:a17:902:c20c:b0:1b8:adc:7c3d with SMTP id 12-20020a170902c20c00b001b80adc7c3dmr1290744pll.40.1690538646371; Fri, 28 Jul 2023 03:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690538646; cv=none; d=google.com; s=arc-20160816; b=Z0TJf5Hd2qHfhkMgv5dJAr1OWJOgM1BR3edTA5MA2wbp/rBi4YkBYdhrbWMtaidV0R ebI457poA3OS5ayg+awbwx0oXiW5NkVMiec3giAnxVdLZ6e9e+QrjajvS3yRlvgwvw97 WsOiKAfr75vQ9Uwdl5b8MkO0n/4t7ooSopylQ99gxHok415+Yv/8FxCO1y67iqpBI/ju vIYoWK/MDSij86rPM1QPj1wb2vsEKlmniPhcu8bthSxpTgSRPDzms6W5PeiCOQD9MHbr gisDq26kcTUHZATqRMWP2/QC55T+nwLS7yFDxGxdVrBmmHGJutxNGZ866edZVAcfJUUF pNmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VN3bKW0/ABSrFl1yO1pT/mPHAallRpzyjbuLLOn5cdo=; fh=nM5HjkWjrIIHXGRpH6DH9dDmeB5U5oWiqIF/S8q6f9M=; b=m/Tw/yQKcQRC93Du2DALuxN8dwBfkxkn805KXS/aDXnrIjk5oGFiFKaSpr6qkVNZ3l BHciJpTAA7Z9Qughoo40ndhVk2m14UpKloy9KH8RZjltOwrvrHMUGUV7Eq6NF6hwSU08 o2pgBwXaB9a9HtP3MVjcsnCvAcyUsfOV297mj+FG3Pz6ioJfYBGv6J/0U95/RFGw6kVO rhsDyuRZshA68IWThc2dMU9gLnf5/SrXxVwu+jhiwjRSy7SVKutX0XI0CUEO+dlDR0G0 Kxj+4l1DH0vsg7Jjd214YHMuObxy/SPP6vQFDiBCmqtH2p07IJ+ec7AYDGKdUDF9vJ9U f8vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=mubQ3pHr; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a17090aa01500b0026335941736si4488500pjp.144.2023.07.28.03.03.52; Fri, 28 Jul 2023 03:04:06 -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=@ventanamicro.com header.s=google header.b=mubQ3pHr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235031AbjG1Jn4 (ORCPT + 99 others); Fri, 28 Jul 2023 05:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234883AbjG1Jnp (ORCPT ); Fri, 28 Jul 2023 05:43:45 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A23B2D5E for ; Fri, 28 Jul 2023 02:43:35 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-51d95aed33aso2445224a12.3 for ; Fri, 28 Jul 2023 02:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1690537414; x=1691142214; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VN3bKW0/ABSrFl1yO1pT/mPHAallRpzyjbuLLOn5cdo=; b=mubQ3pHrxz7BU95uSOuyFAUOva8dWGvzVOb1YmqvqVFQuR9C6fnLi9yikTYxYJo+tG F67EAAmEUvjBhfrREZd+0h88CDUoNsVXctUQCnzX5cL8/YXVZ3ZzcDuiGXL1SkUdHEmk mCeUfhF8cJgLXwGR991MoXDehKLbuQ7uS9lzJSG79+NCWyoiXEOn+vz/M9oNHc1UeXDw 8JF4B/g/8BYxtk7NHqYlKRp9eUVzXQaVLlgs7HMr70A8qlKKVT0Lyk0ZpDu0RysS3Xue JaIdng9gUVpLg/8BV7OgPBOqftFMh9Khg0Gn9jZooF9dQ4YtKJR0KCDSlM3QcAiaiCWO cWvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690537414; x=1691142214; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VN3bKW0/ABSrFl1yO1pT/mPHAallRpzyjbuLLOn5cdo=; b=bp1bD9Gu7SoqHB8QZdaisT+RNbfpNNBGFQuSAZNkL5rSLl8xpmsjihM9DseiAhDyz/ XpEZHTAa6Co6SuB1KEwV+/jtXYt9ijEbYuJ5MS+PoA6rvsyZrBs4xUIJZkkKY7r6xjVV 6tJ+kbwpjxNdwGNDHMvZ4QBk+ffAate7PYi1ZsTnG6dHBRrCce1E/0tUn3AIuWRgO7Ar X9zWqXwPgtXaIDR4j3jsNiK91uvbeQ3pCWJ/EpqkLj3rLMlAwhfPrPHnG/s5jD9k9cs9 eHNPq0wK/Nl8Ne+dB6p73Idmp8D1cD90cv9mTm5LM8ZvVwqbXRUBzNj8ksmrExtBSF0X +/FA== X-Gm-Message-State: ABy/qLaTaLlShKRyZEG6OkZ0J8ALgbx2ihRxl45kKxNGfwBxsrbWXMSc Op3fTeFUXuqORxYA4ZneqB6QFw== X-Received: by 2002:a17:906:76d8:b0:993:ffcb:ad4e with SMTP id q24-20020a17090676d800b00993ffcbad4emr1400134ejn.13.1690537413972; Fri, 28 Jul 2023 02:43:33 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id r15-20020a1709067fcf00b009937dbabbdasm1816275ejs.217.2023.07.28.02.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 02:43:33 -0700 (PDT) Date: Fri, 28 Jul 2023 11:43:32 +0200 From: Andrew Jones To: Haibo Xu Cc: xiaobo55x@gmail.com, 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 Subject: Re: [PATCH 1/4] tools: riscv: Add header file csr.h Message-ID: <20230728-879500f157954d849fb303ec@orel> References: <35ce2b9f7ca655eb3af13730b1ca9f05b518e08f.1690364259.git.haibo1.xu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35ce2b9f7ca655eb3af13730b1ca9f05b518e08f.1690364259.git.haibo1.xu@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 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. Thanks, drew