From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69DDEEB64DC for ; Sat, 1 Jul 2023 14:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=V4mBXn+xKc6QNHr4bJff4rgpb9OPTtMYzbIAtyeG5tw=; b=mRq0ufWq6/aouO uZLqh+X6Sim63HubkGn04ouLnlNEZHsA9aD+8Ws54j+tQQyHmdnN3aXF0qsrTkV0XpAx6dqQS7/YX 6NvD8Wo8U9iYHfD4cxf8Z6DsPELjinAVxyQQmNWwPeQRmsy3wxDvJFIt488PYBdJ7dc2gnE6IKAcS vxUMtr3+nHm4rns6yuDOAiUJdWtD1EAfp/2UedCvQZ6zJ6ABZoSwkMwrvLVqluMURi6VNaBY5Ezqr vROVhJm2SzD9mgE6TNIpFZeHGB4ar9puKIQSr/TUQh2l+TxuD3D88b2t8ze0JjyQsneUbBtZ2+ph5 KIAy1ebLFHYo16J6vk8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFbz1-006BmZ-1d; Sat, 01 Jul 2023 14:53:55 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFbyx-006Bkl-22 for linux-arm-kernel@lists.infradead.org; Sat, 01 Jul 2023 14:53:53 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-98df3dea907so343046966b.3 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=AaE9lS8LBXuFh96t3HT5/1GQZVrzRT20mSAZqE7CJAW1CQnO4KQ4t1osabS0qVEpmu 3mEzpN2kDxq6gzymGSrt2Uc0cvF1WdOdR5XiC5pk3dJxnOQiJNgA5em5WrywSa6NLIqi H5Zc/Z2IlSuy0bmkErSfGZsIfJKZ1gaGS5OtKsCbbSnhuo3cHsoBGxzoOUj86ni0slM2 QaJsesMP0ddRkvk3H+jgmGqpA8lckV1KUiJj5i7hWLJvwdEJ63imVfrtrxK/KSAwKtdj 6bcJqm0k0TzdSmieUys3Rs1UXn6DdnbaGIuShdZ9azFBMH38Rgv6UgQzmxaOdghdyE+D w76Q== X-Gm-Message-State: AC+VfDwG1Loph9GkiedwQXBCO/f1QdA/XOZJ9ZQTiscbCRfwD3vHLNa5 lQ+AQr9B48utw2jZ8B9yutrcfg== X-Google-Smtp-Source: APBJJlFbTncNQknWuK6Y34dd/Vq9wobBPzkzq5+JVS2JfwhQSw4EsBA/mzFykhnRWmdndPeE2HFOZQ== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230701_075351_667179_E1969A27 X-CRM114-Status: GOOD ( 16.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel