From patchwork Tue Nov 2 09:46:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Upton X-Patchwork-Id: 12598271 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F84BC433EF for ; Tue, 2 Nov 2021 09:49:51 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 72E9F60F4B for ; Tue, 2 Nov 2021 09:49:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 72E9F60F4B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=R3ZqaftO9arQxDWF1Q+seFqpcnCle3b7iIZo2oYQkx8=; b=NhdQfkQTbEXup5u2p37W0REwqp yoNq4cxwWu8J43mYttILdP8lhqCUgP6BzLAWMUdyZVYUBxf1QUTed8+lzqdM5/3dOUNiBzkgzc2EU SdKhOSb0dgwxPZw/ZOuZSv2jWlnX0UZjuSZYu6eqalC8QJKfE/G1H8ycZDyz485yoyD/CMywTzodC F7C6b2uA6lpUhsR0CzOgwOHluUaLBnjceLceJUu4HWb427jFjha6RqZs6eYnlRzlRsCZobLhEMsCy AJqfj1o0y/cRPBRUfVnauQQ+3KAWUynW2O10aDR/DCictH98VqPN9lg1Wq5yrpwxqgkk02WIDgeCO Xh7nvc9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhqOp-0019E9-3N; Tue, 02 Nov 2021 09:48:11 +0000 Received: from mail-oo1-xc49.google.com ([2607:f8b0:4864:20::c49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhqNm-0018oR-Vs for linux-arm-kernel@lists.infradead.org; Tue, 02 Nov 2021 09:47:08 +0000 Received: by mail-oo1-xc49.google.com with SMTP id g29-20020a4a6b1d000000b002b6cdb462ceso9614970ooc.5 for ; Tue, 02 Nov 2021 02:47:05 -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=nEjtp48gVyB++aYe5TOFGmHYLzUAbR8AMXiOP8caS+Q=; b=PH5s6nRr9C9ryg6R7K3KVE7lekvhJ4vWen1srtKgyckfyIL506uPsp1thUwsDGBp2I s0rtpTcgH5+RkIAsgGui4xxyoFy2FcKhuqD+zlL2WiqoCNePlOfIDPzVfVMzLVNidPjE kDEqKvU6sNqdwfuqSVPXBVcUcyFM0qCKpCDbvWbSDAhF1onWqasK3EH8UcK/mYSHPksz mu2apwuLuFAzZv2kxhvJanRAtOYb3H5MRH72mlIaj7J5/KI9xqRFZFs16+BhvHOxddyt 171ryqXBNwgM1szDlWottlMAZQwysc78EQeNEGivOGb68Tzn2pW9Yt4pXEWl5Giqs3mz GENA== 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=nEjtp48gVyB++aYe5TOFGmHYLzUAbR8AMXiOP8caS+Q=; b=a24EqAaC/9WmRYTyYA2Aypb4QxGRS5dwgUTk5WRVHbgaHkl03ZoBS46SndTXGOojiU 0nK3w+Ccygx9eIKpoGKTdfrFPT0pdI+pHPpNULimH2gM0KUJ4a1IDskR2Bkb2K6eIOgX LZvzQw+Y0CY2Juvnoaz1lqenxAM/izCsnX55GCnPfxd2HzfhfpgX/73xLR4WomBqsXKL 0HkcekYEeP7qQDSeDds9oJK1TFy08spCJBDbmRHU2dFqUTiBww+HpZdvS9vB1teBH9ah NYPc+qujFd29df7lu6cUQYfw5ixH2vqvhy8G+jBcjAJEQyhz2QIxCHexXoyJoTnv9YOY 98Tg== X-Gm-Message-State: AOAM5308+1jVam4f7xdTaJ2+PLz6BNLQJtkaPuepzqKbNGwRJMapzaE1 clpK3fFIdKW3rJpaqduxnlSUzazXoMU= X-Google-Smtp-Source: ABdhPJxr747gitpVlJ/b+QoTgbMhfsQFRzNX4vE8pGYUrpL6y/peDJCUncRK+fGW//73XuPwhgpbn5iWeqM= X-Received: from oupton.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:404]) (user=oupton job=sendgmr) by 2002:a05:6830:1ace:: with SMTP id r14mr25706515otc.232.1635846424779; Tue, 02 Nov 2021 02:47:04 -0700 (PDT) Date: Tue, 2 Nov 2021 09:46:50 +0000 In-Reply-To: <20211102094651.2071532-1-oupton@google.com> Message-Id: <20211102094651.2071532-6-oupton@google.com> Mime-Version: 1.0 References: <20211102094651.2071532-1-oupton@google.com> X-Mailer: git-send-email 2.33.1.1089.g2158813163f-goog Subject: [PATCH v2 5/6] selftests: KVM: Add OSLSR_EL1 to the list of blessed regs From: Oliver Upton To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, Andrew Jones , Peter Shier , Ricardo Koller , Reiji Watanabe , Oliver Upton X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211102_024707_058481_A9F9D998 X-CRM114-Status: GOOD ( 10.12 ) 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 OSLSR_EL1 is now part of the visible system register state. Add it to the get-reg-list selftest to ensure we keep it that way. Signed-off-by: Oliver Upton --- 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 cc898181faab..0c7c39a16b3f 100644 --- a/tools/testing/selftests/kvm/aarch64/get-reg-list.c +++ b/tools/testing/selftests/kvm/aarch64/get-reg-list.c @@ -761,6 +761,7 @@ static __u64 base_regs[] = { ARM64_SYS_REG(2, 0, 0, 15, 6), ARM64_SYS_REG(2, 0, 0, 15, 7), ARM64_SYS_REG(2, 4, 0, 7, 0), /* DBGVCR32_EL2 */ + ARM64_SYS_REG(2, 0, 1, 1, 4), /* OSLSR_EL1 */ ARM64_SYS_REG(3, 0, 0, 0, 5), /* MPIDR_EL1 */ ARM64_SYS_REG(3, 0, 0, 1, 0), /* ID_PFR0_EL1 */ ARM64_SYS_REG(3, 0, 0, 1, 1), /* ID_PFR1_EL1 */