Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbbG2LyQ (ORCPT ); Wed, 29 Jul 2015 07:54:16 -0400 Received: from www.linutronix.de ([62.245.132.108]:39888 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbbG2LyO (ORCPT ); Wed, 29 Jul 2015 07:54:14 -0400 Date: Wed, 29 Jul 2015 13:53:52 +0200 (CEST) From: Thomas Gleixner To: Peter Hurley cc: Taichi Kageyama , "gregkh@linuxfoundation.org" , "jiang.liu@linux.intel.com" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jslaby@suse.cz" , "prarit@redhat.com" , Naoya Horiguchi Subject: Re: [RFC PATCH v2 0/3] genirq, serial: 8250: Workaround to avoid irq=0 for console In-Reply-To: <55B8BE39.6080500@hurleysoftware.com> Message-ID: References: <1438157443-19447-1-git-send-email-t-kageyama@cp.jp.nec.com> <55B8BE39.6080500@hurleysoftware.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 28 On Wed, 29 Jul 2015, Peter Hurley wrote: > On 07/29/2015 06:32 AM, Thomas Gleixner wrote: > > On Wed, 29 Jul 2015, Taichi Kageyama wrote: > >> - Keep interrupt disabled on the CPU which is used to detect > >> an interrupt during the timeout of autoconfig_irq(). > >> + Kick printk() on the CPU which detects interrupt > >> from a console serial port. > > > > This is wrong to begin with. How is that supposed to work on an UP > > machine? Not at all. > > > > So no, fix the code which has interrupts disabled accross autoprobing > > and do not try to apply bandaids somewhere else. > > Like printk() from some unrelated driver? If that's the cause for the wreckage then yes, we need a way to tell the printk code not to call into the driver until that initialization step is done. It's that simple. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/