From patchwork Fri Aug 27 10:16:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fuad Tabba X-Patchwork-Id: 12461857 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8CDDC432BE for ; Fri, 27 Aug 2021 10:19:20 +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 78BAB60FDC for ; Fri, 27 Aug 2021 10:19:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 78BAB60FDC 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=2kycN6FfK3/huIu8r5Y0t7v/Xad9qZLSEOCKQm0DuUE=; b=P1LzBqvdT+UPch2cFBh41zQYIK +br6tJ4qFCU7qwB1z9RJRWIvROy6zIyH/KxrpJx7m6nBwbaaShSYajD3ZLzZLahStxYkmO01Dyz/w rxXRS9wx8eku7ERvqR0TXIAK15UUEnR8FwdlSI2iImV0VmFdIQ7To0cllYxSMPyc4Ed7Qjt2NVlH6 xjLnlWAMPlC2IYatDyPmnKZGWwRHu0Gwv+UYFphW4J2yFFSnqLx0qKcncqoUykQ8hAJE1PDB3o6dq fFTlJwsfIeiyzgVyUsD/3C9+XSOohG7I30QcibOM+HMssJrfwfkUsXUBsethbDaaUqOOqWpTg4mpJ NrQCAklQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJYuf-00CE23-QI; Fri, 27 Aug 2021 10:16:41 +0000 Received: from mail-qk1-x74a.google.com ([2607:f8b0:4864:20::74a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJYuI-00CDxy-Ru for linux-arm-kernel@lists.infradead.org; Fri, 27 Aug 2021 10:16:20 +0000 Received: by mail-qk1-x74a.google.com with SMTP id w2-20020a3794020000b02903b54f40b442so489412qkd.0 for ; Fri, 27 Aug 2021 03:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=KX8dWkVT+7qp2o5wgzztnL/TjK4rsIbskb1FytAuhHQ=; b=IIOfuk/8nIQZSSjOcxde0I6sd1i3XbS/k4mpqYXVxXZs7bIPMgKrNkS3KWZcguE5eQ 0Fa27eJ+SO0liN88PqhjvNhLct4wCDiroSiV9TFlHhQuFJrEv4ulviWgZPk8CT9Pumpm BJJ4iNC7UiJYT8tmQl2ni41OY6GsMh33R0FDK0wxiAHLd66DLL0sPupulyxZnDj4DE2s d68YtA5/ntycpLiPXcuQOKAhzEYo+IpYowcw8YXlYfVx0MrIUUJ6r7SIxGCSRWKk1w7D mnVKku6jOaNaSG4YMod+1f7XSvyDY9dmx0UdR1E9S/gV7xh9Vq63ZGTsq/oN8ETXelrl 71RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=KX8dWkVT+7qp2o5wgzztnL/TjK4rsIbskb1FytAuhHQ=; b=RApMazuFCyHRLvpMUud6If15noYeZubzhpSHrcOwIEd3yxOLjRdxVG48Qf898MKedM VJj35WJveS7TflIAqFyN+u3o9C+EKZ7zm1uDRzHzFUwlv0wsrCq5aOOiwYOVz6BImOdu GlnoocKXDh0A6E7gXW8tw4E6lCuTa3WBUl4ZGUSt5Ho9KEEaNBEhpZRCNODFtNRT/tlY VumkQtc8ee2EGKaw18j+Ywb4L0wMSCvJbGZM94VUh0w7+o+LK3Hn5rQq569EXRyvubeS hCznZkv4ihKmWo5ZMntF/fy3LYoS1SEtucXj8xLoHwjbik/vF6P42bvhkLtdTR3xlZ5f qWew== X-Gm-Message-State: AOAM533O6i0WfCwJ/csdlYCGFuzFtIdwFpXHF7y9P6Y7LVQiSkr983uy 9y6gvnzP3eKxwCvQB2HBRt7zWH+HHw== X-Google-Smtp-Source: ABdhPJyLOQHqGi7X3qrRZ3x7KXpEc+43eQb9QgrNWhLDvOaIysfhOoD6wUPEKMylthJrErCd+rKMH1n+Og== X-Received: from tabba.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:482]) (user=tabba job=sendgmr) by 2002:a0c:e803:: with SMTP id y3mr9071549qvn.39.1630059375607; Fri, 27 Aug 2021 03:16:15 -0700 (PDT) Date: Fri, 27 Aug 2021 11:16:03 +0100 In-Reply-To: <20210827101609.2808181-1-tabba@google.com> Message-Id: <20210827101609.2808181-3-tabba@google.com> Mime-Version: 1.0 References: <20210827101609.2808181-1-tabba@google.com> X-Mailer: git-send-email 2.33.0.259.gc128427fd7-goog Subject: [PATCH v5 2/8] KVM: arm64: Add missing field descriptor for MDCR_EL2 From: Fuad Tabba To: kvmarm@lists.cs.columbia.edu Cc: maz@kernel.org, will@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, christoffer.dall@arm.com, pbonzini@redhat.com, drjones@redhat.com, oupton@google.com, qperret@google.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, tabba@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210827_031618_951604_03C7D9EE X-CRM114-Status: UNSURE ( 8.47 ) 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 It's not currently used. Added for completeness. No functional change intended. Suggested-by: Marc Zyngier Signed-off-by: Fuad Tabba Reviewed-by: Andrew Jones --- arch/arm64/include/asm/kvm_arm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h index 327120c0089f..a39fcf318c77 100644 --- a/arch/arm64/include/asm/kvm_arm.h +++ b/arch/arm64/include/asm/kvm_arm.h @@ -295,6 +295,7 @@ #define MDCR_EL2_HPMFZO (UL(1) << 29) #define MDCR_EL2_MTPME (UL(1) << 28) #define MDCR_EL2_TDCC (UL(1) << 27) +#define MDCR_EL2_HLP (UL(1) << 26) #define MDCR_EL2_HCCD (UL(1) << 23) #define MDCR_EL2_TTRF (UL(1) << 19) #define MDCR_EL2_HPMD (UL(1) << 17)