Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2527675rwd; Sun, 21 May 2023 23:34:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IbmKCn0Hyl3cybQgKQKPFkyugVQ7IqUsGMKwizdN2+D5mnPy/+gqlNRYTy+AaclSfwQzc X-Received: by 2002:a05:6a21:788f:b0:10b:58f1:7a6f with SMTP id bf15-20020a056a21788f00b0010b58f17a6fmr3841327pzc.41.1684737250999; Sun, 21 May 2023 23:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684737250; cv=none; d=google.com; s=arc-20160816; b=Yz8PxrcSbjtuiLrc8SPjCkQm5XvhVi2cya53Y/cq4Fgeh1N1RutWJfZFigX1h7i/vt YXZwy+9KOY+0iOj2TQi5/idKFszjZIzYbNr2xgF6Alckg9Lt9S0Fo7KAu9NN/WXp2Fmb KJ8yKiOoAA/yALSuQdVGC4jvnE62jAdf0Ylxp21DTbphOalPJh7o/OLxGAjl6BNtrkge t93EkOPV4CloAU0UTBkDOIQ8zBgd9B8bxsAlsicUrTYlNFjhYF9uP9ib18pObU1PvA+Y 2ZVmqS6f00SR74pbI8ZuiSsPHlhIUda2o0GQljWemms2f8kjPTg2HPrKVtSr9Z4w7I6H gqnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=aRwZcNcsTaCBdWIHzla/yG5U6nfOaaMdjny0SnCCke4=; b=aufWwGSv+bF9zyABsnmeRV+i42R5aUAkd2TtkRV60thOLToSRSqY+mapFgSRboBCKY 4lCAHryso0F7EhISrBEPYisOCICb8V7/fn9rqdC5XzjSASL4qC5Eg+ARoTmShFW5DaZh POEibyJSRKwqUh9y8Rt9IfZHd2Lu1SYhn7A2lE/FEuE0vIVpQNU61BCwEtxo2HQKv2G3 W56TDn8SHWQUQy0/ht2am9iEqxCQFY8sMtH+IPSS+vHGEGkgFLRp25/fn/iWcp2CXaCP eC+hI3yvrbH5eRB4WONeaAIvpCfX/XjFe7mW2Z1vbddV8Sc2ZoiojjFMOTcciOiS6Ix2 Ph+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=PowzOCIk; 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=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v202-20020a6361d3000000b00537d3adaa10si2349661pgb.597.2023.05.21.23.33.56; Sun, 21 May 2023 23:34:10 -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=@xry111.site header.s=default header.b=PowzOCIk; 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=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231157AbjEVGRs (ORCPT + 99 others); Mon, 22 May 2023 02:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbjEVGRq (ORCPT ); Mon, 22 May 2023 02:17:46 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B4E9DB; Sun, 21 May 2023 23:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1684736260; bh=yIi6ZOjy+E6qviZRUdHvLuggrTIRwROuyCYtl1GPs/c=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=PowzOCIkGK3QPPK1zhPYjhGrmt6OzZ3lAY1BvQvpwmo2Pna3qsXwu/R4pDlxoH7K0 aH/LjNoZ3zGKusbk1YJhG2xiz3Lp3x8bsdO9jnx0aSx3ACXjdGsy3WqKP4zbgvqTp9 9r1Po7UIPb+xZMSI+YcLUyS5/EyB7OKtHwL0AsYA= Received: from [IPv6:240e:358:114f:a600:dc73:854d:832e:5] (unknown [IPv6:240e:358:114f:a600:dc73:854d:832e:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id A8DC46627E; Mon, 22 May 2023 02:17:31 -0400 (EDT) Message-ID: Subject: Re: [PATCH v10 00/30] Add KVM LoongArch support From: Xi Ruoyao To: WANG Xuerui , 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 , Tianrui Zhao Date: Mon, 22 May 2023 14:17:24 +0800 In-Reply-To: <90b2fc60-af26-4ba6-f775-7db2514a62f4@xen0n.name> References: <20230515021522.2445551-1-zhaotianrui@loongson.cn> <02f07d8e-e1c2-2ec0-59c3-f5b4ef0463dc@loongson.cn> <4529ee5b-364a-7819-c727-71cf94057b8b@xen0n.name> <99371487-717a-64d6-1c3d-aaeaee6f20db@loongson.cn> <90b2fc60-af26-4ba6-f775-7db2514a62f4@xen0n.name> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Mon, 2023-05-22 at 10:37 +0800, WANG Xuerui wrote: > > Manual is actually one issue, however it does not prevent the review > > process. There are some drivers for *fruit* devices, I can not find > > the hw manual also.=C2=A0 With the manual, it helps to review and point= s > > out the further and detailed issues. >=20 > There's a *slight* difference: the certain vendor you've mentioned is=20 > historically uncooperative in providing the documentation, so outside=20 > contributors had to reverse-engineer and document the HW themselves; but= =20 > in Loongson's case, you *are* the vendor, so you are probably in a=20 > position that can make everyone's life easier by at least pushing for=20 > the docs release... And some other differences: 1. *fruit* devices use an ARM64 which is already documented anyway. 2. *fruit* devices are more "popular" and the maintainer can test on it more easily. And *fruit* have more fans (esp. more fans with CS/EE skills, while we have more [expletive deleted] fans :( ) so their reverse-engineer effort is easier as well. Yes it may be not fair to others, but the world is just not fair. 3. *fruit* is really a bad example... When people ask me how to build Linux From Scratch on *fruit* I just tell them "try to avoid things from a vendor with no intention to allow you run another OS". --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University