All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Wei W Wang <wei.w.wang@intel.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: patch "x86/cpufreq: relocate the driver register function" breaks cpu hot(un)plug
Date: Mon, 12 Oct 2015 15:34:49 +0200	[thread overview]
Message-ID: <1444656889.3009.25.camel@citrix.com> (raw)
In-Reply-To: <561BD04502000078000AA436@prv-mh.provo.novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 1298 bytes --]

On Mon, 2015-10-12 at 07:22 -0600, Jan Beulich wrote:
> > > > On 10.10.15 at 03:38, <wei.w.wang@intel.com> wrote:
> > On 09/10/2015 04:01, Konrad Rzeszutek Wilk wrote:

> > Please also remove "register_cpu_notifier(&cpu_nfb)" in the 
> > cpufreq_register_driver function as well. (found that it has
> > already been 
> > included in cpufreq_presmp_nfb()).
> 
> Yes, I think this is it, and I seem to recall having complained about
> this in an earlier version of the series (and I overlooked it now).
>
In fact, I did not spot it with `git diff' either (and the changelog
says "Move the driver register function"!).

> Dario, if could you let us know whether that helps?
> 
Yep, I confirm that it was it. Avoiding calling register_cpu_notifier()
from cpufreq_register_driver(), I am able to put CPUs offline and then
back online again.

I've got to go AFK for a bit now, but I'm fine sending a patch later in
the afternoon. If someone wants to try beating me, no hard feelings.
:-)

Thanks and Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-10-12 13:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 16:48 patch "x86/cpufreq: relocate the driver register function" breaks cpu hot(un)plug Dario Faggioli
2015-10-09 20:00 ` Konrad Rzeszutek Wilk
2015-10-10  1:38   ` Wang, Wei W
2015-10-12 13:22     ` Jan Beulich
2015-10-12 13:34       ` Dario Faggioli [this message]
2015-10-12 13:19   ` Jan Beulich
2015-10-12 13:22     ` Dario Faggioli
2015-10-12 13:25     ` Andrew Cooper
2015-10-12 13:29       ` Jan Beulich

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=1444656889.3009.25.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=wei.w.wang@intel.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.