Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp621401rwb; Wed, 9 Nov 2022 06:51:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM7NTX7XjQDjxz33n56uuJQd3JkAnO3myNdJ6t4vWtvkNahc6eWTR1IWxIqaq1URk6canaWL X-Received: by 2002:a17:90a:9dcc:b0:213:f087:4478 with SMTP id x12-20020a17090a9dcc00b00213f0874478mr51849297pjv.46.1668005502124; Wed, 09 Nov 2022 06:51:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668005502; cv=none; d=google.com; s=arc-20160816; b=yW02ybsxlRyIoOMSGvcpkvvGuZj42fvBTE8BEUXvk4wcI1klvQUIwgxAscrVz4/cxL EFflwrjoWfYvzjC1SkWOQDD2orSNrHsTRq6r3M85TMiU39i4AeLet2l5VT/1XPc8oufX o3EsesOmKr0rZPQ/1NHyIeQjraungQrp3lV2a/iRUg0wkcVxm6rNx1nTiAqUcQC2Ark4 MiYI57VG9szEP1FPAZX6PjCc4lCpI0x5s82GqEskHBUj0ZqJ3de5+3TXulapMi2b7VJ4 ZyBMNXBaqcEAg2cPBKqpVhMFzCtCYAyXuBbfAkOLGj1CyS9zp0yC7bqml/7HFicCDFrj rBgA== 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=xP+cHPqE2EFAuTXcyEQJaLuf2XEK1Tf3X0kwYR+jfxg=; b=b6ngmyAapngj/LXY3mOOLe72u0c8qRfRJUOp02/OzW0g0g+P2mfrb4GCyqa7RThenC wlUriReFFuH1aMTV9QyY56SWD5BK2jqrXcHtle3jv2ikOmTk+CLkwVsbJG5/oVFv/UL/ npWN52PgBuJWrvlO0V6XN26do6RYqjnbkrmLAM90EXraGC8eAqOhKziZmzgBWsIUUp0O fy1QlkoTr4TU4d3cStlty1soiN4bDRSI+TeTrgFFqrM4Eejq7JOAxuQgJQw6QvLkWzBU xQN/v2qjUGRsF+3UoajjJAFyBHu5nXH7hSSevuDVVzu+qA8APtVxP+DQHYC7dtp8/vfV hAzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=ha4gxdm9; 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 t11-20020a170902e84b00b0016f1c879eacsi20902078plg.109.2022.11.09.06.51.29; Wed, 09 Nov 2022 06:51:42 -0800 (PST) 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=ha4gxdm9; 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 S230423AbiKIOAr (ORCPT + 92 others); Wed, 9 Nov 2022 09:00:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230345AbiKIOAh (ORCPT ); Wed, 9 Nov 2022 09:00:37 -0500 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D901658C; Wed, 9 Nov 2022 06:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1668002431; bh=Ews65r4y2x+UHZvJJk7wXKfdlpp6YZLRGLLHPu4DZpc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=ha4gxdm9cLM96VCWy6RWfDZcLShBR/G6OaDedILXBox2ZNKSkyb80M8GOB6NreAu3 qUlREHCsR3QCxqJpB12pz42N/MUaf1ycUm73nGHFeV+kSfKlHxPI9xodCmqHmp7tmH 5zX85FGHc05xFuPwbSlnh0D+JTTcQE5rHOIfYIpA= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384)) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id B1BEE66883; Wed, 9 Nov 2022 09:00:27 -0500 (EST) Message-ID: <80accd6a82d35902c08acbafcd10426b81d15bec.camel@xry111.site> Subject: Re: [PATCH v6 1/2] soc: loongson: add GUTS driver for loongson-2 platforms From: Xi Ruoyao To: Huacai Chen , Yinbo Zhu Cc: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Hector Martin , Lubomir Rintel , Conor Dooley , Linus Walleij , Hitomi Hasegawa , Heiko Stuebner , Brian Norris , Sven Peter , loongarch@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, soc@kernel.org Date: Wed, 09 Nov 2022 22:00:26 +0800 In-Reply-To: References: <20221104024835.3570-1-zhuyinbo@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS autolearn=no 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 Wed, 2022-11-09 at 21:57 +0800, Huacai Chen wrote: > Hi, Yinbo, >=20 > On Fri, Nov 4, 2022 at 10:48 AM Yinbo Zhu > wrote: > >=20 > > The global utilities block controls PCIE device enabling, alternate > > function selection for multiplexed signals, consistency of HDA, USB > > and PCIE, configuration of memory controller, rtc controller, lio > > controller, and clock control. > >=20 > > This patch adds a driver to manage and access global utilities block > > for loongarch architecture Loongson-2 SoCs. Initially only reading > > SVR > Replace loongarch with LoongArch. >=20 > > and registering soc device are supported. Other guts accesses, such > > as reading PMON configuration by default, should eventually be added > > into this driver as well. > Replace PMON with BIOS is better. Or just "firmware"? I remember Xuerui (or another guy?) has said "nobody should use the term BIOS for non-x86 platforms in 2022". --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University