[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] bogus HPET initialization order on x86
Wei, Gang wrote on 2011-03-11: >>> Further, it would be better if we could disable PIT interrupt >>> before calling hpet_broadcast_init(), and re-enable PIT interrupt >>> only while PIT broadcast is needed. >> >> But I'll leave that part to you. > > I will send a patch for this. Just recalled one point so that we may not have to do this. The HPET device was configured as legacy mode before we try to initialize the hpet channel 0 as the legacy_hpet_event. cfg = hpet_read32(HPET_CFG); cfg |= HPET_CFG_LEGACY; hpet_write32(cfg, HPET_CFG); Once HPET device was configured as legacy mode, the platform timer interrupt source was shifted to hpet channel 0 by chipset, and PIT can never trig a interrupt after that. HPET spec can tell details. Jimmy _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |