Message ID | 20221104062105.4119003-7-usama.arif@bytedance.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp202362wru; Thu, 3 Nov 2022 23:23:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rwCMNFQnsqJ4pshmLG2XQnoJGUYWy2v3vVxAeHmNUMhYo4fUDuG9mKDYp97p/RtqeICr7 X-Received: by 2002:a17:902:ef89:b0:188:5e9a:c665 with SMTP id iz9-20020a170902ef8900b001885e9ac665mr4192124plb.62.1667543000594; Thu, 03 Nov 2022 23:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667543000; cv=none; d=google.com; s=arc-20160816; b=lU1birjnef+PBGD35dKwoPmK7VaXZy5QY2ip1n89ihHXiHCrUAf6xPbwAmJCkI6i2r YL4TIxwSlyQk9PbImYvHcWslc1jEmfvgLaMZj9YFp2B+a7yKbu8AUk5lokd3S6yi2xDW B4mRelpyvViRCGbQyNBEBCEQChmTdLKTAOeh4f7dNloNuB20Dz5E5R4fGpOKOq6vvQD8 TQfak/RDuvmh6k1jbei4slswiXwshj1A20qzalvJIapwzw79o3eePxJtuDYsDtv/Fw8v ZVKm1tJn/KAlCzikn+Zu4s5CKlKTwzSwZg3s85fSWbuqd3LApKuyNSLc5sl5VA3b9c0Z QHHQ== 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 :dkim-signature; bh=lCXwZ5vfNe4SOPsgVDOzi3k6ifSwUdOjW1NH0sg+5rM=; b=RPXlqQ6uUjWzkO5rYx12d/FPw30EiPi0q7BGuJaG8xozg9hrwAPhJVN3tw1MdGgWUS W7QbO8B9UV0RNLg/0tPmNRC1F3EyJgChDGj1J+BYdIuRxLyHad+BBuuN5LibnkIRr4c/ E6EKZF0e8DMi61pnV2M2oFpbrEHDJ7gAAzl8sOw+UwwwZDGyqFms+yvIHQoYZPzZ5PVx K4SKvwZ82blbxT8AI505k6jYKyoFdwM2Nyf5qMm0YntbRzew6pLmRXiupi0QTlLhCzpa dKip4K74y0x9osKrIyoN8e/XQ6mrH0UVdGImtLj8I1KXKlM08CCRVvpPSMLG3E2ooZ8T WBDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=zcl272fo; 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=bytedance.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a170902ca8300b001869cf73143si2730063pld.314.2022.11.03.23.23.07; Thu, 03 Nov 2022 23:23:20 -0700 (PDT) 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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=zcl272fo; 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=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbiKDGV4 (ORCPT <rfc822;jimliu8233@gmail.com> + 99 others); Fri, 4 Nov 2022 02:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbiKDGVa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Nov 2022 02:21:30 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76012A72D for <linux-kernel@vger.kernel.org>; Thu, 3 Nov 2022 23:21:21 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id g12so5636257wrs.10 for <linux-kernel@vger.kernel.org>; Thu, 03 Nov 2022 23:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lCXwZ5vfNe4SOPsgVDOzi3k6ifSwUdOjW1NH0sg+5rM=; b=zcl272foHL4KaayQq1kq5oJeQSUrmBhZUd7b4kRoVJiQ5379j2ZkkOfI1EwRxRzFbE 8rvWRUY2sP15++X3oRb2vdl6yJGi0+bKBKI6aS3gNmHmrJjKoyDsAQoHcPv8kv5lLrhr +CVusvt/P6/aSZM3mL5e9GYEj9TX3cZIG10RgXGN4aOK1aQZbxs/VQrNJ6Yh01d4SJmw 2j6WPlHvWC98Hi8oBUVjYV06h3Z9xVvnI+/Wk8kTNMg904MfJ9BgQg5j8lew/yNY7m77 M59jT/uKm3xEaphlt/qItM9WVOx7TqB7BRo8gJGkU7ZHLJnEvNi8hmUfQIdffryUu+y6 F4Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lCXwZ5vfNe4SOPsgVDOzi3k6ifSwUdOjW1NH0sg+5rM=; b=YVyH32v5NHCuu7V1CIrxhcHpIIkvvibwtBaK0bTF3aqnazCQ0ZPCsDkflyuwaHp3xz +kf+dnwiKxCxVhRJFgVrpnRFuqm5mwP68cewIBBhp5oeOvTB1z2YOZmeK2Z4vfY50mYb 4OAm2IwOognjRkyfoMc4PSWwLF66rNicFWrroMgfcgm5g1SSjLbs9uEV2dcqN+wzb4yy 07NIRSGsLNzPD/lxPaJSYLk3MJFO6AYLlw+oj7XwjUqtgjXKo+/RfLD/gwhH/yU2RnzV pKiv30xmM3mD1xasXsMpR1Dl9y9aApVit0QhggR2F8HNgVdoifg+5Tzj3GkPxv+pq6as xi0Q== X-Gm-Message-State: ACrzQf1hu1ETZMrpFUPaaVbqZBx/Q7b/6SpNoVnanVI73SQV4voVvSfW sSYEqOjy2l4vvS7KyzWkNWOtDVWTp8NogQ== X-Received: by 2002:adf:fe8e:0:b0:236:6860:e55a with SMTP id l14-20020adffe8e000000b002366860e55amr20229508wrr.105.1667542879959; Thu, 03 Nov 2022 23:21:19 -0700 (PDT) Received: from usaari01.cust.communityfibre.co.uk ([2a02:6b6a:b4d7:0:c7c:f931:dd4c:1ea6]) by smtp.gmail.com with ESMTPSA id w11-20020a5d608b000000b002366f9bd717sm3099924wrt.45.2022.11.03.23.21.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 23:21:19 -0700 (PDT) From: Usama Arif <usama.arif@bytedance.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org, linux@armlinux.org.uk, yezengruan@huawei.com, catalin.marinas@arm.com, will@kernel.org, maz@kernel.org, steven.price@arm.com, mark.rutland@arm.com, bagasdotme@gmail.com Cc: fam.zheng@bytedance.com, liangma@liangbit.com, punit.agrawal@bytedance.com, Usama Arif <usama.arif@bytedance.com> Subject: [v2 6/6] KVM: selftests: add tests for PV time specific hypercall Date: Fri, 4 Nov 2022 06:21:05 +0000 Message-Id: <20221104062105.4119003-7-usama.arif@bytedance.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221104062105.4119003-1-usama.arif@bytedance.com> References: <20221104062105.4119003-1-usama.arif@bytedance.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <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?1748545569830658405?= X-GMAIL-MSGID: =?utf-8?q?1748545569830658405?= |
Series |
KVM: arm64: implement vcpu_is_preempted check
|
|
Commit Message
Usama Arif
Nov. 4, 2022, 6:21 a.m. UTC
This is a vendor specific hypercall.
Signed-off-by: Usama Arif <usama.arif@bytedance.com>
---
tools/testing/selftests/kvm/aarch64/hypercalls.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/kvm/aarch64/hypercalls.c b/tools/testing/selftests/kvm/aarch64/hypercalls.c index a39da3fe4952..c5c304e886a5 100644 --- a/tools/testing/selftests/kvm/aarch64/hypercalls.c +++ b/tools/testing/selftests/kvm/aarch64/hypercalls.c @@ -78,6 +78,8 @@ static const struct test_hvc_info hvc_info[] = { TEST_HVC_INFO(ARM_SMCCC_VENDOR_HYP_KVM_FEATURES_FUNC_ID, ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID), TEST_HVC_INFO(ARM_SMCCC_VENDOR_HYP_CALL_UID_FUNC_ID, 0), + TEST_HVC_INFO(ARM_SMCCC_VENDOR_HYP_KVM_FEATURES_FUNC_ID, + ARM_SMCCC_VENDOR_HYP_KVM_PV_LOCK_FUNC_ID), TEST_HVC_INFO(ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID, KVM_PTP_VIRT_COUNTER), };