Re: [PATCH 2/3] spi: sh-msiof: Convert to spi core auto_runtime_pm framework
From: Laurent Pinchart
Date: Tue Mar 11 2014 - 13:56:19 EST
Hi Geert,
On Tuesday 11 March 2014 18:44:21 Geert Uytterhoeven wrote:
> On Tue, Mar 11, 2014 at 5:32 PM, Laurent Pinchart wrote:
> > On Tuesday 11 March 2014 17:23:37 Geert Uytterhoeven wrote:
> >> On Tue, Mar 11, 2014 at 4:55 PM, Laurent Pinchart wrote:
> >> > Does this require drivers/sh/pm_runtime.c to be compiled in ?
> >>
> >> Let's check...
> >>
> >> My koelsch-legacy kernel has drivers/sh/pm_runtime.c compiled in.
> >> My koelsch-reference kernel hasn't.
> >>
> >> However, under the -reference kernel many MSTP clocks (incl. MSIOF)
> >> seem to be enabled all the time, while under -legacy they are enabled and
> >> disabled on demand.
> >
> > Is PM_RUNTIME enabled in both cases ?
>
> Yes it is.
>
> > There's something fishy in there that we should try to fix without too
> > further much delay. Ben Dooks has pointed out the problem a couple of
> > months ago, but the discussion on the mailing list just died.
>
> Indeed. I'll look into it next week, unless someone beats me to it.
>
> Note that I dropped Ben's patch to include drivers/sh, as I can't boot into
> userspace with it.
The patch also had the issue of not being compatible with multiplatform
kernels, as it resulted in Renesas-specific code being executed for all
platforms.
If you can find the old mail thread you can just reply to it (CC'ing me) and
I'll make sure to refresh my memory and explain my concerns again.
--
Regards,
Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/