| To: | Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] bogus HPET initialization order on x86 |
| From: | Keir Fraser <keir.xen@xxxxxxxxx> |
| Date: | 2011年3月09日 16:12:02 +0000 |
| Cc: | ke.yu@xxxxxxxxx |
| Delivery-date: | 2011年3月09日 08:12:44 -0800 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=FmIKSzkdPLltvaO91Um8TiWSPEItEUGzqF4eFYQM/uU=; b=h4skB2QMmmvifXAkGli1nn8cpMV9i172+p0keI2yDaN9U8nnjGFOx/UYXodbPEYggH +tZvgzAy3zfU74q2Quv3QFs65/DwXVk+5H5fXhZRASX2XJ+MSxC4Z85Q3EAoFCTuXWlG 9hpVvg5lSOWq2Hbci+IkqtGKcj4CIrQOrLhwI= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=OOXqxVhIYlBwbGx+pL9O9kje2eUnvFR53ge8byMaBzliKEhRGV6Oqi6TDqflMsA09E QF96NFrlb9yTy8KxteaahQw2hxcOyqWX9QdoGOI0hnc5Fzse+5LlKU9A0TvZrRbBu3yD txdFTKKV2Ez4Pv0zqo5c7sviG5DbtjFcw4H94= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <4D77A07D020000780003593A@xxxxxxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | AcvedLmAXfgN1GHc4kKh0kVZjTfGwA== |
| Thread-topic: | [Xen-devel] bogus HPET initialization order on x86 |
| User-agent: | Microsoft-Entourage/12.28.0.101117 |
On 09/03/2011 14:45, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote: >> From looking at the code I cannot deduce why it wouldn't be possible > for hpet_interrupt_handler() or hpet_legacy_irq_tick() to be called > while hpet_broadcast_init() is still executing. If that's indeed possible, > then the setting of .event_handler clearly has to happen *after* > initializing the channel's spinlock and rwlock. > > Further, with the channel getting enabled (down the > hpet_fsb_cap_lookup() call tree) before hpet_events[] gets fully > initialized, I'd also think it should be possible to hit the spurious > warning in hpet_interrupt_handler() just because of improper > initialization order. > > If that's all impossible in practice, adding some meaningful > comments to the code to describe why this is so would be much > appreciated. Only someone at Intel could answer these questions. Cc'ing Yu Ke, who seems most involved in this aspect. -- Keir > Thanks, Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] [PATCH 00/11] miscellaneous cleanup , Keir Fraser |
|---|---|
| Next by Date: | Re: [Xen-devel] [PATCH 10/11] move various bits into .init.* sections , Ian Campbell |
| Previous by Thread: | RE: [Xen-devel] bogus HPET initialization order on x86 , Wei, Gang |
| Next by Thread: | RE: [Xen-devel] bogus HPET initialization order on x86 , Yu, Ke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |