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

Re: [Xen-devel] [PATCH] enable hpet after s3 resume


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Guanqun Lu" <guanqun.lu@xxxxxxxxx>
  • Date: Tue, 18 Nov 2008 20:11:53 +0800
  • Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>, xen-devel组 <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 18 Nov 2008 04:12:21 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CQO4afvD+RgY/coU4im26G3Pd6vTFNSo7tqNk9mqo8CrETtuTT4HqxZgmsGpsIX2Hv qdL+rdFJTzP4BlbvgfgPkCWmb3bEHRiX4GBsDLkkbLjPqRppbStEM0LzInUMUPqQM9xl hhTFm3GCZFMiLNTMcwmzP9eyuxtVV3H9kTneE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Tue, Nov 18, 2008 at 6:15 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 18/11/08 10:04, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>>> The hpet.c changes are ugly. What's so special about
>>> hpet_broadcast_init()
>>> that it needs to distinguish between boot and S3 resume? In
>>> the latter case
>>> it executes with APs still offline and IRQs disabled, so
>>> what's wrong with
>>> rewriting the fixmap entry, re-initialising the spinlock and hpet_event
>>> info?
>>
>> Is it safe to set fixmap entry twice without unmap? If yes, then
>> agree same logic applies to both boot and S3 resume.
>
> Yes, all it does is write a pte.

Thanks for you info, and we will rewrite the patch accordingly.

>
>  -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>



-- 
Guanqun

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.