From: Gu Zheng <guz.fnst@cn.fujitsu.com>
To: imammedo@redhat.com
Cc: qemu-devel@nongnu.org, tangchen@cn.fujitsu.com,
chen.fan.fnst@cn.fujitsu.com, isimatu.yasuaki@jp.fujitsu.com,
Gu Zheng <guz.fnst@cn.fujitsu.com>,
afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH V3 0/7] cpu/acpi: convert cpu hot plug to hotplug_handler API
Date: Thu, 18 Sep 2014 17:55:39 +0800 [thread overview]
Message-ID: <541AAC1B.8050701@cn.fujitsu.com> (raw)
In-Reply-To: <1410917043-16334-1-git-send-email-guz.fnst@cn.fujitsu.com>
Hi Igor,
The issues you mentioned in previous comments are fixed in this version.
Could please help to review it?
Thanks,
Gu
On 09/17/2014 09:23 AM, Gu Zheng wrote:
> Previously we use cpu_added_notifiers to register cpu hotplug notifier callback
> which is not able to pass/handle errors, so we switch it to unified hotplug
> handler API which allows to pass errors and would allow to cancel device_add
> in case of error.
> Thanks very much for Igor's review and suggestion.
>
> v3:
> -deal with start-up cpus in pc_cpu_plug as Igor suggested.
>
> v2:
> -Add 3 new patches(5/7,6/7,7/7), delete original patch 5/5.
> 1/5-->1/7
> 2/5-->2/7
> 3/5-->3/7
> 4/5-->4/7
> Patch 1/7:
> -add errp argument to catch error.
> -return error instead of aborting if cpu id is invalid.
> -make acpi_cpu_plug_cb as a wrapper around AcpiCpuHotplug_add.
> Patch 3/7:
> -remove unused AcpiCpuHotplug_add directly.
> Patch 5/7:
> -switch the last user of cpu hotplug notifier to hotplug handler API, and
> remove the unused cpu hotplug notify.
> Patch 6/7:
> -split the function rename (just cleanup) into single patch.
> Patch 7/7:
> -introduce help function acpi_set_local_sts to keep the bit setting in
> one place.
>
> Gu Zheng (7):
> acpi/cpu: add cpu hotplug callback function to match hotplug_handler
> API
> acpi:ich9: convert cpu hotplug handle to hotplug_handler API
> acpi:piix4: convert cpu hotplug handle to hotplug_handler API
> pc: add cpu hotplug handler to PC_MACHINE
> pc: Update rtc_cmos in pc_cpu_plug
> cpu-hotplug: rename function for better readability
> acpi/cpu-hotplug: introduce help function to keep bit setting in one
> place
>
> hw/acpi/cpu_hotplug.c | 35 ++++++++++++++++++++--------
> hw/acpi/ich9.c | 18 ++++----------
> hw/acpi/piix4.c | 18 +++-----------
> hw/i386/pc.c | 51 +++++++++++++++++++++++++----------------
> include/hw/acpi/cpu_hotplug.h | 7 +++--
> include/hw/acpi/ich9.h | 1 -
> include/sysemu/sysemu.h | 3 --
> qom/cpu.c | 10 --------
> 8 files changed, 69 insertions(+), 74 deletions(-)
>
next prev parent reply other threads:[~2014-09-18 10:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 1:23 [Qemu-devel] [PATCH V3 0/7] cpu/acpi: convert cpu hot plug to hotplug_handler API Gu Zheng
2014-09-17 1:23 ` [Qemu-devel] [PATCH V3 1/7] acpi/cpu: add cpu hotplug callback function to match " Gu Zheng
2014-09-26 13:08 ` Igor Mammedov
2014-09-17 1:23 ` [Qemu-devel] [PATCH V3 2/7] acpi:ich9: convert cpu hotplug handle to " Gu Zheng
2014-09-17 1:23 ` [Qemu-devel] [PATCH V3 3/7] acpi:piix4: " Gu Zheng
2014-09-17 1:24 ` [Qemu-devel] [PATCH V3 4/7] pc: add cpu hotplug handler to PC_MACHINE Gu Zheng
2014-09-26 13:06 ` Igor Mammedov
2014-09-29 2:58 ` Gu Zheng
2014-09-29 8:58 ` Igor Mammedov
2014-09-17 1:24 ` [Qemu-devel] [PATCH V3 5/7] pc: Update rtc_cmos in pc_cpu_plug Gu Zheng
2014-09-26 13:23 ` Igor Mammedov
2014-09-29 3:12 ` Gu Zheng
2014-09-26 13:29 ` Igor Mammedov
2014-09-17 1:24 ` [Qemu-devel] [PATCH V3 6/7] cpu-hotplug: rename function for better readability Gu Zheng
2014-09-17 1:24 ` [Qemu-devel] [PATCH V3 7/7] acpi/cpu-hotplug: introduce help function to keep bit setting in one place Gu Zheng
2014-09-26 13:37 ` Igor Mammedov
2014-09-29 9:22 ` Gu Zheng
2014-09-29 9:47 ` Igor Mammedov
2014-09-29 9:44 ` Gu Zheng
2014-09-29 10:19 ` Igor Mammedov
2014-09-18 9:55 ` Gu Zheng [this message]
2014-09-24 2:23 ` [Qemu-devel] [PATCH V3 0/7] cpu/acpi: convert cpu hot plug to hotplug_handler API Gu Zheng
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=541AAC1B.8050701@cn.fujitsu.com \
--to=guz.fnst@cn.fujitsu.com \
--cc=afaerber@suse.de \
--cc=chen.fan.fnst@cn.fujitsu.com \
--cc=imammedo@redhat.com \
--cc=isimatu.yasuaki@jp.fujitsu.com \
--cc=qemu-devel@nongnu.org \
--cc=tangchen@cn.fujitsu.com \
/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.