Re: [PATCH] firmware: arm_scmi: Fix incorrect alloc_workqueue() invocation

From: Cristian Marussi
Date: Fri Apr 21 2023 - 05:39:48 EST


On Fri, Apr 21, 2023 at 10:27:42AM +0100, Sudeep Holla wrote:
> On Fri, Apr 21, 2023 at 09:46:11AM +0100, Cristian Marussi wrote:
> > On Thu, Apr 20, 2023 at 09:33:49AM -1000, Tejun Heo wrote:
> > > scmi_xfer_raw_worker_init() is specifying a flag, WQ_SYSFS, as @max_active.
> > > Fix it by or'ing WQ_SYSFS into @flags so that it actually enables sysfs
> > > interface and using 0 for @max_active for the default setting.
> > >
>
> Thanks, good catch, very hard to notice.

Indeed :<

>
> >
> > Hi Tejun,
> >
> > my bad I messed up the params in the call.
> >
>
> Hi Cristian,
>
> I think it deserves the fixes tag, right ?
>
> Fixes: 3c3d818a9317 ("firmware: arm_scmi: Add core raw transmission support")
>

I though so, but as usual I am not sure what to do when we are fixing something
in the middle of a cycle... Raw support went in v6.3-rc1 and we are now in
v6.3-rc7, so if you want to pick this up now (as it seems the case) it will fix
the above yes, but it is anyway still on an unreleased kernel...so nothing really
to have to apply on any early stable kernels...buh..I dont know what is the rule,
but the Fix tag seems harmless ... so why not :D

Thanks,
Cristian