From: Sander Eikelenboom Subject: Re: Xen-unstable: Regression (on AMD) host boot stuck on (XEN) testing the IO APIC....................... Date: Tue, 26 Aug 2014 11:00:43 +0200 Message-ID: <1537876525.20140826110043@eikelenboom.it> References: <367097038.20140825191202@eikelenboom.it> <53FB783D.5040302@citrix.com> <1283801136.20140825202522@eikelenboom.it> <53FC54A6020000780002D776@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XMCdV-0004E0-DE for xen-devel@lists.xenproject.org; Tue, 26 Aug 2014 09:01:53 +0000 In-Reply-To: <53FC54A6020000780002D776@mail.emea.novell.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: Jan Beulich Cc: Andrew Cooper , xen-devel List-Id: xen-devel@lists.xenproject.org Tuesday, August 26, 2014, 9:34:30 AM, you wrote: >>>> 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 Hmm just a left over from previous endeavours :-) Don't know if they also incur a (large) performance penalty ? (they primarily seemed to add some debug info to the log)