Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1714995rwo; Wed, 2 Aug 2023 20:42:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvVjk0qETjf0qNjXGcd+Wu+2s4z9AZTlRH9dHnb1rnEIoHH0W1t0OqmU5cBPOD9AjrYRcW X-Received: by 2002:a17:907:7817:b0:94e:4489:f24d with SMTP id la23-20020a170907781700b0094e4489f24dmr6064265ejc.61.1691034174866; Wed, 02 Aug 2023 20:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691034174; cv=none; d=google.com; s=arc-20160816; b=ZCshjDtokWSAqTkzVF7+haWFVwajnTwAMaBWFcvgqwqqCG0Jbg8Go18OvfzZ1Bpy+r hikJLcxRamwG+fTL8wBzHUIzDFlLH4gJwQPD7PxF4x98wHsEknlqHc1R2uiK3RFGEIb6 F+cMmdhcprykyrd8kqgMcI9syD+ycQOhgxxTI5FT/e7WJU35TidqsxkfsU+oYmm7q+N5 qLwH62jZia+SrL4HQ+QGrbAAIrSw27X5o+Ihs8W+oqNK3Uf0ynvFwS54eqIawUy6HSth OuaYVtgTzDIbewVhVEz4jS9sUS+/cdMvKkZcISF9s4YHAhJSyp80ym58gxvIYFz/mr/B 9AEQ== 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=3OtEukLgZW5RJa6o4SWfm1q5d83Vkt4gMArCLvYXY0Q=; fh=41RNoEzjB3KLxaASySr3tAtaq+s0fVrN0eYWAX1QMt4=; b=OndlqXNT/wjesN+VvXYfFA2mgjhrjG1to/QM8/Oy4ewtLowHQSSsW/WFaeyGgGwLec 5qLjWOGT1+fmhml+1RNixptXSISJvnVgLd7Trh/4FQ6ukVyCzy7wTA7XSTQvQbkGr6s9 jnl3FkT9BPXfQlIqUmKjRDaX3QVDO+QNw+x8sSTnEN21di3dvO83V4HrGKiQMJfUk6DH pHFWhq0wZQbMhtzQbR+eDfEEGmChwpgG/5dDW8v6n8ep4tKT7FQAU9giL1/Q7CpeZBPh TeDhBolZt35Iko9lQ3/J/WuAJmJNvXwzv1Ecuf9Y7+PEYCCVG5rGD+rKrf4tD/l0OoU2 dVnQ== 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 b27-20020a170906151b00b0099c518e9e51si1417764ejd.127.2023.08.02.20.42.30; Wed, 02 Aug 2023 20:42:54 -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 S232851AbjHCDP6 (ORCPT + 99 others); Wed, 2 Aug 2023 23:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232836AbjHCDPy (ORCPT ); Wed, 2 Aug 2023 23:15:54 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 23D562719; Wed, 2 Aug 2023 20:15:47 -0700 (PDT) Received: from loongson.cn (unknown [10.40.46.158]) by gateway (Coremail) with SMTP id _____8BxXeviG8tkGG8PAA--.30739S3; Thu, 03 Aug 2023 11:15:46 +0800 (CST) Received: from [192.168.124.126] (unknown [10.40.46.158]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxLCPgG8tkAZNGAA--.32394S3; Thu, 03 Aug 2023 11:15:44 +0800 (CST) Subject: Re: [PATCH v1 0/4] selftests: kvm: Add LoongArch support 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> From: zhaotianrui Message-ID: <66eb2e6c-7d16-6fbf-7deb-f6d821b1cd8c@loongson.cn> Date: Thu, 3 Aug 2023 11:14:42 +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: AQAAf8CxLCPgG8tkAZNGAA--.32394S3 X-CM-SenderInfo: p2kd03xldq233l6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7WF1kuw4fGF1Dtw4xCw48AFc_yoW8uw1rpa 9akF4FkFs7KF1IyF93J397Xr1Fya1kGr42v3WSqryUZw47try8Jr1xKFZ2kFy3u34kWr1F vas7KwnxW3WUXagCm3ZEXasCq-sJn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUvYb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAF wI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2xFo4 CEbIxvr21l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG 67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MI IYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E 14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJV W8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07j1YL9U UUUU= X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 ????12:58, Sean Christopherson ะด??: > Please use "KVM: selftests:" for the scope. There's no "official" requirement, > but I've been heavily pushing "KVM: selftests:" and no one has objected or > suggested an alternative, and I'd really like all of KVM selftests to use a > consistent scope. Thanks for your reviewing. I will replace all the "selftests: kvm:" with "KVM: selftests:". > > On Tue, Aug 01, 2023, Tianrui Zhao wrote: >> This patch series base on the Linux LoongArch KVM patch: >> Based-on: <20230720062813.4126751-1-zhaotianrui@loongson.cn> > Is there an actual dependency? I ask because I'm shepherding along a series[*] > that will silently conflict with the ucall support, and in a way with the Makefile > changes. Yes, this KVM selftests patch series actually depend on the previous LoongArch KVM patches. Thanks Tianrui Zhao > > If there's no hard dependency, one option would be take this series through > kvm-x86/selftests (my topic branch for KVM selftests changes) along with the > guest printf series, e.g. so that we don't end up with a mess in linux-next and/or > come the 6.6 merge window. > > https://lore.kernel.org/all/20230731203026.1192091-1-seanjc@google.com > >> tools/testing/selftests/kvm/Makefile | 11 + >> .../selftests/kvm/include/kvm_util_base.h | 5 + >> .../kvm/include/loongarch/processor.h | 28 ++ >> .../selftests/kvm/include/loongarch/sysreg.h | 89 +++++ >> .../selftests/kvm/lib/loongarch/exception.S | 27 ++ >> .../selftests/kvm/lib/loongarch/processor.c | 367 ++++++++++++++++++ >> .../selftests/kvm/lib/loongarch/ucall.c | 44 +++ >> 7 files changed, 571 insertions(+) >> create mode 100644 tools/testing/selftests/kvm/include/loongarch/processor.h >> create mode 100644 tools/testing/selftests/kvm/include/loongarch/sysreg.h >> create mode 100644 tools/testing/selftests/kvm/lib/loongarch/exception.S >> create mode 100644 tools/testing/selftests/kvm/lib/loongarch/processor.c >> create mode 100644 tools/testing/selftests/kvm/lib/loongarch/ucall.c >> >> -- >> 2.39.1 >>