Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1864807rwo; Thu, 3 Aug 2023 00:29:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlEM+//R9Fhv4cTiEpGnKN7yyaA1otmXGBmbTXQXKQP3g+9tVqXaIs1BxhC64vLJrZOYAsg1 X-Received: by 2002:a17:902:d511:b0:1b8:b3f9:58e5 with SMTP id b17-20020a170902d51100b001b8b3f958e5mr19123210plg.38.1691047750423; Thu, 03 Aug 2023 00:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691047750; cv=none; d=google.com; s=arc-20160816; b=fW+YlbOVibUX0v4ROCEyYZS5ke4iv+J+qI36HGxVe7BAdCZQNyJ0eE7Sc7WIkhqUMZ 1I7IppBoKmWqozF8IsL/In+1nwl1vGwXcoeb3q2j4l6LPGGfX1pDvBWU/JvtYLpb3iFL mpZ2hxABS0XK8nZozPqOuCpHYnpNfluN3P4xCJbAOEllHP0UWG/vXLOEF1NbFXXXIWmR gtxWTP6R7JF0xzKA4JK6oE+gqn2vSWGUxjSDCePb3/c0XAjekT96W1A0f8Dvi5TjW7nf TFGeMhTXwaemgwU/HOCh4BVYfRZK7TPi95X1IfAV2nkMNRghBuNISDLyl9BqFF8/gz5g epjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=NWE2X2K4xyqD4ruC5ikx/0WcQrATheI65bYoncEkxIc=; fh=41RNoEzjB3KLxaASySr3tAtaq+s0fVrN0eYWAX1QMt4=; b=QNxbbXdtYk2Fyf7JaUku4MB+5V15xdBxAzZQq4+pt+QAVC5NBXRsWEPOrzk4JPupaT ZqwYGK4xoEVOYrL+b0WKiTIeQiFKZgCU4HyeEdSS8hNUrGCaQi21mK1fR93lxZKdJ66g gf5dJfbxFWl5P+g+AZu2QBshwNNl6GIjikBX/ABBnHWuDUWYaj7nkxjDOqQoX+ELQZIM tfcfY82RgRmQTlvNVLspsHPPxobv61E2Xr6RzPtLZMELUhlQN8qdp5HWHWKtjc8ojgeG ms41vQnJVxQu0x+d6NAZfd6OYiv4+2dmP76GkoS2L5S4rvVrYyhirHXZRAAgY/yxw7qk nvnw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p16-20020a170902e75000b001b8944aa0d8si5535178plf.463.2023.08.03.00.28.58; Thu, 03 Aug 2023 00:29:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232883AbjHCGwY (ORCPT + 99 others); Thu, 3 Aug 2023 02:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjHCGwX (ORCPT ); Thu, 3 Aug 2023 02:52:23 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56BA62D62; Wed, 2 Aug 2023 23:52:21 -0700 (PDT) Received: from loongson.cn (unknown [10.40.46.158]) by gateway (Coremail) with SMTP id _____8Dxl+ikTstk_IYPAA--.207S3; Thu, 03 Aug 2023 14:52:20 +0800 (CST) Received: from [192.168.124.126] (unknown [10.40.46.158]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxHCOiTstkNcpGAA--.32882S3; Thu, 03 Aug 2023 14:52:19 +0800 (CST) Subject: Re: [PATCH v1 4/4] selftests: kvm: Add LoongArch tests into makefile To: Sean Christopherson Cc: Shuah Khan , Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Vishal Annapurve , Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, Peter Xu , Vipin Sharma , maobibo@loongson.cn References: <20230801020206.1957986-1-zhaotianrui@loongson.cn> <20230801020206.1957986-5-zhaotianrui@loongson.cn> From: zhaotianrui Message-ID: <37029e59-78f7-d9e8-7ee9-4a221141111a@loongson.cn> Date: Thu, 3 Aug 2023 14:52:18 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID: AQAAf8BxHCOiTstkNcpGAA--.32882S3 X-CM-SenderInfo: p2kd03xldq233l6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7uF48Jr13XrW3GrWfAFWDGFX_yoW8uw1Upa 48CF1qyFWxur47Gw1xWw4DZan7Gr92gF40gFyfK348uwnxJ34xJr17KasrGFsY9w4jqa1a v3WFgFnF9ayDA3XCm3ZEXasCq-sJn29KB7ZKAUJUUUU7529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUPab4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07 AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU tVWrXwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI4 8JMxk0xIA0c2IEe2xFo4CEbIxvr21lc7CjxVAaw2AFwI0_JF0_Jw1l42xK82IYc2Ij64vI r41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG67 AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIY rxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Gr0_Xr1lIxAIcVC0I7IYx2IY6xkF7I0E14 v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWx JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUxhiSDU UUU X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2023/8/3 ????2:10, Sean Christopherson ะด??: > On Tue, Aug 01, 2023, Tianrui Zhao wrote: >> Add LoongArch tests into selftests/kvm makefile. > Please elaborate on how the lists of tests was chosen. E.g. explaing why > LoongArch isn't supporting kvm_binary_stats_test, rseq_test, etc. The kvm_binary_stats_test is supported by LoongArch and we will add it later, but the rseq_test is not supported by LoongArch and the glibc, so we do not add it. Thanks Tianrui Zhao > >> Based-on: <20230720062813.4126751-1-zhaotianrui@loongson.cn> >> Signed-off-by: Tianrui Zhao >> --- >> tools/testing/selftests/kvm/Makefile | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile >> index c692cc86e7da..36a808c0dd4c 100644 >> --- a/tools/testing/selftests/kvm/Makefile >> +++ b/tools/testing/selftests/kvm/Makefile >> @@ -55,6 +55,10 @@ LIBKVM_s390x += lib/s390x/ucall.c >> LIBKVM_riscv += lib/riscv/processor.c >> LIBKVM_riscv += lib/riscv/ucall.c >> >> +LIBKVM_loongarch += lib/loongarch/processor.c >> +LIBKVM_loongarch += lib/loongarch/ucall.c >> +LIBKVM_loongarch += lib/loongarch/exception.S >> + >> # Non-compiled test targets >> TEST_PROGS_x86_64 += x86_64/nx_huge_pages_test.sh >> >> @@ -181,6 +185,13 @@ TEST_GEN_PROGS_riscv += kvm_page_table_test >> TEST_GEN_PROGS_riscv += set_memory_region_test >> TEST_GEN_PROGS_riscv += kvm_binary_stats_test >> >> +TEST_GEN_PROGS_loongarch += kvm_create_max_vcpus >> +TEST_GEN_PROGS_loongarch += demand_paging_test >> +TEST_GEN_PROGS_loongarch += kvm_page_table_test >> +TEST_GEN_PROGS_loongarch += set_memory_region_test >> +TEST_GEN_PROGS_loongarch += memslot_modification_stress_test >> +TEST_GEN_PROGS_loongarch += memslot_perf_test >> + >> TEST_PROGS += $(TEST_PROGS_$(ARCH_DIR)) >> TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(ARCH_DIR)) >> TEST_GEN_PROGS_EXTENDED += $(TEST_GEN_PROGS_EXTENDED_$(ARCH_DIR)) >> -- >> 2.39.1 >>