mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>,
	Deepthi Dharwar <deepthi@linux.vnet.ibm.com>,
	linux-acpi@vger.kernel.org, linux-pm@lists.linux-foundation.org,
	Linux PM mailing list <linux-pm@vger.kernel.org>,
	lenb@kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] acpi, cpuidle: Register with cpuidle even if cpu is onlined after boot (beyond maxcpus)
Date: Tue, 26 Jun 2012 13:01:25 +0200	[thread overview]
Message-ID: <201206261301.25550.trenn@suse.de> (raw)
In-Reply-To: <4FE99206.8060109@linaro.org>

On Tuesday, June 26, 2012 12:42:14 PM Daniel Lezcano wrote:
> On 06/26/2012 11:58 AM, Srivatsa S. Bhat wrote:
> > On 06/26/2012 03:11 PM, Daniel Lezcano wrote:
> >> On 06/26/2012 11:29 AM, Thomas Renninger wrote:
...
> >>
> >> In this case, let's remove the intel_idle_cpu_init stuff in
> >> acpi_cpu_soft_notify, no ?
> >>
> > 
> > Why? And how would that help? The intel_idle_cpu_init() call is essential if intel_idle
> > driver is being used instead of acpi idle.
> 
> AFAIU, this code is not called after onlining a cpu greater than maxcpus
> and Thomas thinks that system with cpu hotplug at runtime are not sold.
Not 100% sure. Also the code paths to handle real CPU hotplug existed
already (via ACPI notify on the processor object) and did work.
I only fixed to correctly initialize idle states.

> The problem I see with this code is acpi and intel-idle are tied
> together now. I would like to break this dependency and use the notifier
> to handle the cpu hotplug directly in intel-idle.
> 
> It is hard to test my patch as there is not such system and maxcpus is
> not correctly handled here. I can use your patch to test my patch but
> anyway ... I am just asking if that would make sense to remove this
> portion of code instead :)
> 
> If we want to keep this code untouched, I can try my patch and maybe
> Thomas will agreed to test it also on a cpu-online-runtime-system if he
> has one.
But not this patch, we agreed it's not worth to look at:
"System exceeding maxcpus=x via cpu soft onlining does not initialize
power management on exceeding cores", right?

If you have a patch touching this, please point me to it.
I can have a look at it and if really necessary give it a test.

   Thomas

  reply	other threads:[~2012-06-26 11:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4FDB549F.1020002@linaro.org>
     [not found] ` <4FE027AC.8010607@linaro.org>
     [not found]   ` <4FE84AB7.6020305@linux.vnet.ibm.com>
2012-06-25 13:53     ` Thomas Renninger
2012-06-25 16:03       ` Srivatsa S. Bhat
2012-06-26  9:29         ` Thomas Renninger
2012-06-26  9:41           ` Daniel Lezcano
2012-06-26  9:58             ` Srivatsa S. Bhat
2012-06-26 10:42               ` Daniel Lezcano
2012-06-26 11:01                 ` Thomas Renninger [this message]
2012-06-27  9:07                   ` [PATCH] acpi: intel_idle : break dependency between modules Daniel Lezcano
2012-06-27 13:06                     ` Thomas Renninger
2012-06-28  8:03                       ` Daniel Lezcano
2012-06-28  8:46                       ` [PATCH v2] " Daniel Lezcano
2012-06-28 11:24                         ` Srivatsa S. Bhat
2012-06-28 11:27                           ` Daniel Lezcano
2012-06-28 11:56                             ` Srivatsa S. Bhat
2012-06-28 19:24                         ` Rafael J. Wysocki
2012-06-29  8:39                           ` Daniel Lezcano
2012-06-29 22:27                             ` Rafael J. Wysocki
2012-07-01 19:36                               ` Daniel Lezcano
2012-06-27 16:16                     ` [linux-pm] [PATCH] " Srivatsa S. Bhat
2012-06-28  7:34                       ` Thomas Renninger
2012-06-28 11:23                         ` Srivatsa S. Bhat
2012-06-26 11:07                 ` [linux-pm] [PATCH] acpi, cpuidle: Register with cpuidle even if cpu is onlined after boot (beyond maxcpus) Srivatsa S. Bhat

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=201206261301.25550.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=deepthi@linux.vnet.ibm.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=srivatsa.bhat@linux.vnet.ibm.com \
    --cc=x86@kernel.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

Powered by JetHome