All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Zhang, Yang Z" <yang.z.zhang@intel.com>
Cc: "aliguori@us.ibm.com" <aliguori@us.ibm.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Jan Kiszka <jan.kiszka@web.de>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH v3 5/7] RTC:Add RTC update-ended interrupt support
Date: Fri, 02 Mar 2012 13:13:41 +0100	[thread overview]
Message-ID: <4F50B975.7060202@redhat.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E08505E@SHSMSX101.ccr.corp.intel.com>

Il 02/03/2012 08:00, Zhang, Yang Z ha scritto:
> Use a timer to emulate update cycle. When update cycle ended and UIE is setting, 
> then raise an interrupt. The timer runs only when UF or AF is cleared. 

Isn't AF=0 the common case when the RTC starts, so the timer always runs
until the time crosses midnight?

Paolo

WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Zhang, Yang Z" <yang.z.zhang@intel.com>
Cc: "aliguori@us.ibm.com" <aliguori@us.ibm.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Jan Kiszka <jan.kiszka@web.de>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PATCH v3 5/7] RTC:Add RTC update-ended interrupt support
Date: Fri, 02 Mar 2012 13:13:41 +0100	[thread overview]
Message-ID: <4F50B975.7060202@redhat.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E08505E@SHSMSX101.ccr.corp.intel.com>

Il 02/03/2012 08:00, Zhang, Yang Z ha scritto:
> Use a timer to emulate update cycle. When update cycle ended and UIE is setting, 
> then raise an interrupt. The timer runs only when UF or AF is cleared. 

Isn't AF=0 the common case when the RTC starts, so the timer always runs
until the time crosses midnight?

Paolo

  reply	other threads:[~2012-03-02 12:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02  7:00 [PATCH v3 5/7] RTC:Add RTC update-ended interrupt support Zhang, Yang Z
2012-03-02  7:00 ` [Qemu-devel] " Zhang, Yang Z
2012-03-02 12:13 ` Paolo Bonzini [this message]
2012-03-02 12:13   ` Paolo Bonzini
2012-03-02 14:17   ` Zhang, Yang Z
2012-03-02 14:17     ` [Qemu-devel] " Zhang, Yang Z

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=4F50B975.7060202@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=jan.kiszka@web.de \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yang.z.zhang@intel.com \
    /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.