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

Re: [Xen-devel] [PATCH v7 16/32] xen/x86: allow disabling the pmtimer



On 30/10/15 13:16, Jan Beulich wrote:
>>>> On 30.10.15 at 13:50, <roger.pau@xxxxxxxxxx> wrote:
>> El 14/10/15 a les 16.37, Jan Beulich ha escrit:
>>>>>> On 02.10.15 at 17:48, <roger.pau@xxxxxxxxxx> wrote:
>>>> Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>
>>>> Cc: Jan Beulich <jbeulich@xxxxxxxx>
>>>> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>>> ---
>>>> Changes since v6:
>>>>  - Return ENODEV in pmtimer_load if the timer is disabled.
>>>>  - hvm_acpi_power_button and hvm_acpi_sleep_button become noops if the
>>>>    pmtimer is disabled.
>>> But how are those two features connected? I don't think you can
>>> assume absence of a PM block just because there's no PM timer.
>>> Or if you want to tie them together for now, the predicate needs
>>> to be renamed.
>>>
>>>>  - Return ENODEV if pmtimer_change_ioport is called with the pmtimer
>>>>    disabled.
>>> Same here.
>> What about changing XEN_X86_EMU_PMTIMER into XEN_X86_EMU_PM and this
>> flags disables all PM stuff?
> Ah, right, that's a reasonable option.

It still might be a nice idea to split them in two, given future work.

To support hotplug properly (cpu, ram and pci), Xen needs to inject
GPEs, which comes from part of the PM infrastructure.  To support PCI
devices in the future without the whole PM infrastructure, it would be
nice to keep the split.

~Andrew

_______________________________________________
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®.