From: Avi Kivity <avi@redhat.com>
To: Beth Kon <eak@us.ibm.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 4/5] Userspace changes for KVM HPET (v6)
Date: Sun, 14 Jun 2009 12:00:18 +0300 [thread overview]
Message-ID: <4A34BC22.1040907@redhat.com> (raw)
In-Reply-To: <4A34BAED.1030302@redhat.com>
Avi Kivity wrote:
> Beth Kon wrote:
>> The big change here is handling of enabling/disabling of hpet legacy
>> mode. When hpet enters
>> legacy mode, the spec says that the pit stops generating interrupts.
>> In practice, we want to stop the pit periodic timer from running
>> because it is wasteful in a virtual environment.
>> We also have to worry about the hpet leaving legacy mode (which, at
>> least in linux, happens
>> only during a shutdown or crash). At this point, according to the
>> hpet spec, PIT interrupts
>> need to be reenabled. For us, it means the PIT timer needs to be
>> restarted.
>> This patch handles this situation better than the previous version by
>> coming closer to just disabling PIT interrupts. It allows the PIT
>> state to change if the OS modifies it,
>> even while PIT is disabled, but does not allow a pit timer to start.
>> Then if HPET
>> legacy mode is disabled, whatever the PIT state is at that point, the
>> PIT timer is restarted accordingly.
>>
>>
>
> Given that this depends on the ABI-breaking patch 5, I've dropped it too.
>
Actually, I got nervous about applying a partial patchset (which is
likely to be untested), so I dropped everything else. I pushed the
three patches to an 'hpet' branch of qemu-kvm.git, so you don't have to
redo the rebasing I did.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-06-14 9:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 1:46 [PATCH 1/5] Userspace changes for configuring irq0->inti2 override (v6) Beth Kon
2009-06-12 1:46 ` [PATCH 2/5] " Beth Kon
2009-06-12 1:46 ` [PATCH 3/5] BIOS changes for KVM HPET (v6) Beth Kon
2009-06-12 1:46 ` [PATCH 4/5] Userspace " Beth Kon
2009-06-14 8:55 ` Avi Kivity
2009-06-14 9:00 ` Avi Kivity [this message]
2009-06-12 1:46 ` [PATCH 5/5] HPET interaction with in-kernel PIT (v6) Beth Kon
2009-06-14 8:53 ` Avi Kivity
2009-06-14 9:10 ` Jan Kiszka
2009-06-14 9:18 ` Avi Kivity
2009-06-14 9:26 ` Jan Kiszka
2009-06-14 9:35 ` Avi Kivity
2009-06-14 8:50 ` [PATCH 1/5] Userspace changes for configuring irq0->inti2 override (v6) Avi Kivity
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=4A34BC22.1040907@redhat.com \
--to=avi@redhat.com \
--cc=eak@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox