mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Liu, Jinsong" <jinsong.liu@intel.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Konrad Rzeszutek Wilk <konrad@kernel.org>
Subject: RE: [PATCH V1 1/3] Xen stub driver for CPU hotplug
Date: Fri, 25 Jan 2013 06:32:41 +0000	[thread overview]
Message-ID: <DE8DF0795D48FD4CA783C40EC82923353DD417@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20130123195530.GB18022@phenom.dumpdata.com>

Konrad Rzeszutek Wilk wrote:
> On Tue, Jan 15, 2013 at 12:30:19PM +0000, Liu, Jinsong wrote:
>>> From 110b4ef3b8ebefeaf68832dd8ef8aa916a782e89 Mon Sep 17 00:00:00
>>> 2001 
>> From: Liu Jinsong <jinsong.liu@intel.com>
>> Date: Mon, 14 Jan 2013 15:19:30 +0800
>> Subject: [PATCH 1/3] Xen stub driver for CPU hotplug
>> 
>> Add Xen stub driver for CPU hotplug, early occupy to block native,
>> will be replaced later by real Xen processor driver module.
>> 
>> Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
>> ---
>>  drivers/xen/xen-stub.c |   34 ++++++++++++++++++++++++++++++++--
>>  include/xen/acpi.h     |    6 ++++++
>>  2 files changed, 38 insertions(+), 2 deletions(-)
>> 
>> diff --git a/drivers/xen/xen-stub.c b/drivers/xen/xen-stub.c
>> index 01a49e3..681e9cc 100644
>> --- a/drivers/xen/xen-stub.c
>> +++ b/drivers/xen/xen-stub.c
>> @@ -28,12 +28,13 @@
>>  #include <acpi/acpi_drivers.h>
>>  #include <xen/acpi.h>
>> 
>> +
>> +#ifdef CONFIG_ACPI
>> +
>>  /*--------------------------------------------
>>  	stub driver for Xen memory hotplug
>>  --------------------------------------------*/
>> 
>> -#ifdef CONFIG_ACPI
>> -
>>  static const struct acpi_device_id memory_device_ids[] = {
>>  	{ACPI_MEMORY_DEVICE_HID, 0},
>>  	{"", 0},
>> @@ -57,4 +58,33 @@ static int __init
>>  xen_stub_memory_device_init(void)  }
>> subsys_initcall(xen_stub_memory_device_init); 
>> 
>> +
>> +/*--------------------------------------------
>> +	stub driver for Xen cpu hotplug
>> +--------------------------------------------*/
>> +
>> +static const struct acpi_device_id processor_device_ids[] = {
>> +	{ACPI_PROCESSOR_OBJECT_HID, 0},
>> +	{ACPI_PROCESSOR_DEVICE_HID, 0},
>> +	{"", 0},
>> +};
>> +
>> +struct acpi_driver xen_stub_processor_driver = {
>> +	/* same name as native processor driver to block native loaded */
>> +	.name = "processor", +	.class = ACPI_PROCESSOR_CLASS,
>> +	.ids = processor_device_ids,
>> +};
>> +EXPORT_SYMBOL_GPL(xen_stub_processor_driver);
> 
> Could you make this be
> 
> xen_stub_processor_deinit() instead?
> 

Updated, w/ 2 funcs EXPORT_SYMBOL_GPL to cpu hotplug module:
xen_stub_processor_init()
xen_stub_processor_exit()

Thanks,
Jinsong

      reply	other threads:[~2013-01-25  6:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 12:30 Liu, Jinsong
2013-01-23 19:55 ` Konrad Rzeszutek Wilk
2013-01-25  6:32   ` Liu, Jinsong [this message]

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=DE8DF0795D48FD4CA783C40EC82923353DD417@SHSMSX101.ccr.corp.intel.com \
    --to=jinsong.liu@intel.com \
    --cc=konrad.wilk@oracle.com \
    --cc=konrad@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xensource.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®