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

Re: [Xen-devel] [RFC PATCH 11/13] cpufreq: add xen-cpufreq driver



On Fri, 2014-10-10 at 13:51 +0100, Jan Beulich wrote:
> >>> On 10.10.14 at 11:59, <Ian.Campbell@xxxxxxxxxx> wrote:
> > A simple i2c driver (without all the generic framework/bus
> > infrastructure which Linux has) is pretty simple.
> > 
> > I think the biggest complexity would come from i2c busses with both
> > cpufreq and other devices on them and managing the potentially shared
> > accesses.
> 
> And the recently added XENPF_resource_op would seem a pretty
> good candidate for this (except that it requires the Dom0 kernel
> code to stop accessing hardware directly, and instead go through
> this hypercall).

We'd need to introduce a dtb binding for a "pv i2c host controller"
which we would use to replace the actual one for dom0. That might be
doable I think, so long as we take care to preserve the relationships
with other nodes which might reference it.

Ian.


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


 


Rackspace

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