linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param
Date: Mon, 9 Mar 2015 08:24:54 -0700	[thread overview]
Message-ID: <20150309152453.GF5264@atomide.com> (raw)
In-Reply-To: <54FD6306.4050109@ti.com>

* Tero Kristo <t-kristo@ti.com> [150309 05:56]:
> On 03/06/2015 06:25 PM, Tony Lindgren wrote:
> >* Tero Kristo <t-kristo@ti.com> [150306 08:10]:
> >>On 03/06/2015 05:32 PM, Tony Lindgren wrote:
> >>>* Tero Kristo <t-kristo@ti.com> [150306 04:29]:
> >>>>The legacy support is wrong and dangerous, as it doesn't take any
> >>>>OPPs into account and does not scale voltages. Switching mpurate should
> >>>>be handled through cpufreq.
> >>>
> >>>Hmm I wonder if some systems actually rely on the mpurate cmdline
> >>>parameter. If this cannot be fixed properly, you should at least
> >>>print an error here.
> >>
> >>Yea, I was kind of worried about this comment. We have also an option of
> >>doing this through clock driver, but I was hesitant of doing this either.
> >>Isn't having a global kernel option like this frowned upon anyway? I believe
> >>this piece of init code gets executed on every board on multiarch kernel.
> >
> >Well the option has been there probably for 10 years already so we
> >can't just drop it like that. Chances are it's unused though, so I
> >suggest you just print out a warning for it.
> >
> >It's called from omap_arch_initcall which checks for soc_is_omap()
> >so that's not an issue. But when moving the code, you naturally
> >need to check the moved code initcall usage.
> 
> This patch is not really needed for the set itself btw, it can just be
> dropped if you feel it actually is used by someone. Reverting it from the
> set just causes a minor merge conflict and you can't remove two of the
> otherwise empty clock files.

How about set it up in a way where it can be easily reverted later
on if there is need for that?
 
> You could also just move the code over to clock.c maybe, merge these and do
> a soc type check to reach the same behaviour.

If it's needed yeah.

Regards,

Tony

  reply	other threads:[~2015-03-09 15:24 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 12:28 [PATCH 00/24] ARM: OMAP2+: move clock implementations under clock driver Tero Kristo
2015-03-06 12:28 ` [PATCH 01/24] ARM: OMAP2+: clock: export driver API to setup/get clock features Tero Kristo
2015-03-06 12:28 ` [PATCH 02/24] clk: ti: move generic OMAP DPLL implementation under drivers/clk Tero Kristo
2015-03-06 12:28 ` [PATCH 03/24] clk: ti: move OMAP4+ " Tero Kristo
2015-03-06 12:28 ` [PATCH 04/24] clk: ti: move interface clock " Tero Kristo
2015-03-06 12:28 ` [PATCH 05/24] ARM: OMAP3: dpll3-m2: get rid of obsolete omap2_clksel_round_rate_div call Tero Kristo
2015-03-06 12:28 ` [PATCH 06/24] ARM: OMAP2+: clk: remove obsolete clksel support code Tero Kristo
2015-03-06 12:28 ` [PATCH 07/24] ARM: OMAP2+: clock: remove clock_common_data.c file Tero Kristo
2015-03-06 12:28 ` [PATCH 08/24] ARM: OMAP36xx: remove clock36xx.c/.h files Tero Kristo
2015-03-06 12:28 ` [PATCH 09/24] clk: ti: autoidle: move generic autoidle handling code to clock driver Tero Kristo
2015-03-06 12:28 ` [PATCH 10/24] clk: ti: move omap2_clk_enable_init_clocks under " Tero Kristo
2015-03-06 12:28 ` [PATCH 11/24] ARM: OMAP2+: clock: remove support for legacy mpurate command line param Tero Kristo
2015-03-06 15:32   ` Tony Lindgren
2015-03-06 16:10     ` Tero Kristo
2015-03-06 16:25       ` Tony Lindgren
2015-03-09  9:08         ` Tero Kristo
2015-03-09 15:24           ` Tony Lindgren [this message]
2015-03-06 12:28 ` [PATCH 12/24] ARM: OMAP2+: clock: add support for clkdm ops to the low level clk ops Tero Kristo
2015-03-06 12:28 ` [PATCH 13/24] ARM: OMAP2+: clock: add support for specific CM ops to ti_clk_ll_ops Tero Kristo
2015-03-06 12:28 ` [PATCH 14/24] clk: ti: dpll: move omap3 DPLL functionality to clock driver Tero Kristo
2015-03-06 12:28 ` [PATCH 15/24] ARM: OMAP3: clock: remove clock3xxx.c file Tero Kristo
2015-03-06 12:28 ` [PATCH 16/24] ARM: OMAP2+: clock: remove clkdm_control static boolean from code Tero Kristo
2015-03-06 12:28 ` [PATCH 17/24] clk: ti: dflt: move support for default gate clock to clock driver Tero Kristo
2015-03-06 12:28 ` [PATCH 18/24] clk: ti: omap2430: move clock support code under " Tero Kristo
2015-03-06 12:28 ` [PATCH 19/24] clk: ti: clkdm: move clkdm gate clock support code to " Tero Kristo
2015-03-06 12:28 ` [PATCH 20/24] clk: ti: omap34xx: move omap34xx clock type " Tero Kristo
2015-03-06 12:28 ` [PATCH 21/24] ARM: OMAP4: clock: remove clock44xx.h header Tero Kristo
2015-03-06 12:28 ` [PATCH 22/24] clk: ti: am3517: move remaining am3517 clock support code to clock driver Tero Kristo
2015-03-06 12:28 ` [PATCH 23/24] clk: ti: move some public definitions to private header Tero Kristo
2015-03-06 12:28 ` [PATCH 24/24] ARM: OMAP2+: clock: remove dead definitions from the clock header file Tero Kristo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150309152453.GF5264@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).