Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1471693

RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

From Yongcai Huang <anson.huang@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul
Date 2016-08-29 12:10 +0200
Message-ID <sbrFU-5Yf-7@gated-at.bofh.it> (permalink)
References <s9Cm5-8m-3@gated-at.bofh.it> <s9Cm5-8m-1@gated-at.bofh.it> <s9Di9-MJ-5@gated-at.bofh.it> <s9Di9-MJ-3@gated-at.bofh.it> <sbpb3-4lM-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



Best Regards!
Anson Huang



> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: 2016-08-29 3:24 PM
> To: Lucas Stach <l.stach@pengutronix.de>; Yongcai Huang
> <anson.huang@nxp.com>
> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Fabio
> Estevam <fabio.estevam@nxp.com>; linux@armlinux.org.uk;
> kernel@pengutronix.de
> Subject: Re: [PATCH] ARM: imx: add cpuidle support for i.mx6ul
> 
> On Wed, Aug 24, 2016 at 12:04:50PM +0200, Lucas Stach wrote:
> > Personally I would just remove the condition, but if you are concerned
> > about the double L1 flush overhead (I wouldn't worry about this, it
> > should be negligible) you should really make this conditional on an
> > architected L2 being present. Making it conditional on the outer cache
> > being absent is confusing.
> 
> Anson,
> 
> Is there any concern or problem if we follow Lucas' suggestion to
> unconditionally calls flush_cache_all() here?
> 
> Shawn

Because this code is in idle thread, my original aim is to make the latency as
small as possible, but since the double L1 flush here should finish very quick at this
stage and compare to hardware ARM core power down/up latency, it should be
negligible as Lucas mentioned, yes, I agree to remove condition check here and
just call L1 flush again to avoid any confusion. Will send out a V2 patch later, thanks.

Anson.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] ARM: imx: add cpuidle support for i.mx6ul Shawn Guo <shawnguo@kernel.org> - 2016-08-29 09:30 +0200
  RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul Yongcai Huang <anson.huang@nxp.com> - 2016-08-29 12:10 +0200

csiph-web