Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4611001rwb; Tue, 17 Jan 2023 03:14:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsttKARtxn4PhUO89F2jIv8gr/8SkiIPa0I1YPI9yOk9uutiNlIE8yDONceF+gPBv4LMJ4m X-Received: by 2002:a17:907:1248:b0:7c3:e3ef:bca1 with SMTP id wc8-20020a170907124800b007c3e3efbca1mr1761234ejb.60.1673954079269; Tue, 17 Jan 2023 03:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673954079; cv=none; d=google.com; s=arc-20160816; b=JVVNn/qAXcYxY45Lhm0lWPwEN1IJG23feEzFMaqlxzlqZsy+XN6FSetBKCCKRLmjWa BvGv4xZV96YjJrmGKFNnC6ebodNmf2TrXYL5vwYi8EyXTMOVLNzEiENItdhA429laBT/ 7PI40ooez327V0il3lb2tkbEeoRwpOByxGTDqsW6SFx/VQJPyh45iqiV60T9nXWlffBX YXg8JAfz+ADhnx29kvSgEpKft1kJM3fNP5RGSgbW3LULWipuwMH6kmDMnGKs5j2mRBLh NGGDM84WrhF/ep1Nks/D0Yhe4Az6S+nrOhMKW8iUyDpSvd8Vk13mFH5cqrjWXk1XPG5j G5zg== 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=goLYN8wqlsD2nf6BsyoWezQkBOY9czu46tASmcKkV+U=; b=SNuEiSJ8rEt8mJYluKaNNom17q0GW9lNYM9zPScrEhl+eWJAqRVrzGNw5kP8AaRQXI CwE0sR8fS18NWnOmkgbhFdI7VYiMuYRg5Iiyg7dAcx3MgYoHvDgRo6NmFu7FVS1LJXt8 Uc7SG8ultomjKaNY6qiT8s6Iiw9ELUMZ+AL2busPwjQoXbOagYxC5vA7snzUhuLwSh8I lUyUn64KzHxss4rSVuaNo/1CBMoscTnYhfRxa7felI8ZEfRWkNi3GN3zr6v/Ja176yhN SGVZNFG7QxGJlxX2EkeA5C4A+i5uPQ79/TFYaVx5mdLsvDaVbwX/+MQzjriRB3od/9oA RIqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=LW9v+FSh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd22-20020a170907629600b0084d0b4b4fcdsi24780042ejc.194.2023.01.17.03.14.27; Tue, 17 Jan 2023 03:14:39 -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; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=LW9v+FSh; 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 S236407AbjAQKbG (ORCPT + 49 others); Tue, 17 Jan 2023 05:31:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbjAQKaZ (ORCPT ); Tue, 17 Jan 2023 05:30:25 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86AF531E01 for ; Tue, 17 Jan 2023 02:29:41 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id t5so25664134wrq.1 for ; Tue, 17 Jan 2023 02:29:41 -0800 (PST) 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=goLYN8wqlsD2nf6BsyoWezQkBOY9czu46tASmcKkV+U=; b=LW9v+FShzNaYNEA1fCcvsuL+gmKoaNWBCzkVb4IqUJxu1VFQQzmE7D5c17K+jU4E58 k1nFdkZWgTq1OLh4PWwMAjMkTCyGqAyQm557fme7cOxRFBoSDzU7std4+dXQykp0Jadc 4ZHR482J2vcLi190UZzizoeaz9p8YaeZJUC5mEV59GPwotY2dZO7HWCS2njWJnDhhl2O 6nskecHf7DR8Ln5Y1lQS9KhhAJTiEvb0U0q6Fq++VnLONiICwidHPQYzKqA/u3Dqn1fx 2EpcFw/uSRGraDNCs2I2Zw/1PizGqcB7GLAJJs3HIk6fzt2V1+zbJ96Sx2kk1u3VO6c7 znOw== 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=goLYN8wqlsD2nf6BsyoWezQkBOY9czu46tASmcKkV+U=; b=rFFN3d3Dh6GdOOEO5/UR7wGrq2G4Prvk1MgabzykNBFuW+DpiUU67GyakN6bQYjsAT 7BRwZkGvvqYt1ZB+7eK66jvVjRHnYNyJwdbErd7cAP1O6Lgf1Wqp4l+N+kbB0xz/FSxi P1ybcYJg1Nvi373iG2BrJLKePm4AMxiHDqlTGeIcRb58fJmi7NbHewBGbQzsquul+7/u MY2KtyJFuvcH18j+Or9Z/fG6Fq4DpONrFcUzaXzm7tUFmKqnsnW70v7DamvJqd+siG/h fczHUUWHeqr2PTiRKXIwJVfD63vhmr6FN/KkgfdwjdqKhxmAgQrcCpy6+xuxX7pY8e/9 fmoQ== X-Gm-Message-State: AFqh2kop3i3A5Cd2dCqd1ussy13jeVCraad7oS4gqKa13aCLvuVOXlYk NbfwZkBuz60yL+gMzCuigXGE3SJsCBmVi787L+o= X-Received: by 2002:adf:edd1:0:b0:2bd:c6ce:7bfc with SMTP id v17-20020adfedd1000000b002bdc6ce7bfcmr2267011wro.42.1673951380954; Tue, 17 Jan 2023 02:29:40 -0800 (PST) Received: from usaari01.cust.communityfibre.co.uk ([2a02:6b6a:b566:0:17d8:e5ec:f870:7b46]) by smtp.gmail.com with ESMTPSA id j15-20020a5d452f000000b0028f9132e9ddsm28389844wra.39.2023.01.17.02.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 02:29:40 -0800 (PST) From: Usama Arif 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, pbonzini@redhat.com Cc: fam.zheng@bytedance.com, liangma@liangbit.com, punit.agrawal@bytedance.com, Usama Arif Subject: [v3 6/6] KVM: selftests: add tests for PV time specific hypercall Date: Tue, 17 Jan 2023 10:29:30 +0000 Message-Id: <20230117102930.1053337-7-usama.arif@bytedance.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230117102930.1053337-1-usama.arif@bytedance.com> References: <20230117102930.1053337-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: X-Mailing-List: linux-kernel@vger.kernel.org This is a vendor specific hypercall. Signed-off-by: Usama Arif --- 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 bef1499fb465..375bcc4126d5 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), }; -- 2.25.1