[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] expose MWAIT to dom0



> From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx]
> Sent: Friday, August 19, 2011 11:02 PM
> > >> Yet another idea - why don't we simply pass the buffer passed to
> > >> arch_acpi_set_pdc_bits() down to Xen, rather than fiddling with the
> > >> bits in Dom0? That would at once allow to not set ACPI_PDC_T_FFH
> > >> (which I don't think Xen really supports at present).
> > >>
> > >> Or really, depending on who controls what, the P, C, and T bits should
> > >> be set by either Dom0 or Xen (so e.g. let Dom0 do what it currently
> > >> does, and then let Xen override the bits it ought to control).
> > >
> > > _PDC is encoded in AML language, and requires an ACPI parser which
> > > is one thing we avoid in Xen. If Xen want to override those bits, then
> > > whole ACPI component needs move down to Xen too.
> >
> > No, I'm not saying the evaluation should be happening there. Below is
> > a draft hypervisor patch (only compile tested so far).
> 
> Attached a patch that actually works (with a minimal Dom0 addition).
> 

yes, this change looks more straightforward. :-)

Thanks
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.