From: "Jan Beulich" Subject: Re: Xen-unstable: Regression (on AMD) host boot stuck on (XEN) testing the IO APIC....................... Date: Tue, 26 Aug 2014 08:34:30 +0100 Message-ID: <53FC54A6020000780002D776@mail.emea.novell.com> References: <367097038.20140825191202@eikelenboom.it> <53FB783D.5040302@citrix.com> <1283801136.20140825202522@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XMBH0-0001FK-3w for xen-devel@lists.xenproject.org; Tue, 26 Aug 2014 07:34:34 +0000 In-Reply-To: <1283801136.20140825202522@eikelenboom.it> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Sander Eikelenboom Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.08.14 at 20:25, wrote: > Monday, August 25, 2014, 7:54:05 PM, you wrote: >> Hmm - Does reverting e13b3203990706db1313ec2aadd9a30b249ee793 fix the issue? > > Hmm i completely overlooked that commit (it's quite evident when you look at > the > commitdiff :-) ) > > Just tested reverting that single commit and that indeed lets the machine > boot again. Considering how early this is, the only theory I have is that rcu_pending() may end up constantly returning true, thus always causing RCU_SOFTIRQ to get raised, not allowing the loop in __do_softirq() to ever exit. If that's the case, we seem to have two options: - pass into __print_IO_APIC() whether it's being called from a key handler - only call process_pending_softirqs() when system_state >= SYS_STATE_smp_boot Personally I'd prefer the former option. But Sander, a fundamental question: Why would you _always_ boot your system with "apic=debug" and those various other debugging options? They are, as you may guess, for debugging, not for day to day use. (That said I'm glad you have this in place for this particular case, as it allowed spotting a regression early.) Jan