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 C6061C7EE31 for ; Thu, 25 May 2023 17:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231972AbjEYRUb (ORCPT ); Thu, 25 May 2023 13:20:31 -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-Google-Smtp-Source: ACHHUZ7XVIxEPsxV1O2HxjW5C+Kciziw8ncF6RMfoJyVKR3UnpdSFexzOl8yKxJCJvMncweFjvx0TA== 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: 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 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 C8830C7EE29 for ; Thu, 25 May 2023 17:20:32 +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=60jIWe48Ihf7l7okh/hg0J6doAC4qEI8Wv4vuuaZ1IY=; b=xpmFwXMVuGqZ72 3vYcHcfP+Kmt7V6cjKbQWcd0PQTzWOh74pCpChEhiiAS4UoklpESipNkj/wOCdzXXsHBZNni1SE9/ yTbnw3SJyjpj+XaR4dWZtlbmqqY47iBAw02Na1iGjBq7f5tS9hjnV61UMKVpAklpAS5LZlAzprBFy cwpi3Bg1RPGGB+y1eF7MHTAPANoP3a6fWzjmotubt4CdReOMcpdCEG4vasJZH4kFHN6xI58spjUZh 4+GD6IV7U2JrWGQtGJ0KkOdcZBqNw96yk/ssZjq68S1aqdcT87/W1/R0zIaE46oO23T/FG788KcqW Wc0DHgWfIC0I6ARhsDTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q2EdY-00HDdi-14; Thu, 25 May 2023 17:20:28 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q2EdV-00HDcY-2T for linux-riscv@lists.infradead.org; Thu, 25 May 2023 17:20:26 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3f6e68cc738so2681835e9.1 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=UOS3+yy21D4eEBIC5C+XjRgqLNs5sksGp0dERAuAsp0Qn+5VaOSwooX0tz3TiIaVy8 lz7wzUw1Lpy01VPPbvXv4XUuUSs16LF0gRxwahuYIxGqVEWHVlKspUhmJp86tFCJVMcn u9eFu4Tvb4tNL+n38NMNKfYmPwmWuFTcTQD9G6qWNNiqkR5qBh+nkojQmtl1+w3ryjHa qoWTK4wDxOIy5v/JLACJu7H3x6pC/uDs2v/rpuNa0JAksPAdZPOavXxKtVYU2dF1XcBU H/5mSYUo5eGMmgmPBngaRBBzi+PV8TvclJcD9DGoZKDcmqSaJjIy4VgqTSSkuwuthbgd XBCA== X-Gm-Message-State: AC+VfDwgDiTqnpbqejHTfKXhCt/zHgm1skGqMwguC7z0ermUJoZuegk5 yTz9Zw9/Q+y9YfOBImp473YKPQ== X-Google-Smtp-Source: ACHHUZ7XVIxEPsxV1O2HxjW5C+Kciziw8ncF6RMfoJyVKR3UnpdSFexzOl8yKxJCJvMncweFjvx0TA== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230525_102025_804396_CDB25993 X-CRM114-Status: GOOD ( 14.11 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 98EA8C7EE29 for ; Thu, 25 May 2023 17:20:56 +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=L3rkd7jdmEuAUpiFsBiGaIFt3uz66e0OEtwHe5LTTro=; b=lkWFI3ExbDPlRC SCcNDGu208WHRY5oDUruzr9ZU3EzwzxmHR4d61vtnhUfaLcgnqO9LNTktXDiVDjEiralhDmYEPGBx 9jSlFrpjDEuHc4ZP4M5p6fPX1lEGKqXHRbiiRkRiLlxR+IJrtjUlZplnz8+Z34U3DkIGR7SnM7ihk Sb2/XMyyEmnwhRglzSYOiD7UiJU/7Oe24nx+sKByBoh+woYJyBcfR2BvjGBdjSyW4nsUtfMrdAK8e cCw4112sU1IswwNdEj6FVZK6huTRYsBGTPPRN0mIJSztH84NA2xi0KRqcWM+SO3YkZkt/+Yi7480p N+ItRb8wZyN9pS9aMy5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q2EdZ-00HDeF-0g; Thu, 25 May 2023 17:20:29 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q2EdW-00HDcX-1v for linux-arm-kernel@lists.infradead.org; Thu, 25 May 2023 17:20:28 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f6dfc4dffaso5083275e9.0 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=Kas8LYT+l5/UNWTvlKA5WjfpzQ4kjvkRn9nevLwy8yZGnLXn1BYNXRCNBws4IlN1GC dJ6dd2pzfmEE6W5mu0CgZPbJ/ZaUQup4+PoDVGF8lqrOGNywi821pC4dCuEPVyV0QzKJ C+y7I8zGdNVP5gRlHahLREtk3D5y3bt0Ihv2f7K2b7zfknUrNETCM+x9n/Q5cJQPi+Lc 81fzFNKdLc1uCUu0FGEgWBaOiJ6Rln/pKx0omitsRzUCxuTxTIqyQgOrB2uc4AuUbUse ug3LlDW98mxBSBt1QCj78P8L/g+71YYwD8hUq22KQ1khbu5UQEAMiTVfuxD2fdaSrcwz Fmww== X-Gm-Message-State: AC+VfDyFjCp8xkCHOKE+IK4c1p7qXPiyj0EggTRtoeOhvAv4Np56aWze 4G5B+uLt/VuGBNCUyRebMjIViA== X-Google-Smtp-Source: ACHHUZ7XVIxEPsxV1O2HxjW5C+Kciziw8ncF6RMfoJyVKR3UnpdSFexzOl8yKxJCJvMncweFjvx0TA== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230525_102026_631425_F7771AE0 X-CRM114-Status: GOOD ( 15.59 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel