Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1292341rwd; Thu, 25 May 2023 10:26:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70TWuZFGJZK2W0i48JPGNnYOO0tHBSZDzfls7pItf0cev6YOOXvKJOUv8igSsZXOMkZVp4 X-Received: by 2002:a05:6a21:796:b0:10d:b160:3d4f with SMTP id mg22-20020a056a21079600b0010db1603d4fmr5240922pzb.38.1685035583676; Thu, 25 May 2023 10:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685035583; cv=none; d=google.com; s=arc-20160816; b=vJFeOPISc5lbpDcunSrdookQjhdNKpVj3nbwjknbI73ugR5SWB+ulQofNVgXDqPh9U 4kzn7Zi97Y06eDgHXNUVXszMmCFwORJ3wdjXegnhu+6PhoX25evlYLb0iicBj0Snk1xJ WhNMH4myZprGp9dmOTwbLg6+UrnT9cCiC7yTA8DuFUtyVUvFYKK7rGRyrQdIe86SLB9H 0rP09MwhJXEkaFx3NZY7z/SXZgm9lCtVOmtKFNhxPUkQP0uzsiWtGKnLycbRo+wDX/Ly i2J1qsC4Q1ppEAS++HdSJz0d+M+DEMjw9s6pTxLTXJP31iyfRwzijeziXZizsMLpQlrl VilA== 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=0BsSMy+JyYACPWrjjdZYwT/+fcHGskJiY38T07+T9dQ=; b=n4wglwQjWOHPBjyC7xj4HtrntTTDFJ1h4G3GIMFA7O0bXnMjTAbJjN3OMvIrhjc3Rf shIV+zNYTC1mn2BAaOADa064x68YMc0616IN2tNNRrqQ8zagsFaZyx5dyPgX+waMIEyV S9kZY+dZy5dY79VAczss1yTiw6e7elJOvfZW/xo3JRk9BnDbvMGevoytlsYRJ1llbxhl bLnj5O1H44YT6cCp18QHro7+CfIElWWwp4/9mbjKXlm7hOr0NEGr7lGPCj6yIsIaYqY3 JjyBFm9e6WVzWCKXEmMSqhgFmYIUGMhFLdbST2RzEEwsfW/LHF5FH60YkTebgRgNGMYs lyBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=pffAAv8U; 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 24-20020a631258000000b00520603e8e25si1640536pgs.67.2023.05.25.10.26.10; Thu, 25 May 2023 10:26:23 -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=pffAAv8U; 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 S240950AbjEYRUa (ORCPT + 99 others); Thu, 25 May 2023 13:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236311AbjEYRU2 (ORCPT ); Thu, 25 May 2023 13:20:28 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB9F1194 for ; Thu, 25 May 2023 10:20:25 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f603ff9c02so6706405e9.2 for ; Thu, 25 May 2023 10:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1685035224; x=1687627224; 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=0BsSMy+JyYACPWrjjdZYwT/+fcHGskJiY38T07+T9dQ=; b=pffAAv8U4UDe2UO5AaMNBCKJwsA+fY/uXlxRYWYfOSF/U831Cbn+aYPxlrMSwbhgZb TJ3rx1gTr+K1LN6r+qy3C+Gerl601yJAy8AKOIVHRjsHhwRhM0mR8bH/dqseh0HTJwDl aTiHPcC0yw4VA3HzAumqaPgq0KwYo24ZqEHl9kQtn+U7cDTGuIhcpJuNZs5uHfdAhEEM sYxNXpBUEAAXjC6xxQMqA15kRL462Pj9tKNyS/cgeUu5jjoy+gglRJ4yP7PXtcefEg26 u3Y3AIXcDMKw5KULmLOOQImp2uNFtr5k8MA3uRGHPFRaKVMeGy/HWPTjQYaXkLpCGlq1 MCag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685035224; x=1687627224; 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=0BsSMy+JyYACPWrjjdZYwT/+fcHGskJiY38T07+T9dQ=; b=Hpvhy4+96iUE5Z3x4txizfOjFHOwQVmia0g/rLoOUptE2XyYYKVlHmKqNZVu4VRyx4 gx1voBQ6gMvF4KmWS7198zmThklUXL1EhgaGrDpWotGwryZwZaKzQAFTK8WvnM+CNPAM uWwSynSXHs94eMOdJC57eFo2mIBHo6FcYO2fjlVHUSvtBuStoHkM8ExT51ycR7J8ZTfo 4hfdk0adgevQdEQ7/bD+k9ppB8KIQItEa+1zKAWPkbnC5ltEFZFKTXEZhcsAw81I5ZnW QiStm8lxcSztMfXDBH0TFlQ+VHiOpLoHUNExBbA+EuxmEWGeOLxEnBOpKnsNfM+Pd6ao pgsA== X-Gm-Message-State: AC+VfDx8aZMbHY7iniOHKwIe7xCz573oY+uoVBAdQNUDeH6HsZj/foZm 4KwvOBLiZeIJjQRLqVWAVM1oUQ== X-Received: by 2002:a05:600c:249:b0:3f5:fb97:eafe with SMTP id 9-20020a05600c024900b003f5fb97eafemr2817182wmj.30.1685035224349; Thu, 25 May 2023 10:20:24 -0700 (PDT) Received: from localhost (cst2-173-16.cust.vodafone.cz. [31.30.173.16]) by smtp.gmail.com with ESMTPSA id e21-20020a05600c219500b003f604ca479esm6313634wme.3.2023.05.25.10.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 10:20:23 -0700 (PDT) Date: Thu, 25 May 2023 19:20:23 +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 , 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 Subject: Re: [PATCH v2 00/11] RISCV: Add KVM_GET_REG_LIST API Message-ID: <20230525-6e0855eb07086a96eaa82362@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 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. Thanks, drew