From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 729AEC04A6A for ; Wed, 2 Aug 2023 16:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230143AbjHBQ6Y (ORCPT ); Wed, 2 Aug 2023 12:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233764AbjHBQ6T (ORCPT ); Wed, 2 Aug 2023 12:58:19 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 824A51705 for ; Wed, 2 Aug 2023 09:58:18 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-c6dd0e46a52so12667276.2 for ; Wed, 02 Aug 2023 09:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690995498; x=1691600298; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=PzbCDXFnk3w2SSf45TXB2yxLMTvmATReUsA4zCcZwws=; b=lyoh2SBz23Xi/1oythXCvD4eYT/mDAOe1c1NCuMnLDbp/ZF1fVWTZSS7U8LfcMunzP jkvpro9VFgWnjS2rIuQKBJORICyNhyf5NOWNBck6eMYluV3+8yr9OmHJ345iUgzR1c0R tRd6tvQUb71r2RPXSvUWe2DEcA4tQcmDlsNvbWIQUYfsb6stBllbtNrWVjJy6HEnXGoJ zZat4XSMBiInPICo94A+caZSdOnVvOcAzZvymmXkKrO3bOSubnDyPyZ+k50A3aT/BK3z AucwqqUgcTPSCT8zRp6TNveYxdxmpZNU2X3TsgfbiaSFvqUqk0vEnyCDp0KIvCrp74RX u5EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690995498; x=1691600298; 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=PzbCDXFnk3w2SSf45TXB2yxLMTvmATReUsA4zCcZwws=; b=HS6vrTN3KeovoHdOsyGMMFKe0E9BVoVqfqI8WRiXGx9KQGWLgkx9/B6/R9qRx3kovB alh6IGQdUAQlzfoPfQxqccOO2IyDmPQtp9+B/L1TZfip5xKow5S1YsOqvkqOchJIUc3T NmA0h6fG3GawmAkghhgkwWjy/2jwCSWFc2St0OCUku/dLaC8Q2ou+Gq/+Y5ArZzF6YZr n71eEiHCYSsv2iUTzJwHrc9xAYz2rO+0MbogC4PzAQIpaD1ceBDaQEK3/4G1fKbIiAMu SIZfBi//puK4MEh2qpevT4zFIGkRAWKYNg8tI7gfcVg62MqwX/xAfu+jWQmD6EoziIks 8JIA== X-Gm-Message-State: ABy/qLaz7Hkw5Wl0uJ8N00uCIQ2Q2qQn1jNL25D15cTJkiRNzVjZDa+D 5cwh5kxWnoo4MzZq7WNGqpctNwBwpqk= X-Google-Smtp-Source: APBJJlE6rEuH8LasDnQfODkiDH09tFBtZ4sbu1M/IsR0DKMHMrqdBmEz7WgWDwSbKp4OvDE+w/rV2l2PoNk= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:4109:0:b0:d10:c94a:be7e with SMTP id o9-20020a254109000000b00d10c94abe7emr109911yba.8.1690995497821; Wed, 02 Aug 2023 09:58:17 -0700 (PDT) Date: Wed, 2 Aug 2023 09:58:16 -0700 In-Reply-To: <20230801020206.1957986-1-zhaotianrui@loongson.cn> Mime-Version: 1.0 References: <20230801020206.1957986-1-zhaotianrui@loongson.cn> Message-ID: Subject: Re: [PATCH v1 0/4] selftests: kvm: Add LoongArch support 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. 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 >