From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64EDA16A954; Mon, 17 Jun 2024 17:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718644464; cv=none; b=RXS9QMKgGZqLOwmWISMjMqJZxq5BF0LKlGAMRusAYxy2k76N+VTLYmVdrechu1PNjy4lb52wKIxjEEfRCuGKyU14MpWlvBfUNjwiSVF1GVrXYMuW7FK2WIFkoygrvZmYoievNv4Lx2K9rZvg0i2zjMm6ATgPjXS05ea8HHnMaHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718644464; c=relaxed/simple; bh=MmA+hwtBmtjHSiMtd3wx1Z1tyvk5MSxoK0Na7DKEAQw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AERZKxY8VXN6w1eT/eXoLqANI6mOPmB45/srXuut3khLfJa2tzVtqxiCK/Fes5wB/8ITgGpgBBOSsmU+wggaV3BxNRx+Ljw2wA/pisQLjxw03PXKLggZ6o2s6bP0H3o/pfvuQUKjqER84XosMd+kTbvKbXyLHSP20ohsu6ukRjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oV1WSX39; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oV1WSX39" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9538C2BD10; Mon, 17 Jun 2024 17:14:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718644463; bh=MmA+hwtBmtjHSiMtd3wx1Z1tyvk5MSxoK0Na7DKEAQw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oV1WSX39l0oXYDodwVcnNGu6g4yMk+A7cNev9LZ6awpIJ9xMX9gDzkjzVyiiA+9sg Vet+IFaG3NPnPFjcwM4+83gYFJemwOCgodSuD+cCV4Gtlh1C2lrz2ERg+1GtQJFFm0 T3dacB3gT9y6Ose1tIMAGQ2DZaW6ul4KAem+/dbDAtXFnLFPGR7r+hWL59SPK7yAsn tqcTBN3yuhpVGuSn0OVOCEYJ/sMnJwZc7nDM/mUCrS3QmfPgXgkJA8/nUB28gCqmol XouT25EtxDkGVmoYLbZmYVA22YNeBpe+GzWI/aOyCW5l6wdCSBVkqfUjIDukQhrPFg 05YaqubP+3MEg== Date: Mon, 17 Jun 2024 18:14:18 +0100 From: Conor Dooley To: Yangyu Chen Cc: Jisheng Zhang , Yixun Lan , linux-riscv@lists.infradead.org, Conor Dooley , Palmer Dabbelt , Paul Walmsley , Samuel Holland , Anup Patel , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, Linux Kernel Mailing List , Jesse Taube Subject: Re: [PATCH v1 0/9] riscv: add initial support for SpacemiT K1 Message-ID: <20240617-connected-avoid-82f0bdc05cdf@spud> References: <20240616-exorcism-computing-e11e26084a62@spud> <20240616224811.GC3983622@ofsar> <20240617-synapse-carmaker-0a59c7c6edb7@spud> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Jrl5+92C90Kbr+Af" Content-Disposition: inline In-Reply-To: --Jrl5+92C90Kbr+Af Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 18, 2024 at 12:39:30AM +0800, Yangyu Chen wrote: >=20 >=20 > > On Jun 17, 2024, at 23:32, Conor Dooley wrote: > >=20 > > On Mon, Jun 17, 2024 at 10:11:17PM +0800, Jisheng Zhang wrote: > >> On Sun, Jun 16, 2024 at 10:48:11PM +0000, Yixun Lan wrote: > >>> Hi Conor > >>> Thanks for bringing this up > >>>=20 > >>> On 19:35 Sun 16 Jun , Conor Dooley wrote: > >>>> On Mon, Jun 17, 2024 at 01:18:52AM +0800, Yangyu Chen wrote: > >>>>=20 > >>>> No MAINTAINERS update, so I figure that means you don't want to main= tain > >>>> it going forwards? If there's someone out that that does care about = the > >>>> spacemit k1 (Jesse maybe?), then I'd be more than happy to have them > >>>> look after it. > >>> Yangyu kind of has limited time, too many stuff for him.. > >>>=20 > >>> I'd volunteered to help on this if it can fill the gap > >>> Also I'd be more than happy if anyone willing step forward to co-main= tain.. > >>=20 > >> Does maintainership work like this? Is willing to do enough? > >> FWICT, maintainership involves active patch contributing, reviewing and > >> maintaining the whole SoC. It is better to take over the maintainership > >> after showing enough patch contributions and understanding of the SoC. > >=20 > > I was going to reply to your other patch about providing more complete > > "basic" support for the SoC, but I guess I'll reply here and address > > both points. After the k230 and th1520, which were both merged with very > > basic support and have made very little progress towards being a useful > > platform, I'm pretty reluctant to merge another platform in a super > > basic state. I was going to make this point before you brought it up, > > but it's good to know I am not the only one with that view. To be clear, > > I'm not pointing blame for those platforms, I'd just like to avoid a > > repeat. If Yangyu doesn't have time to do any development work on the > > platform, I'd like to see someone else (and as I mentioned Jesse is > > interested) take on getting some of the basic driver patches written and > > merge only when those are accepted. Having no in-tree clock and pinctrl > > drivers is definitely a hindrance to other people doing parallel > > development of drivers and I'd like to avoid that. > >=20 >=20 > That's also my concern for the first time when I submitted initial > support for K230. However, for SpacemiT K1, things went differently > for its UART, and the vendor patched OpenSBI with their NOC-based > HSM. They didn't use CLINT-MSWI as SBI HSM driver. >=20 > The vendor uses a special intel pxa uart driver, marked deprecated > in the kernel and incompatible with ns16550. If we use ns16550 in > the dt, the behavior of uart is like the uart has no interrupt and > stops working permanently when fifo overruns, making many developers > not know how to start unless they use the SBI HVC console, which > needs to turn on CONFIG_NONPORTABLE. This I just do not understand. Why did they use this IP? Is it free? Did they use it before for something else? It's a rather strange design choice to me. > For the OpenSBI, the vendor does not provide enough ISA string, > which their chip might support, such as Zicboz. Thus, the OpenSBI > does not correctly set up the corresponding M-Mode CSR, making the > kernel panic when the ISA string contains this extension. >=20 > These two things takes me about one week to get the initial mainline > kernel with full ISA extension and UART to work. Providing this > information in the commit message helps attract more developers to > start developing quickly. >=20 > I don't mind whether this series patch will be merged or not. The > meaning of this series is just providing these informations. However, > I think some details about bringing up a very basic kernel are > essential to attract more developers. If a platform has already > attracted some developer's attention. Providing initial support > with the commit message to show how to bring it up is not bad. >=20 > The point is that if a developer like me has already done this but > does not have much time to do further development, should the > developer become the maintainer? If not, should a developer submit > patches like this to the mailing list to provide this information > in the commit message and make it easier for other developers to > do further development? I think, as you did, sending patches for this state is very valuable. I'd just like to see someone expand on it before it gets applied, so that the initial platform support in the kernel is in a better state. > > Getting back to your point in this mail, whoever gets the platform to > > that state is well suited to looking after it going forwards. Some other > > interested parties could also join as reviewers. I don't want to see > > people joining as maintainers that are not going to have an interest > > in the platform going forward, as that'll just end up with me as the > > defacto maintainer. > >=20 >=20 > I agree. I also have no confidence in joining as a maintainer. > That's why I didn't change the MAINTAINERS for the first time. Yeah, that's fine. Consider this part of the thread my attempt to solicit people to maintain the platform, rather than bashing you. I appreciate the work you've done :) Thanks, Conor. --Jrl5+92C90Kbr+Af Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZnBu6gAKCRB4tDGHoIJi 0uZNAP9ElcW1Moz3oegHyyj66hfSZofUB2/kWuP+yKNFSIUIBQD/SuEPeV1sBsSV lRZoUY0kp5uFGyWIOuzqEQgBdKSxLAo= =3m3H -----END PGP SIGNATURE----- --Jrl5+92C90Kbr+Af--