On Mon, Sep 28, 2026 at 01:20:29PM +0200, [email protected] wrote:
> Le Mon, Sep 28, 2026 at 06:41:10PM +1000, Jonathan Gray a écrit :
> > On Mon, Sep 28, 2026 at 10:04:56AM +0200, [email protected] wrote:
> > > Le Mon, Sep 28, 2026 at 05:22:15PM +1000, Jonathan Gray a écrit :
> > > > On Mon, Sep 28, 2026 at 04:56:10PM +1000, Jonathan Gray wrote:
> > > > > On Mon, Sep 28, 2026 at 08:09:34AM +0200, [email protected] wrote:
> > > > > > hi
> > > > > >
> > > > > > upgraded my work t470s this morning to latest snap (previously
> > > > > > running a
> > > > > > snap from the 6), first noticed that wsconsctl during boot was
> > > > > > stuck on
> > > > > > ww_mutex_lock (^T showed it making no progress) and the laptop lid
> > > > > > was
> > > > > > 'flashing' every ~10s or so.
> > > > > >
> > > > > > moved my wsconsctl.conf away, X wouldnt start anyway (Xorg.0.log
> > > > > > attached)
> > > > > >
> > > > > > bisected previous kernels from the archive:
> > > > > > #56: Fri Sep 25 11:32:45 MDT 2026 is bad
> > > > > > #55: Wed Sep 23 14:37:23 MDT 2026 is good (eg screen wont flash
> > > > > > during
> > > > > > boot msgs and X starts)
> > > > >
> > > > > Likely the sleep changes. Does this diff to revert them help?
> > > >
> > > > alternatively, avoid sleep when cold
> > >
> > > sadly, this version doesnt work (eg screen still flashes after switching
> > > to kms, and X wont start)
> >
> > a version that keeps the previous midpoint behaviour
> > while still using tsleep
>
> sadly, still no luck with that one, i had reinstated wsconsctl.conf and
> it's still stuck on the same mutex, and screen flashes every 5s.
Is this partial revert enough?
The problems some people saw with Alder Lake involved usleep_range()
Index: sys/dev/pci/drm/include/linux/delay.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/include/linux/delay.h,v
diff -u -p -r1.9 delay.h
--- sys/dev/pci/drm/include/linux/delay.h 25 Sep 2026 12:12:53 -0000
1.9
+++ sys/dev/pci/drm/include/linux/delay.h 28 Sep 2026 11:26:15 -0000
@@ -39,19 +39,12 @@ mdelay(unsigned long msecs)
DELAY(1000);
}
-static inline void
-drm_msleep(unsigned int msecs)
-{
- tsleep_nsec(&nowake, PWAIT, "drmmsleep", MSEC_TO_NSEC(msecs));
-}
+#define drm_msleep(x) mdelay(x)
static inline void
fsleep(unsigned long usecs)
{
- if (usecs <= 10)
- DELAY(usecs);
- else
- tsleep_nsec(&nowake, PWAIT, "fsleep", USEC_TO_NSEC(usecs));
+ DELAY(usecs);
}
static inline unsigned int