Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1707945rwd; Sun, 21 May 2023 04:50:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iNeM36Ia5G7UFbxnQ93MZhpVq5WNyg7gr9p1OLRr1wAF3rViYSNrKg22saiRVrm83Bp0N X-Received: by 2002:a05:6a20:1d1:b0:10b:2204:be8c with SMTP id 17-20020a056a2001d100b0010b2204be8cmr2119203pzz.25.1684669845051; Sun, 21 May 2023 04:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684669845; cv=none; d=google.com; s=arc-20160816; b=qyjYSx7cb+zs0d8A51MG0DNEINiJCRUX/3Y+SWhvgWGt4E1kPqXWnFbVvAZjn3+vfP SyCmdFqfUCVFNkPajF1HZzA9jnZNuGKQdZabhnYX6hoWR7Y+8QcIUbRRyNyv77LDvXYk 4SWsi82fZhMBYMb3K863DI8fXE/J4AsutP4Zxk55Um+N/JEr2536SRtrul1FAsNGod5D 9EAbO16pUhqU1Dq749Nie3wtr5+I0r5PhJlFGSfT+QXls1GPzn2QfBjXqgcBf7j/MSDN JIWmUzGoD0dixCdBAl5998O6LxuwwiNjmfiXKJ6i551gZSFxf0EmbeuuF2Sqm2KY91RE S+Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aadHit5zF1g0nqaKe6oe7H0Vo5hDzQuUYkphZ6JfMp0=; b=pwpnJpMwepFT2xk80jVgSswpm8DDdcNjUbbLRxmZApRbEQD7eEHv3MHM9YORfkFChP IgkwALXavLB0taKHqeq8fzpiGTzOMIQRBYSK0HgbTOZ3qfl4IONtrf0p0KNEju41ZUm2 1+h1WL08dVihgb4ZkmIVYtX73GfHHrAiyBygmEzmN31aeCfy5mhw+Zzv68+261GyfOtz pUQoST8kMV0MW3dj12WfMb6ymJWxn/CCdw4brR6d+ECAHaXmuVGvC7yMme90dfyqK0rb o83QHKs/6jrHpHwkgkvOtB+JVKkLqq0OECZxG5uoP4focKrXoD+PkgKYfAAN1sV1WQhG FP/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b="e/1lu6zF"; 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 bs124-20020a632882000000b005348cc20de1si1365842pgb.22.2023.05.21.04.50.31; Sun, 21 May 2023 04:50:45 -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=@xen0n.name header.s=mail header.b="e/1lu6zF"; 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 S230477AbjEULsd (ORCPT + 99 others); Sun, 21 May 2023 07:48:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjEUK1p (ORCPT ); Sun, 21 May 2023 06:27:45 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580D31B4; Sun, 21 May 2023 03:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1684664572; bh=6bQqYSey8mS2bTEsYB7j3/EUnIUGLpRwZkXxTWoD9rQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e/1lu6zFvq9gZwsA5LHrtocFnFCvkiEPoJNeF6vuul9CazKzepVyurhpWa92JOZ2L /2pqbG54GdOaxAV/eeAfPycxn8rTx451i7Won0bqOqw44l6TiqanJwbfRd2G00oPYj wZHlfJ3hZ2/pEQr/NeiEXCXpfKfNzifluSSH6P28= Received: from [100.100.57.122] (unknown [58.34.185.106]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 571376006F; Sun, 21 May 2023 18:22:52 +0800 (CST) Message-ID: <4529ee5b-364a-7819-c727-71cf94057b8b@xen0n.name> Date: Sun, 21 May 2023 18:22:51 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v10 00/30] Add KVM LoongArch support Content-Language: en-US To: maobibo , Paolo Bonzini , Huacai Chen Cc: Greg Kroah-Hartman , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Jens Axboe , Mark Brown , Alex Deucher , Oliver Upton , Xi Ruoyao , Tianrui Zhao References: <20230515021522.2445551-1-zhaotianrui@loongson.cn> <02f07d8e-e1c2-2ec0-59c3-f5b4ef0463dc@loongson.cn> From: WANG Xuerui In-Reply-To: <02f07d8e-e1c2-2ec0-59c3-f5b4ef0463dc@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On 2023/5/18 10:56, maobibo wrote: > Hi Paolo & Huacai, > > Sorry to bother you, I do not know flow of kernel code reviewing and merging. > > I want to know who should give a reviewed-by comments for these piece of code > about loongarch kvm patch. It should be kvm maintainer or LoongArch maintianer? > And any suggestion is welcome. IMO the series should get its R-b from kvm maintainers (because it's kvm after all), and ideally also Acked-by from arch/loongarch maintainers (because it contains arch-specific code), according to common sense. But in order for the various maintainers/reviewers to effectively review, maybe the LoongArch ISA manual Volume 3 (containing details about the virtualization extension) should be put out soon. AFAIK Huacai has access to it, by being a Loongson employee, but I don't know if he can review this series in the public without violating NDAs; Loongson outsiders like me and the kvm reviewers can only trust the commit messages and comments for the time being. (BTW, how do people usually deal with pre-release hardware wit documentation not out yet? I suppose similar situations like this should turn up fairly often.) Aside from this, there's another point: use of undocumented instructions in raw form with ".word". This currently doesn't work in LLVM/Clang, thus will slightly set back the ongoing ClangBuiltLinux enablement effort (currently all such usages in arch/loongarch are related to "invtlb" which has perfect support, and can be removed). AFAIK, such practice dates back to the LoongISA times, when the Loongson extended opcodes weren't supported by the upstream MIPS toolchains for some reason; but LoongArch is independent and not bounded by anyone else now, so it's better in terms of maintainability to just add the instructions to the toolchains. People will not be inconvenienced by having to use bleeding-edge LoongArch toolchains because upstream LoongArch devs have always been doing this. -- WANG "xen0n" Xuerui Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/