Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5134504rwb; Mon, 31 Jul 2023 19:22:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlGig/YlS6POdL8zLDbDFzg/7bMoVW3WRJnTwykiZuEBE7kp3DStGYzGpyaSdrj5jtsm6rIZ X-Received: by 2002:a05:6870:e241:b0:1b3:ec6b:b264 with SMTP id d1-20020a056870e24100b001b3ec6bb264mr12976042oac.5.1690856548387; Mon, 31 Jul 2023 19:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690856548; cv=none; d=google.com; s=arc-20160816; b=VzK1zSyaOa7e82z7HDbf+j77AGKUxS8x7pBKRTpoGOf5AGHZ5HgA6E5mCwI05wGnGH d0unei6QdDFWeNqmO+2OlAxWnRdSGJWn6nv1eshuSmlwLvE+4Cx7ajgnOcScJLxKYcWZ b3zBxIBXw86/W0Lds03Xs3IJL5ma+6AAB3WWRx9LHM+1gX1chvD0xIow/INS0lXuAm5C p0uVznEr6KtgJ2JwdzZu4r1Ure6I2i+/KgnnavZjVMBoNOiCPteGz13s5Bamh3K+aXHB w8QQ1H1L2Zri1k5U1EoYKme5gY9YJ8BlJJ4SOKJfH9gzHwYzN3hNetbNe9VwxEedNFLx lLIA== 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=SlZlCdSc+aZnNAfqGf/qXqZGqykkKXBzgSOXJML/Wcg=; fh=78XkdsmXgGpMLEUd4018w1oFMTvg8nay2829+Tm9pTc=; b=TEq9qip8V4QeqZjlw7O06v5ujYU73tti0mTBq5TybLz/bX1g67I3dwBy9lJcdZL0p6 ykOJ0qxT1JkrtcVQfmSlYxfjumos2zuyKGp0nxlfdvfOFBuFHxfQPJKQVOb5lsRQVvgh XzPv7Z2zQ3LM7ElOdyt5dF/ANlHW7GXJqcxgNf3s1If0+9O5RBFZ+9UOHZAoiLoh142d NtV93VpVBJX8qQxOWblVRA1e3fi5PUJx64s/jB0j6FrpjVA0xa1oRDF1CWXwVCBJyWHu ff7HNLtC1XsKw4ji9SIa4inbed6ofDoB9b8ybFZ1bCWMDJkWzjTXkNfleYwkl/aoL8SE hCmw== 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 u11-20020a6540cb000000b0055acfb661casi8080715pgp.894.2023.07.31.19.22.15; Mon, 31 Jul 2023 19:22:28 -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 S232084AbjHACCa (ORCPT + 99 others); Mon, 31 Jul 2023 22:02:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231781AbjHACCT (ORCPT ); Mon, 31 Jul 2023 22:02:19 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 90D37116; Mon, 31 Jul 2023 19:02:17 -0700 (PDT) Received: from loongson.cn (unknown [10.2.5.185]) by gateway (Coremail) with SMTP id _____8BxXeunZ8hkQMgNAA--.27320S3; Tue, 01 Aug 2023 10:02:15 +0800 (CST) Received: from localhost.localdomain (unknown [10.2.5.185]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxHCOeZ8hkPHJDAA--.25753S6; Tue, 01 Aug 2023 10:02:11 +0800 (CST) From: Tianrui Zhao To: Shuah Khan , Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Vishal Annapurve , Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, Peter Xu , Vipin Sharma , maobibo@loongson.cn, zhaotianrui@loongson.cn Subject: [PATCH v1 4/4] selftests: kvm: Add LoongArch tests into makefile Date: Tue, 1 Aug 2023 10:02:06 +0800 Message-Id: <20230801020206.1957986-5-zhaotianrui@loongson.cn> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230801020206.1957986-1-zhaotianrui@loongson.cn> References: <20230801020206.1957986-1-zhaotianrui@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8BxHCOeZ8hkPHJDAA--.25753S6 X-CM-SenderInfo: p2kd03xldq233l6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 Add LoongArch tests into selftests/kvm makefile. 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