Message ID | 20230127113932.166089-32-suzuki.poulose@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp788201wrn; Fri, 27 Jan 2023 03:46:19 -0800 (PST) X-Google-Smtp-Source: AK7set94JpR2F6DCo5whKSm9Y0AwqZiTUXfArcYTkCT/6MbGS96qC/9lG8T+06yhbGt+kLNdd8Rh X-Received: by 2002:a05:6a20:6926:b0:bc:3523:13c6 with SMTP id q38-20020a056a20692600b000bc352313c6mr2617681pzj.29.1674819978987; Fri, 27 Jan 2023 03:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674819978; cv=none; d=google.com; s=arc-20160816; b=uAVorHTtc7rhfqct5KJy3EcfKAn895lrFWGATUnBwsKk/KLtUNX2jbj22QOPuHiowE 7/xytuONXTUNLGkzRmMFEUlyiYL5tcg/XNvkONBAvzAb8MRxTw9dyVg7eLHrKB+879JV V5hPShLNkBBVqfSdaBk0V9SWo/8MGjzsVfa+cHgnlvgqqUkiVB0bTKygomE6tHiYEdIZ uokH38v/rKZqJQqRGg+9DuyQdz7qY6pTLcjXmx4ro9mjqhqEGZ6Kti/It7kgsJDZtJiF C2McG3ppRBEiki7fQ5952ur+alXZdjfya5kZUqZBllKb84j8ggoxKrykD5zvFnl3ob0a CHPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=R29oYkVEb9BroytohBg1GajtHDXmKuwVmqR2/985BpY=; b=zwJ0ko6EhUcLyc9eRvwLHPyXlyjs/DAmTZLLJsvYitYCchLf8tlgcQSNnxyuMLmpZ+ YFuZ/e0frljTNrdM8eb1/Ghi/yCdcAuZeChFjjH7CnwxRrFkmyESY8VKv+TeJNC/8j9s CCPAsjX7Uq83Apx9ifYi7RohpG0XrmMBni4n90NsTAYP31tuTiqhR3AtgARN2Ho3wTxQ ROmBHTjGG7RCF9+tpLK0UHP2ihAd9ASFExVThIjkfaheLJDk1zxrMxQ9FNS0ecE4ULMw Eau5LkSS03CQIO7vddyOPBUdpkGicgiJc2oRnU8EaI1rjPO/A4WLvadjWwXsIlOULNe3 xGMA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a639d04000000b004a26c35feeesi4089572pgd.859.2023.01.27.03.46.06; Fri, 27 Jan 2023 03:46:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234013AbjA0LnB (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 06:43:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231487AbjA0LmC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 06:42:02 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 056107C328; Fri, 27 Jan 2023 03:41:32 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8AE0E169C; Fri, 27 Jan 2023 03:41:59 -0800 (PST) Received: from ewhatever.cambridge.arm.com (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 04DDB3F64C; Fri, 27 Jan 2023 03:41:14 -0800 (PST) From: Suzuki K Poulose <suzuki.poulose@arm.com> To: kvm@vger.kernel.org, kvmarm@lists.linux.dev Cc: suzuki.poulose@arm.com, Alexandru Elisei <alexandru.elisei@arm.com>, Andrew Jones <andrew.jones@linux.dev>, Christoffer Dall <christoffer.dall@arm.com>, Fuad Tabba <tabba@google.com>, Jean-Philippe Brucker <jean-philippe@linaro.org>, Joey Gouly <Joey.Gouly@arm.com>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Oliver Upton <oliver.upton@linux.dev>, Paolo Bonzini <pbonzini@redhat.com>, Quentin Perret <qperret@google.com>, Steven Price <steven.price@arm.com>, Thomas Huth <thuth@redhat.com>, Will Deacon <will@kernel.org>, Zenghui Yu <yuzenghui@huawei.com>, linux-coco@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC kvmtool 31/31] arm64: Allow the user to create a realm Date: Fri, 27 Jan 2023 11:39:32 +0000 Message-Id: <20230127113932.166089-32-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230127113932.166089-1-suzuki.poulose@arm.com> References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20230127113932.166089-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756176034188216757?= X-GMAIL-MSGID: =?utf-8?q?1756176034188216757?= |
Series |
arm64: Support for Arm Confidential Compute Architecture
|
|
Commit Message
Suzuki K Poulose
Jan. 27, 2023, 11:39 a.m. UTC
From: Alexandru Elisei <alexandru.elisei@arm.com> We have everything in place to create a realm, allow the user to do so. Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> --- arm/aarch64/kvm.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arm/aarch64/kvm.c b/arm/aarch64/kvm.c index 1f3a0def..422dbec2 100644 --- a/arm/aarch64/kvm.c +++ b/arm/aarch64/kvm.c @@ -104,8 +104,6 @@ static void validate_realm_cfg(struct kvm *kvm) if (strlen(kvm->cfg.arch.realm_pv) > KVM_CAP_ARM_RME_RPV_SIZE) die("Invalid size for Realm Personalization Value\n"); } - - die("Realms not supported"); } void kvm__arch_validate_cfg(struct kvm *kvm)