From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
Arnd Bergmann <arnd@kernel.org>, Rich Felker <dalias@libc.org>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
linux-sh@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/5] sh: mach-rsk: rsk7203: switch to using static device property, drop legacy gpio API
Date: Tue, 24 Nov 2026 09:10:34 +0200 [thread overview]
Message-ID: <awU4aqWbKEs4Qhyg@ashevche-desk.local> (raw)
In-Reply-To: <2e4f0d32c05d841feb367741bf8802fc@gmail.com>
On Mon, Nov 23, 2026 at 03:55:09PM -0800, Dmitry Torokhov wrote:
> On Mon, Nov 23, 2026 at 09:12:37AM +0100, John Paul Adrian Glaubitz wrote:
> > I have been super-busy with CVE fixes but I will try to get into kernel
> > stuff back again later this week. As I mentioned before, kernel maintenance
> > is not my primary job, so I cannot act as quickly as people who are getting
> > paid for it.
>
> I completely understand; upstream kernel work is not my main focus
> either, and I appreciate you keeping sh maintained in your spare time.
> I did not mean to rush you; I mostly wanted to check how you would like
> to proceed before the next merge window.
>
> FWIW, I took a closer look at the current state of rsk7203 on mainline
> prior to this series, and quite a bit of it is already broken:
>
> - Ethernet (smsc911x) has been silently ignoring its platform_data since
> v4.13 (commit 3708184afc77) because device_property_read_u32() returns
> -EINVAL instead of -ENXIO when there is no fwnode. That drops
> SMSC911X_SWAP_FIFO, corrupting TX/RX packet byte order on this
> big-endian board.
> - The RTC (sh-rtc) fails probe unconditionally since commit 689602e0609e
> because sh7203 only defines one IRQ resource while sh_rtc_probe() now
> requests IRQ index 2.
> - sh-cpufreq fails init because sh_cpufreq_cpu_init() never populates
> the per-CPU clock.
> - Enabling gpio-keys-polled (disabled in rsk7203_defconfig) clobbers
> LAN9118's IRQ0 on PB0.
> - As Arnd noted, the rsk7203_defconfig kernel no longer fits in the
> 4 MiB flash, and USB was never wired up for this board.
>
> Given how long some of these regressions have gone unnoticed, it seems
> extremely unlikely that anyone is actually using mainline kernels on
> rsk7203.
>
> Rather than worrying about hardware testing here, I think the simplest
> way forward is to just apply these patches (with Arnd's Kconfig tweak
> folded in, or I can send a v4 if you prefer) to unblock the legacy GPIO
> API removal,
I'm agree with this.
> and we can resolve any bug reports if they ever arise later.
...or even remove the board support completely (would be interesting
to see somebody investing time in this HW to fix all what listed and
not listed above).
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-11-24 7:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 4:57 Dmitry Torokhov
2026-09-30 4:58 ` [PATCH v3 1/5] pinctrl: renesas: gpio: isolate function gpiochip from parent fwnode Dmitry Torokhov
2026-09-30 7:05 ` Geert Uytterhoeven
2026-09-30 4:58 ` [PATCH v3 2/5] sh: pfc: attach software node to the GPIO chip Dmitry Torokhov
2026-09-30 4:58 ` [PATCH v3 3/5] sh: mach-rsk: rsk7203: use static device properties for LEDs and GPIO buttons Dmitry Torokhov
2026-09-30 4:58 ` [PATCH v3 4/5] pinctrl: renesas: gpio: support software nodes for function GPIOs Dmitry Torokhov
2026-09-30 7:06 ` Geert Uytterhoeven
2026-09-30 4:58 ` [PATCH v3 5/5] sh: mach-rsk: rsk7203: convert pin configuration to using software nodes Dmitry Torokhov
2026-09-30 7:23 ` [PATCH v3 0/5] sh: mach-rsk: rsk7203: switch to using static device property, drop legacy gpio API Arnd Bergmann
2026-09-30 8:37 ` Andy Shevchenko
2026-11-23 6:44 ` Dmitry Torokhov
2026-11-23 8:12 ` John Paul Adrian Glaubitz
2026-11-23 23:55 ` Dmitry Torokhov
2026-11-24 7:10 ` Andy Shevchenko [this message]
2026-11-24 8:27 ` John Paul Adrian Glaubitz
2026-11-24 8:36 ` Andy Shevchenko
2026-11-24 8:45 ` Andy Shevchenko
2026-11-23 8:45 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awU4aqWbKEs4Qhyg@ashevche-desk.local \
--to=andriy.shevchenko@linux.intel.com \
--cc=arnd@kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=dalias@libc.org \
--cc=dmitry.torokhov@gmail.com \
--cc=geert+renesas@glider.be \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®