All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Jiang, Yunhong" <yunhong.jiang@intel.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Re: [PATCH] Add hypercall to expose physical CPU in xen hypervisor
Date: Tue, 10 Nov 2009 11:36:26 -0500	[thread overview]
Message-ID: <20091110163626.GC23000@phenom.dumpdata.com> (raw)
In-Reply-To: <E2263E4A5B2284449EEBD0AAB751098418E5238629@PDSMSX501.ccr.corp.intel.com>

On Tue, Nov 10, 2009 at 08:16:42PM +0800, Jiang, Yunhong wrote:
> Jeremy, here is the update patch according to the new interface, please have a look.
> One changes in this patch is, the apic_id/acpi_id is exposed in sysfs also.
> 
> Thanks
> yunhong Jiang
> 
> Export host physical CPU information to dom0
> 
> From: Jiang, Yunhong <yunhong.jiang@intel.com>
> 
> This patch expose host's physical CPU information to dom0 in sysfs, so that dom0's management tools can control the physical CPU if needed.
> 
> It also provides interface in sysfs to logical online/offline a physical CPU.
> 
> Notice: The information in dom0 is synced with xen hypervisor asynchronously.
> 
> Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>



Here is what checkpatch says:

WARNING: do not add new typedefs
#523: FILE: include/xen/interface/platform.h:328:
+typedef struct xen_physical_cpuinfo xen_physical_cpuinfo_t;

WARNING: do not add new typedefs
#537: FILE: include/xen/interface/platform.h:342:
+typedef struct xenpf_pcpu_info xenpf_pcpu_info_t;

total: 0 errors, 2 warnings, 564 lines checked

/home/konrad/01-dom0_pcpu.patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

  reply	other threads:[~2009-11-10 16:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  8:20 [PATCH] Add hypercall to expose physical CPU in xen hypervisor Jiang, Yunhong
2009-11-06 16:30 ` Keir Fraser
2009-11-08  1:59   ` Jiang, Yunhong
2009-11-08  7:46     ` Keir Fraser
2009-11-09  0:45       ` Jiang, Yunhong
2009-11-09 22:03       ` Jeremy Fitzhardinge
2009-11-10 12:16         ` Jiang, Yunhong
2009-11-10 16:36           ` Konrad Rzeszutek Wilk [this message]
2009-11-10 18:00             ` Jeremy Fitzhardinge
2009-11-10 12:02       ` Jiang, Yunhong

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=20091110163626.GC23000@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yunhong.jiang@intel.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.