Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1859531pxm; Thu, 24 Feb 2022 10:42:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuDe7kvTHXJCLEZ+QHVP81Sw+kFkJZyqZzvqU87WsZ10b7esvRQpwumpFAaw6jczRdaFWX X-Received: by 2002:a05:6402:4409:b0:412:aac5:4e48 with SMTP id y9-20020a056402440900b00412aac54e48mr3540871eda.75.1645728162028; Thu, 24 Feb 2022 10:42:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645728162; cv=none; d=google.com; s=arc-20160816; b=Y4irIhaL37ij5XsSQUJb4f+xqE4Z+Z/gqEg/yR5kde59JhPxnSxGNwUxe/qy/pF6Dj zUaxytoaALVvhba48xbTlHuS/9ecJHb3qcDXL8FutQMq1LXvay50wPDi1cy74KQBjfpD /OzktvawdD+bP6/4e8tyfaehyQxLp3xcPHKIcKIGRGY5kCZR9T6wk8VOtF0XdkwfdLkR gsBCaT2FRtEuVAl+nRFsvty1OdwKVMDmeBiBVXFDZF5UPX51KPVPHiCbhxbJc1Te0G0X lOVIkOoOUS+932V+2i/n5stFwo58nob766T/U1kyf5e7JwoSwpmivL0sFAKg94w5ZGz3 BAtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=qK1DQfY/agZG+Ude+bPzbHAaaA6lFwTTxSo+9IjwCXY=; b=A+l9bt3OLdmh5O+Rb8RTnvDdp29X7jLEP3w3VwYK0Q7HPy0Qf1neYulvqzuF53WWQa D3Tkw1EFa+HsHoqVOn/59Jy19ePpl2ucBDlAOCDHefY0cXos/UJCSYhWs8W9KN/bM53p 33gad5paHCpQhf9aZiaQrg+pFDUJntRb5sXAf7X4qoXhBrL8hDrXjQ747FGjHZSQWFrT 5wjf05YR3Zx/NeMzJMabwVz8gPrVAUdUefw/6GlFOahMdewXxf67NBzigMMgBTM/rpyk qfzmJlhkrPr7pgeNGQbKtrH6i2/kO5pTfcmi7Z9gGqYL8ikhd9bJ61x+t7o/L/vlbc7O ZJfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=TPsbqKhx; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020aa7d1d2000000b003f7fb7dcb70si274861edp.121.2022.02.24.10.42.15; Thu, 24 Feb 2022 10:42:42 -0800 (PST) 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=@google.com header.s=20210112 header.b=TPsbqKhx; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232080AbiBXR2S (ORCPT + 99 others); Thu, 24 Feb 2022 12:28:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbiBXR1O (ORCPT ); Thu, 24 Feb 2022 12:27:14 -0500 Received: from mail-pg1-x549.google.com (mail-pg1-x549.google.com [IPv6:2607:f8b0:4864:20::549]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C5D711C01 for ; Thu, 24 Feb 2022 09:26:38 -0800 (PST) Received: by mail-pg1-x549.google.com with SMTP id 145-20020a630397000000b00373b72d65f5so1413485pgd.12 for ; Thu, 24 Feb 2022 09:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=qK1DQfY/agZG+Ude+bPzbHAaaA6lFwTTxSo+9IjwCXY=; b=TPsbqKhxmc0T+PxetBwAhdG6CCG7ROWrKmUGN3BsssTeSIgoXUOQnngTK58e76sGaV 3u/siqCCo3eM5DO0OYSsT4wYCrRT+O8kY+a4+AnYqBHGb0Rj5B7cI0Hp7dOYnMvbxAD8 RoAw7AYWgYK31cWIx7Yp8Ht4bfU+zuvlAoRR0OqLqR3iivh7tqnsNUSy8KpcavPHrnPn cHFxdJp1nmX7PTiWQDXtuL0nBeCqePhweoxs03ebVOn+oECM3dk8KZwiP6X63bDShGe/ UcGW8KmUCjDJRi9tzyMH1ow70Y2j+cGCEuvyTbgcVe9mx5/NjKgrxZVEBbSazCAcGvGj 1GHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=qK1DQfY/agZG+Ude+bPzbHAaaA6lFwTTxSo+9IjwCXY=; b=ssCVKueuCKIc5aC67Viho5XXOanS/usjP+y1rt224u5tgK75EpxNf03LH/FHD+bqbC PdFxdvedVb2OIB0XhES/KMa6FA0lz6zc0czaQRHE+rJwPGCNRaDl3AKcdsl8aSznn1Zh pCrkmORbh+GeRu6NsIAhPFurwlHZu3aAVXxx7gZ02vD84+HpEgYuEnCWwUu8/RpcjLdr uuI4fuMViu6clmleUPT5ckibOgZgb3AxCas/vfmVYzGOLdBR1LLnbIJmmQVWx1K8QmBd BxrFo5x+eHZsdcu3y3etqlNjxrI3uWqeJM0TTsM2SIvU6K+0BYPlozFGPyz/4Z9HQgcW PgKg== X-Gm-Message-State: AOAM530DXM/VAad4ZWJz3IWbcn64wsJCqemtXel+J4LGisKEwDJ2GDa6 8/UXaANive7C5/coc35uhyKu20jDCIre X-Received: from rananta-virt.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:1bcc]) (user=rananta job=sendgmr) by 2002:a05:6a00:248c:b0:4ce:1932:80dd with SMTP id c12-20020a056a00248c00b004ce193280ddmr3851504pfv.48.1645723597604; Thu, 24 Feb 2022 09:26:37 -0800 (PST) Date: Thu, 24 Feb 2022 17:25:59 +0000 In-Reply-To: <20220224172559.4170192-1-rananta@google.com> Message-Id: <20220224172559.4170192-14-rananta@google.com> Mime-Version: 1.0 References: <20220224172559.4170192-1-rananta@google.com> X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog Subject: [PATCH v4 13/13] selftests: KVM: aarch64: Add the bitmap firmware registers to get-reg-list From: Raghavendra Rao Ananta To: Marc Zyngier , Andrew Jones , James Morse , Alexandru Elisei , Suzuki K Poulose Cc: Paolo Bonzini , Catalin Marinas , Will Deacon , Peter Shier , Ricardo Koller , Oliver Upton , Reiji Watanabe , Jing Zhang , Raghavendra Rao Anata , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL 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 Add the psuedo-firmware registers KVM_REG_ARM_STD_BMAP, KVM_REG_ARM_STD_HYP_BMAP, and KVM_REG_ARM_VENDOR_HYP_BMAP to the base_regs[] list. Signed-off-by: Raghavendra Rao Ananta --- tools/testing/selftests/kvm/aarch64/get-reg-list.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/kvm/aarch64/get-reg-list.c b/tools/testing/selftests/kvm/aarch64/get-reg-list.c index f769fc6cd927..42e613a7bb6a 100644 --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c @@ -686,6 +686,9 @@ static __u64 base_regs[] = { KVM_REG_ARM_FW_REG(0), KVM_REG_ARM_FW_REG(1), KVM_REG_ARM_FW_REG(2), + KVM_REG_ARM_FW_BMAP_REG(0), /* KVM_REG_ARM_STD_BMAP */ + KVM_REG_ARM_FW_BMAP_REG(1), /* KVM_REG_ARM_STD_HYP_BMAP */ + KVM_REG_ARM_FW_BMAP_REG(2), /* KVM_REG_ARM_VENDOR_HYP_BMAP */ ARM64_SYS_REG(3, 3, 14, 3, 1), /* CNTV_CTL_EL0 */ ARM64_SYS_REG(3, 3, 14, 3, 2), /* CNTV_CVAL_EL0 */ ARM64_SYS_REG(3, 3, 14, 0, 2), -- 2.35.1.473.g83b2b277ed-goog