Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1368818rdb; Wed, 20 Sep 2023 07:23:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFypRMmq63rTd7E4O7xb7bXIbE043QGMcHne19zILBA3Hl3oeFHak0C43BKf/DuDTBsVeit X-Received: by 2002:a05:6e02:1cab:b0:34f:5e0c:a5f9 with SMTP id x11-20020a056e021cab00b0034f5e0ca5f9mr4133085ill.21.1695219823309; Wed, 20 Sep 2023 07:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695219823; cv=none; d=google.com; s=arc-20160816; b=x/aQ+I1a1jFjwf+QQGmuUVvgz1TQl+bvJ3MG4J8DH6xoLV7MKggn7zIgsZTTstrKEt iQKgXqkdTS6h0UU10u+3z0WLXabvAuQbzhfvTFt4N/X7PlqMoatigwcu8njbplo2Z2Pq Osw8nFZZv5jYaZA90NGofZg9RliDnhhILF7jvCpQnESWi7FOu29FI6KA65I/0bHTTAQk Tv8knDMAC3AGfR8u+d26WOcQIN9KFCwWV71s1abi44KeE68nvvHbmj6MeLSoOnDDUm04 3hlaBt7LEb7hptzVvtJQDLl3GOlFthNqGIbP5UmHfa4uy0al0j/OGzrHhBLEak+1R5rk QEHg== 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=LqBFN5FLB49lnK/5qmtGVnKUxCOh5CXzqPeEzI92Gus=; fh=vy7D0OYcPZh9HXWp2KA8VVDgG1BWaCTF4Kp9ALvlhso=; b=z5UpMUW2ECnk1VY8DsHYSSphkrYdwl4rRII7N6WSKmzQaxjknZW9+T46S77tBy+lZ3 iWi4Fao4nWIDXFfM/g0r2K/92YaOnjbdF9KUXMh8fwJiXfsqNXmgEiCkgXa3s+Pg2JzH Nj/6XfdfhPk4C/+uF+h3pAdk2bnx9/aGE8No5LKeHXIMR2gt6hjiIByT1EepndyISOLI vswu1f47xMoPGowakB8zhTupGl8Fo6v6jmVpaiJmf/ABnkwqW3c2dzmWyhREYJhNCll0 lvWX6LuuevZWK7jOQhK1snGTohXf3Hu4YpYb9Jz5vaK1GaZxgNZMS5Oomtw6nF5tVVOX XbHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="H/Q66Ri5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id dc13-20020a056a0035cd00b00690dc61cc93si1579702pfb.403.2023.09.20.07.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 07:23:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="H/Q66Ri5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 81AF082F9682; Wed, 20 Sep 2023 01:19:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233686AbjITITG (ORCPT + 99 others); Wed, 20 Sep 2023 04:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233676AbjITIS7 (ORCPT ); Wed, 20 Sep 2023 04:18:59 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7994512B for ; Wed, 20 Sep 2023 01:18:52 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-404539209ffso68733205e9.0 for ; Wed, 20 Sep 2023 01:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695197931; x=1695802731; darn=vger.kernel.org; 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=LqBFN5FLB49lnK/5qmtGVnKUxCOh5CXzqPeEzI92Gus=; b=H/Q66Ri5aVz8NB1wAKAM3VNIBTPApCowNWaRlZopnkcBTDnIRvtVsrcvEApkM14cGJ K45ugsy/hyZMkcGKsxou6GqsGyszxX9AzfdO+Mog2ljcczoiGRU6Ofu2a+5b2bODg771 CCLQEp3BtZ2eEcKT2yAEyQSPUOTeVXvhIzubmnj8JlxvZ9r8CuZdaNjHQodVs1hd7wuV +wHxfqt15K7ckzrhC+EGWhnk4LYd5QiIO5q7TsbvcoI6XoYyzZjDsYT6iN/mmNXbQxWu CNu0GzpTkQsH8Vjb/wkQI1Jxe7v2Yf2Q2D34wkIwmOsBGBqvKDzgrr8BGWH1QcIWWLpF RTDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695197931; x=1695802731; 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=LqBFN5FLB49lnK/5qmtGVnKUxCOh5CXzqPeEzI92Gus=; b=NbcueUMqQUfyeuLm34w1pBQNprNAXkztWzTZlKwbLS9uhSlKIdlRq/kdsmBdnWb6KE nOve64P7TmNgrW+hTGUomLiHKI3f5VKB3aNbRSDrHRnd7Gi1wOo1NoHoHn69gmeRkOIT Iej5i2P6HCgaAStSHOj3Wsg2cqhAde6N/CcTzULpSH0DveYisnjGCpbMAvKKPYqDEBGD IAG+6Xm0cX1QOHQzKf9bxj+EiiwfmJsdFSl3Wui8ax2GoUYTax8BTaE3ikXOF1w+vkk+ vPiYLsKU9+mUgpS3X0pSuJGsdMEZzBC1tRdV8dU9NYRW3iR3VOJAM6oX0yiOX4qQPmJK vbqg== X-Gm-Message-State: AOJu0Yx1g/AquUnLMvST1kPS2Ln30XnGV9l09clJfIdkmMqQAZ6K6g3m TBJmJrWSEcJcKWgulcPaVqJfYQ== X-Received: by 2002:a05:600c:ace:b0:401:b53e:6c40 with SMTP id c14-20020a05600c0ace00b00401b53e6c40mr1791966wmr.10.1695197930897; Wed, 20 Sep 2023 01:18:50 -0700 (PDT) Received: from localhost (cst2-173-16.cust.vodafone.cz. [31.30.173.16]) by smtp.gmail.com with ESMTPSA id c26-20020a05600c0ada00b00400268671c6sm1250996wmr.13.2023.09.20.01.18.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 01:18:50 -0700 (PDT) Date: Wed, 20 Sep 2023 10:18:49 +0200 From: Andrew Jones To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Shuah Khan , Mayuresh Chitale , devicetree@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 7/7] KVM: riscv: selftests: Add condops extensions to get-reg-list test Message-ID: <20230920-d30b398a99804418792264c3@orel> References: <20230919035343.1399389-1-apatel@ventanamicro.com> <20230919035343.1399389-8-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230919035343.1399389-8-apatel@ventanamicro.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 20 Sep 2023 01:19:08 -0700 (PDT) On Tue, Sep 19, 2023 at 09:23:43AM +0530, Anup Patel wrote: > We have a new conditional operations related ISA extensions so let us add > these extensions to get-reg-list test. > > Signed-off-by: Anup Patel > --- > tools/testing/selftests/kvm/riscv/get-reg-list.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/testing/selftests/kvm/riscv/get-reg-list.c b/tools/testing/selftests/kvm/riscv/get-reg-list.c > index 9f464c7996c6..4ad4bf87fa78 100644 > --- a/tools/testing/selftests/kvm/riscv/get-reg-list.c > +++ b/tools/testing/selftests/kvm/riscv/get-reg-list.c > @@ -50,6 +50,8 @@ bool filter_reg(__u64 reg) > case KVM_REG_RISCV_ISA_EXT | KVM_RISCV_ISA_EXT_ZIFENCEI: > case KVM_REG_RISCV_ISA_EXT | KVM_RISCV_ISA_EXT_ZIHPM: > case KVM_REG_RISCV_ISA_EXT | KVM_RISCV_ISA_EXT_SMSTATEEN: > + case KVM_REG_RISCV_ISA_EXT | KVM_RISCV_ISA_EXT_XVENTANACONDOPS: > + case KVM_REG_RISCV_ISA_EXT | KVM_RISCV_ISA_EXT_ZICOND: > return true; > /* AIA registers are always available when Ssaia can't be disabled */ > case KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_AIA | KVM_REG_RISCV_CSR_AIA_REG(siselect): > @@ -360,6 +362,8 @@ static const char *isa_ext_id_to_str(__u64 id) > "KVM_RISCV_ISA_EXT_ZIFENCEI", > "KVM_RISCV_ISA_EXT_ZIHPM", > "KVM_RISCV_ISA_EXT_SMSTATEEN", > + "KVM_RISCV_ISA_EXT_XVENTANACONDOPS", > + "KVM_RISCV_ISA_EXT_ZICOND", > }; > > if (reg_off >= ARRAY_SIZE(kvm_isa_ext_reg_name)) { > -- > 2.34.1 > Don't we want to add test configs for these? Thanks, drew