From: Keir Fraser Subject: Re: [PATCH] C6 state with EOI issue fix for some Intel processors Date: Wed, 15 Sep 2010 08:32:26 +0100 Message-ID: References: <201009151510.44090.sheng@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201009151510.44090.sheng@linux.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sheng Yang Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Aieee! :-) K. On 15/09/2010 08:10, "Sheng Yang" wrote: > There is an errata in some of Intel processors. > > AAJ72. EOI Transaction May Not be Sent if Software Enters Core C6 During > an Interrupt Service Routine > > If core C6 is entered after the start of an interrupt service routine but > before > a write to the APIC EOI register, the core may not send an EOI transaction (if > needed) and further interrupts from the same priority level or lower may be > blocked. > > This patch fix this issue, by checking if ISR is pending before enter deep Cx > state. If so, it would use power->safe_state instead of deep Cx state to > prevent > the above issue happen.