All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: kvm-devel <kvm@vger.kernel.org>, Avi Kivity <avi@qumranet.com>
Subject: Re: [kvm-devel] [PATCH 2/5] SCI fixes (v2)
Date: Tue, 27 May 2008 13:28:34 -0500	[thread overview]
Message-ID: <483C52D2.2080603@us.ibm.com> (raw)
In-Reply-To: <1211857519.14708.30.camel@bling>

Alex Williamson wrote:
> On Mon, 2008-02-04 at 09:11 -0600, Anthony Liguori wrote:
>   
>> @@ -97,11 +100,12 @@ static void pm_update_sci(PIIX4PMState *s)
>>      pmsts = get_pmsts(s);
>>      sci_level = (((pmsts & s->pmen) &
>>                    (RTC_EN | PWRBTN_EN | GBL_EN | TMROF_EN)) != 0);
>> -    qemu_set_irq(s->dev.irq[0], sci_level);
>> +    qemu_set_irq(s->irq, sci_level);
>>      /* schedule a timer interruption if needed */
>>      if ((s->pmen & TMROF_EN) && !(pmsts & TMROF_EN)) {
>>          expire_time = muldiv64(s->tmr_overflow_time, ticks_per_sec, PM_FREQ);
>>          qemu_mod_timer(s->tmr_timer, expire_time);
>> +        s->tmr_overflow_time += 0x800000;
>>     
>
> Hi Anthony,
>
> I'm digging up a patch from a while back.  What's the purpose of bumping
> tmr_overflow_time here?  It seems like this is intended to prevent the
> timer overflow status from ever triggering an SCI, but that seems
> contrary to the ACPI spec.  I've tracked down a case where Vista is
> enabling the timer overflow and appears to get stuck if it never gets
> the overflow interrupt.  Commenting out the last line here fixes it.
> Suggestions?  Thanks,
>   

Avi is the original author of the patch I believe.  Perhaps he can shed 
some light on this?

Regards,

Anthony Liguori

> 	Alex
>
>   


  reply	other threads:[~2008-05-27 18:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-04 15:11 [PATCH 0/5] Support for the Kernel Virtual Machine interface (v3) Anthony Liguori
2008-02-04 15:11 ` [Qemu-devel] " Anthony Liguori
     [not found] ` <1202137865-20232-1-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-02-04 15:11   ` [PATCH 1/5] Use correct types to enable > 2G support (v3) Anthony Liguori
2008-02-04 15:11     ` [Qemu-devel] " Anthony Liguori
     [not found]     ` <1202137865-20232-2-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-02-04 15:29       ` Izik Eidus
2008-02-04 15:29         ` [Qemu-devel] Re: [kvm-devel] " Izik Eidus
     [not found]         ` <1202138985.18306.7.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-02-04 15:33           ` Anthony Liguori
2008-02-04 15:33             ` [Qemu-devel] Re: [kvm-devel] " Anthony Liguori
     [not found]             ` <47A73040.3030501-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-02-04 15:43               ` Izik Eidus
2008-02-04 15:43                 ` [Qemu-devel] Re: [kvm-devel] " Izik Eidus
2008-02-04 15:31       ` Anthony Liguori
2008-02-04 15:31         ` [Qemu-devel] Re: [kvm-devel] " Anthony Liguori
2008-04-08 21:50     ` [Qemu-devel] " Aurelien Jarno
2008-04-08 21:50       ` Aurelien Jarno
2008-04-09 19:52       ` [Qemu-devel] [PATCH 1/5] Use correct types toenable " Sebastian Herbszt
2008-04-09 19:52         ` Sebastian Herbszt
2008-02-04 15:11   ` [PATCH 2/5] SCI fixes (v2) Anthony Liguori
2008-02-04 15:11     ` [Qemu-devel] " Anthony Liguori
2008-05-27  3:05     ` [kvm-devel] " Alex Williamson
2008-05-27 18:28       ` Anthony Liguori [this message]
2008-05-28  6:27         ` Avi Kivity
2008-05-28 12:37           ` Alex Williamson
2008-05-28 13:06             ` Avi Kivity
2008-05-28 21:50               ` Alex Williamson
2008-05-28 21:50                 ` [Qemu-devel] Re: [kvm] " Alex Williamson
2008-02-04 15:11   ` [PATCH 3/5] Fix daemonize options (v2) Anthony Liguori
2008-02-04 15:11     ` [Qemu-devel] " Anthony Liguori
2008-02-04 15:11   ` [PATCH 4/5] Tell BIOS about the number of CPUs (v2) Anthony Liguori
2008-02-04 15:11     ` [Qemu-devel] " Anthony Liguori
2008-02-04 15:11   ` [PATCH 5/5] QEMU support for the Kernel Virtual Machine interface (v3) Anthony Liguori
2008-02-04 15:11     ` [Qemu-devel] " Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483C52D2.2080603@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=alex.williamson@hp.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.