From: Ian Campbell Subject: Re: [PATCH v3] xen/arm: phys_timer fixes Date: Wed, 10 Apr 2013 16:23:29 +0100 Message-ID: <1365607409.27868.88.camel@zakaz.uk.xensource.com> References: <1361384197-27455-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1361384197-27455-1-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-02-20 at 18:16 +0000, Stefano Stabellini wrote: > Do not unmask the emulated phys_timer when the related Xen timer > expires. > Do not inject the phys_timer interrupt if it is masked. > > Do not let the user set CNTx_CTL_PENDING directly. > > Set CNTx_CTL_PENDING when the phys_timer expires and clear it when the > phys_timer is disabled or the compare value is changed. > > Define offset and cval as uint64_t given that they can't be negative and > they are used as uint64_t arguments. > > > Changes in v3: > - do not modify the guest's register. > > Changes in v2: > - do not let the user set CNTx_CTL_PENDING directly; > - set CNTx_CTL_PENDING when the phys_timer expires and clear it when the > phys_timer is disabled or the compare value is changed. > > > Signed-off-by: Stefano Stabellini Acked + applied, thanks.