linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores
       [not found]     ` <20190726094724.GA14913@vmlxhi-102.adit-jv.com>
@ 2019-07-29  7:44       ` Geert Uytterhoeven
  2019-07-29 11:32         ` Lorenzo Pieralisi
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2019-07-29  7:44 UTC (permalink / raw)
  To: Eugeniu Rosca
  Cc: Ulrich Hecht, horms, khiem.nguyen.xt, dien.pham.ry,
	takeshi.kihara.df, Kuninori Morimoto, linux-renesas-soc, Wischer,
	Timo (ADITG/ESM),
	Maik.Scholz, Dirk.Behme, Eugeniu Rosca, Lorenzo Pieralisi,
	Daniel Lezcano, Linux PM list, Linux ARM

Hi Eugniu,

CC cpuidle people

On Fri, Jul 26, 2019 at 11:47 AM Eugeniu Rosca <erosca@de.adit-jv.com> wrote:
> On Fri, Jul 26, 2019 at 11:13:29AM +0200, Rosca, Eugeniu (ADITG/ESM1) wrote:
> [..]
> > The culprit BSP commits are:
> > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id=3c3b44c752c4ee
> > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id=902ff7caa32dc71c
> >
> > Further narrowing it down, it turns out the CA57 cpuidle support is
> > not responsible for generating the issue. It's all about the CA53 idle
> > enablement. The reference target is H3-ES2.0-Salvator-X (the problem
> > originally emerged on M3-based customer HW).
> [..]
>
> Small amendment to the above (based on vanilla testing):
>
>  Version                              Issue reproduced?
>                                       (H3-ES2.0-Salvator-X)
>  v5.3-rc1-96-g6789f873ed37              No
>  v5.3-rc1-96-g6789f873ed37 + [1]        No
>  v5.3-rc1-96-g6789f873ed37 + [2]        No
>  v5.3-rc1-96-g6789f873ed37 + [1] + [2]  Yes
>
> [1] https://patchwork.kernel.org/patch/10769701/
> ("[v2,1/5] arm64: dts: r8a7795: Add cpuidle support for CA57 cores")
>
> [2] https://patchwork.kernel.org/patch/10769689/
> ("[v2,2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores")

Thanks for your report and investigation!

Unfortunately your original report didn't make it to lore.kernel.org, and
probably also not to the list, due to the large audio attachment.

For the newly CCed people, the issue is about consistent dropouts during
audio playback using an in-house application, introduced by adding cpuidle
support to _both_ the big and LITTLE cores.

Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores
  2019-07-29  7:44       ` [PATCH v2 2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores Geert Uytterhoeven
@ 2019-07-29 11:32         ` Lorenzo Pieralisi
  2019-07-29 21:55           ` Eugeniu Rosca
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Pieralisi @ 2019-07-29 11:32 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Eugeniu Rosca, Ulrich Hecht, horms, khiem.nguyen.xt,
	dien.pham.ry, takeshi.kihara.df, Kuninori Morimoto,
	linux-renesas-soc, Wischer, Timo (ADITG/ESM),
	Maik.Scholz, Dirk.Behme, Eugeniu Rosca, Daniel Lezcano,
	Linux PM list, Linux ARM

On Mon, Jul 29, 2019 at 09:44:52AM +0200, Geert Uytterhoeven wrote:
> Hi Eugniu,
> 
> CC cpuidle people
> 
> On Fri, Jul 26, 2019 at 11:47 AM Eugeniu Rosca <erosca@de.adit-jv.com> wrote:
> > On Fri, Jul 26, 2019 at 11:13:29AM +0200, Rosca, Eugeniu (ADITG/ESM1) wrote:
> > [..]
> > > The culprit BSP commits are:
> > > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id=3c3b44c752c4ee
> > > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/commit/?id=902ff7caa32dc71c
> > >
> > > Further narrowing it down, it turns out the CA57 cpuidle support is
> > > not responsible for generating the issue. It's all about the CA53 idle
> > > enablement. The reference target is H3-ES2.0-Salvator-X (the problem
> > > originally emerged on M3-based customer HW).
> > [..]
> >
> > Small amendment to the above (based on vanilla testing):
> >
> >  Version                              Issue reproduced?
> >                                       (H3-ES2.0-Salvator-X)
> >  v5.3-rc1-96-g6789f873ed37              No
> >  v5.3-rc1-96-g6789f873ed37 + [1]        No
> >  v5.3-rc1-96-g6789f873ed37 + [2]        No
> >  v5.3-rc1-96-g6789f873ed37 + [1] + [2]  Yes
> >
> > [1] https://patchwork.kernel.org/patch/10769701/
> > ("[v2,1/5] arm64: dts: r8a7795: Add cpuidle support for CA57 cores")
> >
> > [2] https://patchwork.kernel.org/patch/10769689/
> > ("[v2,2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores")
> 
> Thanks for your report and investigation!
> 
> Unfortunately your original report didn't make it to lore.kernel.org, and
> probably also not to the list, due to the large audio attachment.
> 
> For the newly CCed people, the issue is about consistent dropouts
> during audio playback using an in-house application, introduced by
> adding cpuidle support to _both_ the big and LITTLE cores.

CPUidle entry/exit latencies are certainly bringing the issue
about, I am not an audio expert but I suspect buffering should
be tuned to cope with those _increased_ latencies or possibly
idle states disabled for certain specific use cases - there
is no silver bullet, entering deep idle states will increase
latencies, there is no way around it.

I am happy to help you debug the issue further.

Lorenzo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores
  2019-07-29 11:32         ` Lorenzo Pieralisi
@ 2019-07-29 21:55           ` Eugeniu Rosca
  0 siblings, 0 replies; 3+ messages in thread
From: Eugeniu Rosca @ 2019-07-29 21:55 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Geert Uytterhoeven
  Cc: Eugeniu Rosca, Ulrich Hecht, horms, khiem.nguyen.xt,
	dien.pham.ry, takeshi.kihara.df, Kuninori Morimoto,
	linux-renesas-soc, Wischer, Timo (ADITG/ESM),
	Maik.Scholz, Dirk.Behme, Daniel Lezcano, Linux PM list,
	Linux ARM, Eugeniu Rosca

Hello Geert, hello Lorenzo,

Many thanks for your comments and for the willingness to help.

For your information, we've recently discovered that, with all the
findings already described being absolutely valid for the reference
targets, disabling CPUidle on the customer HW is apparently not enough
to fix the audio dropouts. We will first try to identify those
differences (both HW and SW) which keep the issue reproducible on the
customer boards. Once this is hopefully understood, we'll come back
with feedback.

This investigation also happens to overlap with my vacation. Hence I
plan to update you on this topic in 2-4 weeks from now.

Thanks again.

Best regards,
Eugeniu.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-29 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1547808474-19427-1-git-send-email-uli+renesas@fpond.eu>
     [not found] ` <1547808474-19427-3-git-send-email-uli+renesas@fpond.eu>
     [not found]   ` <20190726091325.GA13111@vmlxhi-102.adit-jv.com>
     [not found]     ` <20190726094724.GA14913@vmlxhi-102.adit-jv.com>
2019-07-29  7:44       ` [PATCH v2 2/5] arm64: dts: r8a7795: Add cpuidle support for CA53 cores Geert Uytterhoeven
2019-07-29 11:32         ` Lorenzo Pieralisi
2019-07-29 21:55           ` Eugeniu Rosca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).