From: Natanael Copa <ncopa@alpinelinux.org>
To: Sasha Levin <sashal@kernel.org>
Cc: stable@vger.kernel.org, regressions@lists.linux.dev,
linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
vneethv@linux.ibm.com, oberpar@linux.ibm.com, hca@linux.ibm.com,
gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com
Subject: Re: [REGRESSION] 6.6.141 s390x build failure in s390/cio due to missing driver_override infrastructure
Date: Tue, 26 May 2026 22:12:54 +0200 [thread overview]
Message-ID: <20260526221254.183e23ef@ncopa-desktop.lan> (raw)
In-Reply-To: <20260525231000.agent5-0002@kernel.org>
On Tue, 26 May 2026 07:35:06 -0400
Sasha Levin <sashal@kernel.org> wrote:
> > v6.6.141 fails to build on s390x with
> >
> > drivers/s390/cio/css.c: error: implicit declaration of function
> > 'device_match_driver_override'
> > drivers/s390/cio/css.c: error: 'struct bus_type' has no member named
> > 'driver_override'
> >
> > The s390/cio change (c4295487124f, upstream ac4d8bb6e2e1) was queued
> > without its driver-core prerequisite cb3d1049f4ea ("driver core:
> > generalize driver_override in struct device").
> >
> > Could you backport cb3d1049f4ea to 6.6.y, or revert c4295487124f?
>
> Thanks for the report and the analysis.
>
> The driver-core prerequisite (cb3d1049f4ea) is already queued for
> 6.6.y - The companion bdddb54c533f ("driver core: platform: use generic
> driver_override infrastructure") is queued too. Once 6.6.142 ships the build
> error should resolve.
>
> Newer LTS branches (6.12/6.18/7.0) already have the prerequisite as
> an ancestor, so only 6.6.y was affected.
FYI. We also needed this for the build to pass:
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index 93307ca75c10..57cbba03beb8 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -1322,7 +1322,7 @@ static int purge_fn(struct subchannel *sch, void *data)
{
struct ccw_device *cdev;
- spin_lock_irq(sch->lock);
+ spin_lock_irq(&sch->lock);
if (sch->st != SUBCHANNEL_TYPE_IO || !sch->schib.pmcw.dnv)
goto unlock;
@@ -1345,7 +1345,7 @@ static int purge_fn(struct subchannel *sch, void *data)
sch->schib.pmcw.dev, cdev ? "" : " (no cdev)");
unlock:
- spin_unlock_irq(sch->lock);
+ spin_unlock_irq(&sch->lock);
/* Abort loop in case of pending signal. */
if (signal_pending(current))
return -EINTR;
-nc
next prev parent reply other threads:[~2026-05-26 20:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 10:16 Natanael Copa
2026-05-26 11:35 ` Sasha Levin
2026-05-26 20:12 ` Natanael Copa [this message]
2026-05-27 19:48 ` Sasha Levin
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=20260526221254.183e23ef@ncopa-desktop.lan \
--to=ncopa@alpinelinux.org \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=oberpar@linux.ibm.com \
--cc=regressions@lists.linux.dev \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=svens@linux.ibm.com \
--cc=vneethv@linux.ibm.com \
/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®