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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44116C77B7A for ; Fri, 26 May 2023 06:23:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242093AbjEZGXG (ORCPT ); Fri, 26 May 2023 02:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbjEZGXF (ORCPT ); Fri, 26 May 2023 02:23:05 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 294AC125; Thu, 25 May 2023 23:23:04 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-53482b44007so243271a12.2; Thu, 25 May 2023 23:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685082183; x=1687674183; 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=7cCHBf3UytwZfxePPwE+jd6ort0sOdXbbuo1VvBkL64=; b=In9JMr9pXJKdU4OFNrKA8VkqvzNERFgbkF1WTefIBpZGNH1cm6Wu4vy6gHMfTTbpH5 Bxt1r4RdI0sl2apwFfU9YncceU9jlq55r9HxXRy93MWRcYsVcXQ/3fCBv5QBexNmd25X 6G2yWYoM0MVRHQMx8eH0pxaCBL360ys2TBubCUiYCToafZ9wgibDjDx0qVGg1QlxwNOJ mLFF8yI2zd7UosSjjmAmMe1b3OntVisxuNwReKnyR4cjSdQqdBe57OFiu7V+h7YbDTD9 gS4FVXbZxLBVK9nWMBpD7mMOq0v4voFCeypL5pXo+ai/vZiKklNlarHEiS6wZWvQStAQ 076A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685082183; x=1687674183; 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=7cCHBf3UytwZfxePPwE+jd6ort0sOdXbbuo1VvBkL64=; b=ebjpIGkbPWxespbD+Cr1qrLtNWbdnKXnGoSUtbmExpJ+efkW42z1UxahXGHMk6bL2q Oe0tBcwJdgZ13cKR82hBr8qf2SwVpOFTrm6fbO5gvgCxgUgG26PHSan8oYeJiJ6phP8v isnc6grXZrUBi531so6PKCEigEYanYTBqaBRXLyowYkr/XbBVc52WT/9K1iS10UmRZ93 jmMbPTHANuPRj9Lw1yOxS+xMO+R0w8c/a3AbZzixx2XtQvQlN1OSMtgpHCtls9/OCIH7 QuHcMw3b2EQKlnOyE6VhsGmotkIpiLNPNWX0gDYlqQfWuh2Lgnaea08P1EsHGaor+3w1 2dww== X-Gm-Message-State: AC+VfDwIJ5B8DcD38FpUIMgWTPR3jbmeScYQXGpUAGBRPgUOhRFjysda yK8SOegYjoDFpI6VCa6UHUrEgdxzb51lqL0RAxQ= X-Google-Smtp-Source: ACHHUZ5+adpq5bn8ccEuSJ16UorMQ11HQo3chgEmsUz3XwrAAvurJ6sIX+3y8mXx79RuaBedX3HqgDmU0iivyP2H1/M= X-Received: by 2002:a17:903:2285:b0:1ab:142a:3dd7 with SMTP id b5-20020a170903228500b001ab142a3dd7mr1537487plh.68.1685082183465; Thu, 25 May 2023 23:23:03 -0700 (PDT) MIME-Version: 1.0 References: <20230525-6e0855eb07086a96eaa82362@orel> In-Reply-To: <20230525-6e0855eb07086a96eaa82362@orel> From: Haibo Xu Date: Fri, 26 May 2023 14:22:52 +0800 Message-ID: Subject: Re: [PATCH v2 00/11] RISCV: Add KVM_GET_REG_LIST API To: Andrew Jones Cc: Haibo Xu , 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 , David Matlack , Ben Gardon , Vipin Sharma , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Fri, May 26, 2023 at 1:20=E2=80=AFAM Andrew Jones wrote: > > On Thu, May 25, 2023 at 03:38:24PM +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 enabled the KVM_GET_REG_LIST API in riscv and patch 9-11 added > > the corresponding kselftest for checking possible register regressions. > > > > The get-reg-list kvm selftest was ported from aarch64 and tested with > > Linux 6.4-rc1 on a Qemu riscv virt machine. > > > > --- > > Changed since v1: > > * rebase to Andrew's changes > > * fix coding style > > > > Andrew Jones (7): > > KVM: arm64: selftests: Replace str_with_index with strdup_printf > > KVM: arm64: selftests: Drop SVE cap check in print_reg > > KVM: arm64: selftests: Remove print_reg's dependency on vcpu_config > > KVM: arm64: selftests: Rename vcpu_config and add to kvm_util.h > > KVM: arm64: selftests: Delete core_reg_fixup > > KVM: arm64: selftests: Split get-reg-list test code > > KVM: arm64: selftests: Finish generalizing get-reg-list > > All the patches above should also have your s-o-b since your posting them= . > Sure. > Thanks, > drew