From patchwork Thu Apr 7 01:16:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra Rao Ananta X-Patchwork-Id: 12804311 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 0BF43C433EF for ; Thu, 7 Apr 2022 01:41:53 +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:Cc:To:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+8InUflh8H2C+QNPzu5JMiV0hYkWnWudkKzEGGSS1q4=; b=VyuNXPoZwsCVJqzzLRR3LD+5WZ QxJOGG9ezcEq5jdEhkNUqq9IUmiqJSk6dVLKEnYO7Dg3CL5Ylqq5YpR1aXGiyBHD6yrEpwmdnGhOE deuSGsem9V2fCPws/5741aTiNjWLRf6k+fpV5V2xR4gFOCmwDuhdM6YaOQFVDNr+4og1tk853os/S vRutmzu7DHnH/F+LSVrGRj+D9LX8SCaew866K99YBFEHyfz/fPnD95ExgTsbe8W8z5xw8ITayPDlP 5/LNjjfNrybOAUSTMsqynTrRRVL+8To9L3I0qeS0k5ws0A79v4lOkSnAIdbCMmRWtIbFXF9bMVkTw 9vmH50ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncH8T-008hmm-8m; Thu, 07 Apr 2022 01:40:33 +0000 Received: from mail-pf1-x44a.google.com ([2607:f8b0:4864:20::44a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncGlE-008XGn-AD for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 01:16:37 +0000 Received: by mail-pf1-x44a.google.com with SMTP id y26-20020aa793da000000b004fb7c6f5d10so2472526pff.1 for ; Wed, 06 Apr 2022 18:16:30 -0700 (PDT) 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=bNkFmzFNlQeAcnvu9GC9OTshsJeI+rH6kiFRlwb3YBU=; b=K8Gs9++5sAjjhKmOk+cuBZV91Fgx1F2Mc9/ihaqPTpvvoSDaAbLdCPmuZPTlG68if4 P+L4S4dZumJgdSzNaEYVh+GredXixyyYlIw20G4uFBWxPVYkE4B4SKiO/claX7T8fsqZ 973YmBn98DfC32Jfkfmhgw6w0dQlXY+5zJIAo0HS7siO1awykxEQcHKvmgE2C7Wulzf+ yCe+cXmw+ol7FZCVBquExv//U+Raiq+r8EeVZnh/Gvh67wftRg0AnrEFREcqmr/YtDAx MWqy6tOmw/VyRjst4kEyYRT0NdHa9vj5NDXg6tBeIW1fR0zgikI1q556ZrgXu7cgVb66 SJCQ== 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=bNkFmzFNlQeAcnvu9GC9OTshsJeI+rH6kiFRlwb3YBU=; b=2FzUDgw0TteMEh79YNuN5bBUU29Z1cMAb6VbjVaq/0AZHKvfBGX/4nbN2lTzXgG4D7 jb31xprYT5VMgaK7QbvNge6WrYSCbX/A8OypmgdFkN7e1EC++VaJgxZe1YFpx85VvNru e1OPGNaq2Bo+7UI6fDh4nKLA8Eir6j647hBP78VmLalUR7qWBEXT5ZUN7Czutujtf78v xgTaD/5TKamTVXsIYMO00KpF3Us9aXTllBWz2jA4j9SGT1h6tZke8JbvPAh7CdxXoekI LARaK05McB3+PPZ753scnZh6gvKz06LG4Z0c/88r2f42JqiFaDaV+JYwDIFVPIpTOCJh s2AQ== X-Gm-Message-State: AOAM533OUqBRvg5BI4Yu1FNVzPmGDke6mw/q3O3izmc8kImfDGDGhz9t eLL0UNS8ErDwzZujjrN++7W0+8lk9Whh X-Google-Smtp-Source: ABdhPJw3H13JfmsLMr/v01PnuQI5IQ6Tom5pq0QlYE+3A76jaQsbAEjlYFdMr4kCXy4hfGM3I3np0WoSyb7z X-Received: from rananta-virt.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:1bcc]) (user=rananta job=sendgmr) by 2002:a17:902:7088:b0:156:1aa9:79eb with SMTP id z8-20020a170902708800b001561aa979ebmr11197910plk.71.1649294189989; Wed, 06 Apr 2022 18:16:29 -0700 (PDT) Date: Thu, 7 Apr 2022 01:16:05 +0000 In-Reply-To: <20220407011605.1966778-1-rananta@google.com> Message-Id: <20220407011605.1966778-11-rananta@google.com> Mime-Version: 1.0 References: <20220407011605.1966778-1-rananta@google.com> X-Mailer: git-send-email 2.35.1.1094.g7c7d902a7c-goog Subject: [PATCH v5 10/10] selftests: KVM: aarch64: Add KVM_REG_ARM_FW_REG(3) 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220406_181632_464728_E4B6C70D X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the register KVM_REG_ARM_FW_REG(3) (KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3) to the base_regs[] of get-reg-list. Signed-off-by: Raghavendra Rao Ananta --- tools/testing/selftests/kvm/aarch64/get-reg-list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/kvm/aarch64/get-reg-list.c b/tools/testing/selftests/kvm/aarch64/get-reg-list.c index 281c08b3fdd2..7049c31aa443 100644 --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c @@ -691,6 +691,7 @@ 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_REG(3), KVM_REG_ARM_FW_FEAT_BMAP_REG(0), /* KVM_REG_ARM_STD_BMAP */ KVM_REG_ARM_FW_FEAT_BMAP_REG(1), /* KVM_REG_ARM_STD_HYP_BMAP */ KVM_REG_ARM_FW_FEAT_BMAP_REG(2), /* KVM_REG_ARM_VENDOR_HYP_BMAP */