Re: [PATCH V2 1/1] X86: Probe for PIC and set legacy_pic appropriately

2014-04-14 Thread Jan Beulich
>>> On 12.04.14 at 07:56, wrote: > --- a/arch/x86/kernel/i8259.c > +++ b/arch/x86/kernel/i8259.c > @@ -299,11 +299,30 @@ static void unmask_8259A(void) > static void init_8259A(int auto_eoi) > { > unsigned long flags; > + unsigned char probe_val = ~(1 << PIC_CASCADE_IR); > + unsign

RE: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-12 Thread Jan Beulich
>>> On 13.09.13 at 03:43, KY Srinivasan wrote: > >> -Original Message- >> From: H. Peter Anvin [mailto:h...@zytor.com] >> Sent: Thursday, September 12, 2013 5:28 PM >> To: KY Srinivasan >> Cc: x...@kernel.org; gre...@linuxfoundation.org; >> linux-ker...@vger.kernel.org; >> de...@linuxdr

Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-09-04 Thread Jan Beulich
>>> On 03.09.13 at 20:30, "K. Y. Srinivasan" wrote: > @@ -76,6 +80,26 @@ static void __init ms_hyperv_init_platform(void) > printk(KERN_INFO "HyperV: features 0x%x, hints 0x%x\n", > ms_hyperv.features, ms_hyperv.hints); > > + if (ms_hyperv.features & HV_X64_MSR_APIC_FREQUE

Re: [PATCH 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-08-27 Thread Jan Beulich
>>> On 27.08.13 at 01:42, "K. Y. Srinivasan" wrote: > Hyper-V supports a mechanism for retrieving the local API frequency. "APIC"? > @@ -27,6 +27,13 @@ > #define HV_X64_MSR_VP_RUNTIME_AVAILABLE (1 << 0) > /* Partition Reference Counter (HV_X64_MSR_TIME_REF_COUNT) available*/ > #d