From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v3] x86: Fixup IRQs when CPUs go down during shutdown Date: Fri, 4 Dec 2015 14:39:00 +0000 Message-ID: <5661A584.5070209@citrix.com> References: <1449237700-10602-1-git-send-email-ross.lagerwall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1449237700-10602-1-git-send-email-ross.lagerwall@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: Ross Lagerwall , xen-devel@lists.xen.org Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org On 04/12/15 14:01, Ross Lagerwall wrote: > Commit fc0c3fa2ad5c ("x86/IO-APIC: fix setup of Xen internally used IRQs > (take 2)") introduced a regression on some hardware where Xen would hang > during shutdown, repeating the following message: > APIC error on CPU0: 08(08), Receive accept error > > This appears to be because an interrupt (in this case from the serial > console) destined for a CPU other than the boot CPU is left unhandled so > an APIC error on CPU 0 is generated instead. > > To fix this, before taking down the non-boot CPUs, call fixup_irqs() > with a CPU mask of only the boot CPU to reset the IRQ affinities > correctly. > > Signed-off-by: Ross Lagerwall Reviewed-by: Andrew Cooper