From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (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 DCBDA2D5935 for ; Thu, 26 Mar 2026 15:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539876; cv=none; b=UnVp2ZIld+lHYeXDH50crtqLQIx3JrM209obFVfnGCfRQewEIpyhodCroiZQncj4h7kSuTKs/0WtNVQC7l7ReXzxkwH0PdkYv3h+tX8e8Evl0RHhUBUpbyniNtD5nwBH9QcVQkzwDADACrgymDumYEkIPmINj/Dl2I7udStGL2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774539876; c=relaxed/simple; bh=Mtx8jjA7KzZj7L3Cx5cvFEQGGpei7IBUS8eQj6JYAhs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JJRxPobPjYffcXxY42prI/XygH1nooBAqF8FWf7t4Z6r0MpZUXKYCt466HEvI+q9a3YbnItX+1N4rlrPQFmXZUgpFt3f5tqtXxln1lLlifcHPJTKJsAsXqniz+7ca2SM2obhO+2TaiAwLWSHe3f0FDF28XyM9xWVkuQ6hq7piO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (4096-bit key) header.d=canonical.com header.i=@canonical.com header.b=Hxk0zIh0; arc=none smtp.client-ip=185.125.188.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=canonical.com header.i=@canonical.com header.b="Hxk0zIh0" Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 180003F754 for ; Thu, 26 Mar 2026 15:44:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20251003; t=1774539871; bh=v1SUD2/RxGmhieWQs46q6VAPxE1rsiRhxrRLY8jePYc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Hxk0zIh0lFF6/BO7zHmljcAqFV1Jl1QXzFQ2keOPX25G5Xbmpc2m1iwfSYM2ZDyqs UFR85KQz+0SOsOSZUPKgoxAV5zy/qokXQt14BrypjOcEPXu33IAbobb7NPyHXhFKy3 bzsQOo982Qds3eeY94H9QWTzvRk2by71HhUzVMCCWTC+Jmux7iCzE70gbPkY6mbsh+ VGfkb54c/Uf7fjqc8J7vBrkkjefVRM4VJAUOC/BdPKy5Vl18plgu8oP7PdyB3029wr O45mJF+MxUP+CcjNtHqr87ZeO5/I7/zyfVlCmZp0N1/P65j4xj7dw67V9rCQjEJmdA I/TdV2gv50wLPy11gsXFUQ6/NsZkw+Tt10ZhXxOv02BZiMm+utVWUV/8AnBpuSQPoa Tf32MS/1fWrGkMTI/TtoFALvxjKMrvFZD79PB14NzwUuDo0H6gGdN/omjmbQhBwwgA /+5L2Ez8A+H/bHu3tmsyYx87mMi8t2uT6oYhl3dR0569zHJ5oMdUzwE/UZGtzu2Rzd 3rYJRR/HWF36qyLdZbb+viNDc1MgXfZ1GdSfrA0tr8mSxVYI8D12+q9WODJyNQYJPc vdtbN55UHV8lZqYM3tw1O420AqskSfst3mpPp2nQfZYmUYXQXtLMWYyefL7CAedeqd 6fyY7Zs/OVEfJYPrJSUWyvR0= Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-439ca4b3d0bso603201f8f.3 for ; Thu, 26 Mar 2026 08:44:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774539870; x=1775144670; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v1SUD2/RxGmhieWQs46q6VAPxE1rsiRhxrRLY8jePYc=; b=eFhLKc/IibHDRJbdFO06DXFy0gBUnzJ5Djd9IxyTyTLTKi+3Mil7iyDoaao+AHLi0O skAcyUGrPFQzp/A6oMOYd+rAE6QL66ZJ6l+n3Mq0HK2BmVV/3JNSJE6aw0vO9A9YZa+l Xca4OurhvyBp18QLGzRDkVgf7zcexjQwZC2QzMAdlEIOzrIVZff/A7mo31TC9TOOEBcb hfV3rfSUF1uO/4y+qurXAX8ak8Vw2lrvgzK2j+ZXQV9URoIGS5RaD1g+zsCHZ4t0gbdG MBPHvjBqhJ+sc4a0Fo38pi+1jwnxMNJKQ5X2MptiQqExZzJ4R/992mzLYmP5xEBuPBSJ pXjg== X-Forwarded-Encrypted: i=1; AJvYcCVWbG7+WU0lf5MhCAO+kOoy8eKtUmitPkBeMMF7vUKdhJdHgJnXopxkzaYlZZQa4eJjyy73AtdzsaizO5I=@vger.kernel.org X-Gm-Message-State: AOJu0YzyH22EhjXOHeKaPg3EomiT+/qiHfq4GIL32ybmq8DPT0u22HiT zoS9APcJqg34rdzwlWieRDfigmM4SQtcb+LdpQuCMPcxX2YhYyP6uyXy0LLcrMqhgEW7Hg8D5Hw 1+c4hWIM5OTxxk14dCxskIlVv9YzCjoX06UzUpmZmL8Blyupcmah4BAYFCEDE6/l2StnBKAmkZt QXpZpr8g== X-Gm-Gg: ATEYQzyyewmmwPcky3yJ+fF+/ZbM0aItpeHaV5ugnxhB0W3rjKorfAaYZTQ2BNCddb5 wOz3NNCqKfwxth/3HhaopoO5S6bh1GYH4hsBRPSnpJICohfsU/J36Q8WBX9+sOvsT2OU9Pltkuo TiITfDQkPUREn4omHNU7IA9oxGTg5Dcv4uvp68wwyOLDp9rCERI7bu2t+jthnXS7XAywHZol8hP IjBZ5qPYXLInT64ajWGtDQfXQmZDmPmr/MdrD6T2zGaesmLLe3qJAZNaHMo2Etvny06WzgQ/alh AgGjSeQx0vrEwbClfOYGMG500M9n64Q9CXncgCQFQOQes5E1OWKFHOAP2iSxL9ZvjEYnxsVIbnV uTcVtBIXZodVdKSURg7Zej+FxxYiDuSPyDeX7ASNOKMavNQBDmSf5h8IBo7RgAkUXcoVDoC17NI yxfKogglPnQderB3WAvQ6iIMwIN+eWMVmvNhbjwkCyfwHVyNbys3g= X-Received: by 2002:a05:6000:2dca:b0:43b:4312:2ca9 with SMTP id ffacd0b85a97d-43b8899932emr13350519f8f.6.1774539870414; Thu, 26 Mar 2026 08:44:30 -0700 (PDT) X-Received: by 2002:a05:6000:2dca:b0:43b:4312:2ca9 with SMTP id ffacd0b85a97d-43b8899932emr13350459f8f.6.1774539869831; Thu, 26 Mar 2026 08:44:29 -0700 (PDT) Received: from [192.168.103.137] (ip-005-147-080-091.um06.pools.vodafone-ip.de. [5.147.80.91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b919cefd7sm8746077f8f.17.2026.03.26.08.44.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Mar 2026 08:44:29 -0700 (PDT) Message-ID: <9ec329b9-144f-4896-a89c-3af0b23e631e@canonical.com> Date: Thu, 26 Mar 2026 16:44:28 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [GIT PULL] ~RISC-V~Starfive devicetrees fixes for v7.0-rc6 To: E Shattow Cc: soc@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Hal Feng , Ilya Sorochan , Conor Dooley References: <20260326-astrology-rephrase-836ec663228b@spud> <4dd4ffe6-307a-442b-ae99-50c88d4e5b84@freeshell.de> <20260326-viscous-rigor-4beb18f77eec@spud> Content-Language: en-US From: Heinrich Schuchardt In-Reply-To: <20260326-viscous-rigor-4beb18f77eec@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/26/26 16:14, Conor Dooley wrote: > On Thu, Mar 26, 2026 at 07:36:07AM -0700, E Shattow wrote: >> On 3/26/26 04:13, Conor Dooley wrote: >>> Hey folks, >>> >>> Please pull a small fixes PR. >>> >>> Cheers, >>> Conor. >>> >>> The following changes since commit 0528a348b04b327a4611e29589beb4c9ae81304a: >>> >>> cache: ax45mp: Fix device node reference leak in ax45mp_cache_init() (2026-02-06 19:54:40 +0000) >>> >>> are available in the Git repository at: >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ tags/riscv-dt-fixes-for-v7.0-rc6 >>> >>> for you to fetch changes up to 305f2865bd034146b2eebc77c27fc50d8d79778d: >>> >>> riscv: dts: starfive: jh7110-common: fix jh7110 SoC boot from SD-card. (2026-03-19 16:00:13 +0000) >>> >>> ---------------------------------------------------------------- >>> RISC-V devicetrees fixes for v7.0-rc6 >>> >>> Starfive: >>> Two fixes for the SD cards on the Mars CM Lite. >>> >>> Signed-off-by: Conor Dooley >>> >>> ---------------------------------------------------------------- >>> Heinrich Schuchardt (1): >>> riscv: dts: starfive: Milk-V Mars CM Lite broken-cd >>> >>> Ilya Sorochan (1): >>> riscv: dts: starfive: jh7110-common: fix jh7110 SoC boot from SD-card. >>> >>> arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 1 + >>> arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-lite.dts | 2 +- > >> To be clear the "riscv: dts: starfive: jh7110-common: fix jh7110 SoC >> boot from SD-card." commit does not affect Linux whatsoever, there is no >> problem to boot Linux from SD Card impacted by having or not having this >> commit. This also is not common, so should not be in jh7110-common, as >> more JH-7110 SoC products by-the-numbers have transistor logic replacing >> this signal selection to the StarFive loader in BootROM and so >> precluding this from functioning. > > All the patch does is tell bootloaders what stage of the boot they > should should pay attention to the node, and the link was to a big > mechanical deletion, with a reasonable comment from someone that > has a track record. > >> This ignores the wider discussion about StarFive both deprecating this >> capability (for Secondary Program Loader i.e. U-Boot SPL) of StarFive >> Loader in JH-7110 BootROM loading from SD Card being deprecated >> officially in the latest StarFive JH-7110 Technical Reference Manual and >> StarFive JH-7110 Boot User Guide documentation, and the ongoing GPL >> non-compliance by StarFive for use of GPL 2.0+ code in the JH-7110 >> BootROM; the latter being important if we want to accurately attempt to >> support this deprecated feature set as a community (even when ignoring >> for the moment this copyright license non-compliance). > > I'm sorry, but I have only a passing familiarity with your work there > (as in, I have seen you talk about it on IRC and paid no attention), and > there's no way I would have associated it with this change. > I definitely was not ignoring a wider conversation by merging this > patch, I was not aware this was controversial at all! > >> I have done an ~80%+ analysis on Ghidra decompilation of the JH-7110 >> BootROM, and openly invite anyone that would like to help get this >> effort to 100% is welcome to so that we may publish and refer to this >> for technical competence. I do not object to the community supporting >> this deprecated capability if there is any real documentation not based >> on rumors and memes; but no one has offered to do take a moment to do >> this most basic of fact finding. Evidently the StarFive maintainer(s) >> have refused to support this, GPL non-compliance persists and only a >> rough description from Hal has been written to the U-Boot developer mail >> list that does not match my analysis, all while complaining about the >> capability not being supported going forward. >> >> I object to this PR it is NAK from me on the basis of stuffing this in >> sideways without technical justification or review. Also I do object to Concerning technical justification it is clear: Distro images have been supplied with U-Boot on SD-card for years and the recent work in Linux and U-Boot broke booting them. This needs to be fixed. > > The technical justification seemed to me to be multiple people saying "we > need this added so that u-boot can use the sd-card". The patch has been > on the list for over three weeks at this point, so there was definitely > opportunity to comment on it. I don't think I have been unreasonable > here. If current U-Boot needs it, then I'd still like to have it merged. > If you work pulls through and this becomes no-longer required, then I'd > be happy to take it back out again. > >> "riscv: dts: starfive: Milk-V Mars CM Lite broken-cd" as this goes the >> wrong way around, it does not describe the hardware; if some external >> carrier boards cannot deal with the capability of the Mars CM >> system-on-module having card detect line then that should be dealt with >> as a dtbo per-carrier board and not be replaced in the dts by a >> broken-cd, although at least we had this discussion and Conor made a >> decision with all the facts and discussion available. >> As my patch points out the CD line is broken because it does not conform to the standard established by Raspberry. E. we know that by chance you have found a base board that ignores the standard. Your patch 4cce8b2503ab5 made my standard compliant baseboard unusable. My patch in the pull request does not stop your board from booting but re-enables mine. Best regards Heinrich