Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp23878146rwd; Sat, 1 Jul 2023 08:39:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnrn3hshgv+TMpU9MkJpZCAYZCTXRxP96DuolMmmmLNd7vsv4SGinEw2QO4iu+jxfzssR2 X-Received: by 2002:a92:d5c6:0:b0:33b:c0d8:26af with SMTP id d6-20020a92d5c6000000b0033bc0d826afmr5636432ilq.7.1688225975711; Sat, 01 Jul 2023 08:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688225975; cv=none; d=google.com; s=arc-20160816; b=cqsfOIM4fAKGNYFtbApBFENPIiZO5f/L1iYDfy3eIddAdgAbPFq9vvrZzh1pFttGbG tgnrY8qiqTYvi0Ajz1WYlLrzyx5BV8Wfpln6CRMlq8upZBNhus22uQzVjEXk6tfwsrRD Ije1j8yB20EN36xhr0a8zFZnjy7/Dg56vat2r+oD+u0d/hP6GDfwOx84fivnUg2BUtj9 xCuLjz9xSxFdD2SIyqHvvdsJWRBaDeIhmljKpDeIwXOr79LGJV4irMVEebuD4mgMl8x9 KkEKWHpYOL+QiftfrmwgJSj96fZiSU2FVelCSYZb7TG3Uo167Dqz4QKuDJhimvzKTVd5 wZgA== 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=4z5avgOZM94E55xJX5yHh1jEBdl/Nv8eTHj3o1PmFnI=; fh=c5oaiD90ZklbOPM3ukSJZuV7+sR4s2K/TMN8imhfUx0=; b=lvQT5AqItul8Cy5rscK64zASU4oaWJ3Vv4noMJJrNCcjvQ/nujWfy4M0/uxFeZXond niJBQWGVpENs7/mMpzXCc+PqcIG7VuZrcFIYYuoxkq2DkTecNVGSET4Ib+kGWZME54AM JWglE1rFddI2j9TPHDBqwrCvODSuACPtc5QWhq+FnlBV/50d2nI4RL3ecQtI03J1TMnu Hg1MlMJH3w5Hq/TVAylzFC7IPkVGqbL3rYNq0GQWmiW0LYXZXMez8tLAWs0Aaj2vJFCA ypcXs+tKtjVZvWDx87np6kjXywLZxIGmjmzXESU7j9qhBUEWyEGpf5tS5Gx5vgj8WBDI 9G8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="IqkaY/63"; 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 142-20020a630094000000b00553c2f85088si14957184pga.888.2023.07.01.08.39.21; Sat, 01 Jul 2023 08:39:35 -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="IqkaY/63"; 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 S229981AbjGAOxx (ORCPT + 99 others); Sat, 1 Jul 2023 10:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjGAOxv (ORCPT ); Sat, 1 Jul 2023 10:53:51 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A68935B3 for ; Sat, 1 Jul 2023 07:53:50 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-51d9bf5411aso3047965a12.2 for ; Sat, 01 Jul 2023 07:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1688223229; x=1690815229; 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=4z5avgOZM94E55xJX5yHh1jEBdl/Nv8eTHj3o1PmFnI=; b=IqkaY/63sYcOG0vwtmF02wpU+mNr/gP2fHYz9of1UNY2Q45RQUGKnr0nycE74z3Vq+ vRH+iq/bEWHzZQJFNk5D1eABcSm/7HMxFYJiaIg+wuXbW55cwpQiwwq7ZbxPO2QlnkIj 9iVfVrEWAevgKZSOtWpo/0swSzpiq3/5R0+5tvpX1ycDHSi/sX9HFmLv96haLzn08jMc DY4baiQluiuE8NdVxL1tqe/WSUZ5z1uxB9P1GEc7MeQjDLyJWrhwO9i9VTqG5iE4w+Nj cKCOO9fcg9SfxcuWGrOsZkI7RcxYFElB3npOI1snh4RreMoNrKyv6N+PeDCQ9R1qg56C GLsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688223229; x=1690815229; 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=4z5avgOZM94E55xJX5yHh1jEBdl/Nv8eTHj3o1PmFnI=; b=WFZQ5GlLq+HeMs1DB25EswAIuPKWAsJkvaAzZdHZPKvIp9DrsQOPKYOuIARQo9FYX9 SaLABAA4w3nPd5ZafdHFoFziXheutmjd0G/M72dIovWrsZO+Dso1jan/kR5FYQQ2c6/K bw1lISK7mhb9NoRDxWIbqi6QebvrP0dsWgp+lqzF9RRY4jGKIVWMTh9fiEDuV9d96gLO 6FIqD6BbHt6igz6Ak9OqQQxvAkuIEJCZkDDHcIE3GCtf/evoGofii57xX1YPtWAO87yL 3lvHgjqRsxbxImVpx/pzlpOxIlCAeefyoBsyrNmNPuuC9/XJ1I6KhCwdnEVOaLTjLHCy iGbg== X-Gm-Message-State: AC+VfDxW3R4J9GJY8yMqWRJ+p4AWIUslo/0qwhEYsJV4s0c3oXCOV8n0 w/fo8EZuPbkblKq1vUuArjPCHg== X-Received: by 2002:a17:906:4093:b0:992:a85d:278b with SMTP id u19-20020a170906409300b00992a85d278bmr3179852ejj.59.1688223228877; Sat, 01 Jul 2023 07:53:48 -0700 (PDT) Received: from localhost (cst2-173-16.cust.vodafone.cz. [31.30.173.16]) by smtp.gmail.com with ESMTPSA id lf1-20020a170907174100b0098d2261d189sm1025110ejc.19.2023.07.01.07.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jul 2023 07:53:48 -0700 (PDT) Date: Sat, 1 Jul 2023 16:53:47 +0200 From: Andrew Jones To: Haibo Xu Cc: xiaobo55x@gmail.com, maz@kernel.org, oliver.upton@linux.dev, seanjc@google.com, Paolo Bonzini , Jonathan Corbet , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , Shuah Khan , James Morse , Suzuki K Poulose , Zenghui Yu , Ricardo Koller , Vishal Annapurve , Vipin Sharma , David Matlack , Colton Lewis , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Subject: Re: [PATCH v5 00/13] RISCV: Add KVM_GET_REG_LIST API Message-ID: <20230701-e1bff47a0ed38ec3ab6ca252@orel> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Sat, Jul 01, 2023 at 09:42:48PM +0800, Haibo Xu wrote: > KVM_GET_REG_LIST will dump all register IDs that are available to > KVM_GET/SET_ONE_REG and It's very useful to identify some platform > regression issue during VM migration. > > Patch 1-7 re-structured the get-reg-list test in aarch64 to make some > of the code as common test framework that can be shared by riscv. > > Patch 8 move reject_set check logic to a function so as to check for > different errno for different registers. > Patch 9 move finalize_vcpu back to run_test so that riscv can implement > its specific operation. > Patch 10 change to do the get/set operation only on present-blessed list. > Patch 11 add the skip_set facilities so that riscv can skip set operation > on some registers. > Patch 12 enabled the KVM_GET_REG_LIST API in riscv. > patch 13 added the corresponding kselftest for checking possible > register regressions. > > The get-reg-list kvm selftest was ported from aarch64 and tested with > Linux v6.4 on a Qemu riscv64 virt machine. Hi Haibo, This series needs a rebase on top of these recent patches commit ee053e03b08e ("KVM: selftests: get-reg-list: support ID register features") commit 5f0419a0083b ("KVM: selftests: get-reg-list: add Permission Indirection registers") The conflicts will be in my patches, which do the splitting of the test. I'll do the rebase and push it to a branch for you to pick up. Thanks, drew