Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1324138rwo; Wed, 2 Aug 2023 12:07:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFjJ/HNOgvovedBPGolwroSdYltbvTLsfAwDSx3cGEQTe3ypwy+qKAPs52IuR5DK/n1sGE X-Received: by 2002:a05:6a20:1586:b0:133:5f6a:fb6 with SMTP id h6-20020a056a20158600b001335f6a0fb6mr21303735pzj.1.1691003228405; Wed, 02 Aug 2023 12:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691003228; cv=none; d=google.com; s=arc-20160816; b=MGRDz7LTuYYchILoNUhBH9gGpJxZ2kbu6yPUpWJf1hbhcbdX5b+EZtXZod8Rgpxb2H cxbPpEqOEeagoSTDzhK7XVtjgYD4/kE2TChmGObMK+0Bz6dRVXsJ3uc9oc+5t77eyKVu 2J+RPiekaU9Ws0/mBEwrHlTZB7dJB7jwFqMYBkmW5grQElaEBv7Ml0VRKridEIDkwflp fPn9IZQ0QPq01Z48vE4nLgWVskRjD5h1oLAgcM3FD3M+WqxJqq/BlGZpW45SNo/c7irD C3Nz5MD9DPQRFkzr6pJYoOlCHcm5BGC8HtKs+suTNtx/7QV/5STlCzLLRlLZTXg9qZC2 cWMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=hNOi1ejB1pS9dlnPvTd4BYpS5FGTlhXd3925hg/0fm0=; fh=zucpp8MTujBKF102SNBmrZrEcggo7osgWjpgKV7+jnE=; b=NhciGLBshqQRuMJv+rfQf3BDtbDe4FmYSmcZ+BUmLzsHCw7Wr3vosRulkr4GRwtpUJ DUm3Dy4pGOQR8v3ye7MTVhwf+pry7L8MstVnB1hJemV2cD6Dg+T5EUrapdK8c1RNevvt T45FcrLy2rUUuvr7KlPa/Xo5xFSLRQe+bpC0I/k1lT0Eqiu5PK31b1XgE4Y1siAxUPLC TTL4kle51/bDgb1eBoLGIJ0ooVdy2/JMXaHTwWOj8t0V2zPWrlc13PZGUO33zPofex1x b2nkaT0GTi6Iu1MAEN24t8vt1A78zPqAS1qkD99YSXM6a7M+K/qSwRIsgbIjYGDnonIB UVlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=1OE6veZg; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a630903000000b00563e82a67a6si3847821pgj.358.2023.08.02.12.06.55; Wed, 02 Aug 2023 12:07:08 -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=@google.com header.s=20221208 header.b=1OE6veZg; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234234AbjHBSLK (ORCPT + 99 others); Wed, 2 Aug 2023 14:11:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234434AbjHBSKz (ORCPT ); Wed, 2 Aug 2023 14:10:55 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F229719A1 for ; Wed, 2 Aug 2023 11:10:53 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1bb982d2572so1217185ad.0 for ; Wed, 02 Aug 2023 11:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690999853; x=1691604653; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=hNOi1ejB1pS9dlnPvTd4BYpS5FGTlhXd3925hg/0fm0=; b=1OE6veZg59gsoeCLHSoB+UkPlLRLs1s07mLxso/osH78WHkdAyjyM4PFg5Fl4ie4bF 8Qo+8PDNUg50lP5ODwwCYp4j7hvQjDe7PTVUeYd+qQ8VWZ0FPNt4U58Lca5UL+4tPn+h P2AQIfN8/ciTQ7eTvI9WfNCJ2Yw8sJqnjprqmUrBmOebKgbeUxbvIcy83OAqQuxMlUHz Ka/cmhhuQX+2eepM+r+ZZwEm9yWdteKzIfjvrX0OC7HWPhtD3ANjTNIcySs2o1S1qbtD 6F64Y2wQS7ACru2HtGrPU40xivGqU91vFZx/cKdsS27iWoCyFLSe/lPv3rzAL4XHHGha Kwdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690999853; x=1691604653; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hNOi1ejB1pS9dlnPvTd4BYpS5FGTlhXd3925hg/0fm0=; b=DcFtXoPq5oWYQJLynf1YE9wI5iwtiiwOYKWF5QSHjmdxnVrWgwG0FJS0SZNi24Jb3M Q4hOctZWzMPkx+i/1wnieL8bIb0brtn5eFuqJTogsgEdzokv9jXPycxmP7Y/HE4UMHPP +9lpI/xQ4eTRuW79KkVUwSg+3WWQh5ilz4WSJfW/3vuCRTcwPKrjuBoUE/h9i3rdmq5m i+k75wzZPlZtZe7xVXUf4DMLLPz4erz8wY6CCZSAWkmJ3XG8KJjvm0+14NdSzTLBZDl8 sojk6S0ac/6YzxOSOssc45NPk6kAeqeGDOofntLR0bR7Tyul2rXZgipdHy3RvXU0Za5w Ot/A== X-Gm-Message-State: ABy/qLYfvd31pNcbOb0ZFs0wsIB9xpFJMx2c35fTgEbsx4dPomaisnsu EPkhzF+DQQuUQ/VScTFC+4EspzyuIn4= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:e5c1:b0:1b7:edcd:8dcf with SMTP id u1-20020a170902e5c100b001b7edcd8dcfmr98453plf.4.1690999853513; Wed, 02 Aug 2023 11:10:53 -0700 (PDT) Date: Wed, 2 Aug 2023 11:10:51 -0700 In-Reply-To: <20230801020206.1957986-5-zhaotianrui@loongson.cn> Mime-Version: 1.0 References: <20230801020206.1957986-1-zhaotianrui@loongson.cn> <20230801020206.1957986-5-zhaotianrui@loongson.cn> Message-ID: Subject: Re: [PATCH v1 4/4] selftests: kvm: Add LoongArch tests into makefile From: Sean Christopherson To: Tianrui Zhao 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 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL 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 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. > 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 >