Wei, Gang
2008-May-20 15:22 UTC
[Xen-devel] [PATCH] Fix lapic timer stop issue in deep C state
Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this patch add the logic that use platform timer (HPET) to reenable local APIC timer at C state entry/exit. Signed-off-by: Wei Gang <gang.wei@intel.com> Signed-off-by: Yu Ke <ke.yu@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Wei, Gang
2008-May-21 05:22 UTC
RE: [Xen-devel] [PATCH] Fix lapic timer stop issue in deep C state
Fix 32pae build. Jimmy On Tuesday, May 20, 2008 11:22 PM, Wei, Gang wrote:> Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this > patch add the logic that use platform timer (HPET) to reenable local > APIC timer at C state entry/exit. > > Signed-off-by: Wei Gang <gang.wei@intel.com> > Signed-off-by: Yu Ke <ke.yu@intel.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-May-21 09:55 UTC
[Xen-devel] Re: [PATCH] Fix lapic timer stop issue in deep C state
Applied, after a lot of restructuring. Also, would it be cleaner to set up the HPET to do direct FSB writes to a local APIC, rather than hijacking PIT ch0? There are some corner cases where we leave PIT ch0 enabled after boot. Do most HPET implementations support direct FSB interrupt delivery? -- Keir On 20/5/08 16:22, "Wei, Gang" <gang.wei@intel.com> wrote:> Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this > patch add the logic that use platform timer (HPET) to reenable local > APIC timer at C state entry/exit. > > Signed-off-by: Wei Gang <gang.wei@intel.com> > Signed-off-by: Yu Ke <ke.yu@intel.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Wei, Gang
2008-May-21 12:09 UTC
[Xen-devel] RE: [PATCH] Fix lapic timer stop issue in deep C state
Using HPET direct FSB interrupt delivery is the right thing to do in next step. I am not sure whether most existing HPET implementation support it, but most future implementations should definitely support it. Jimmy On Wednesday, May 21, 2008 5:55 PM, Keir Fraser wrote:> Applied, after a lot of restructuring. > > Also, would it be cleaner to set up the HPET to do direct FSB writesto a> local APIC, rather than hijacking PIT ch0? There are some corner cases > where we leave PIT ch0 enabled after boot. Do most HPETimplementations> support direct FSB interrupt delivery? > > -- Keir > > On 20/5/08 16:22, "Wei, Gang" <gang.wei@intel.com> wrote: > >> Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this >> patch add the logic that use platform timer (HPET) to reenable local >> APIC timer at C state entry/exit. >> >> Signed-off-by: Wei Gang <gang.wei@intel.com> >> Signed-off-by: Yu Ke <ke.yu@intel.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yu, Ke
2008-May-22 02:37 UTC
[Xen-devel] RE: [PATCH] Fix lapic timer stop issue in deep C state
Thanks for the restructuring, Yes, FSB delivery mode (MSI) support is in our next plan. HPET in ICH7/8/9 has only IOAPIC mode. ICH10 will add FSB mode. Best Regards Ke Keir Fraser wrote:> Applied, after a lot of restructuring. > > Also, would it be cleaner to set up the HPET to do direct FSB writes > to a local APIC, rather than hijacking PIT ch0? There are some corner > cases where we leave PIT ch0 enabled after boot. Do most HPET > implementations support direct FSB interrupt delivery? > > -- Keir > > On 20/5/08 16:22, "Wei, Gang" <gang.wei@intel.com> wrote: > >> Local APIC timer may stop at deep C state (C3/C4...) entry/exit. this >> patch add the logic that use platform timer (HPET) to reenable local >> APIC timer at C state entry/exit. >> >> Signed-off-by: Wei Gang <gang.wei@intel.com> >> Signed-off-by: Yu Ke <ke.yu@intel.com>_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- [PATCH 2/4] CPUIDLE: Avoid remnant LAPIC timer intr while force hpetbroadcast
- [PATCH]PIT broadcast to fix local APIC timer stop issue for Deep C state
- Align periodic vpts to reduce timer interrupts and save power
- RE: Instability with Xen, interrupt routing frozen, HPET broadcast
- [PATCH 2/2] CPUIDLE: Handle C2 LAPIC timer & TSC stop