Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752450AbbG2Lv1 (ORCPT ); Wed, 29 Jul 2015 07:51:27 -0400 Received: from mail-qg0-f41.google.com ([209.85.192.41]:36474 "EHLO mail-qg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbbG2Lv0 (ORCPT ); Wed, 29 Jul 2015 07:51:26 -0400 Message-ID: <55B8BE39.6080500@hurleysoftware.com> Date: Wed, 29 Jul 2015 07:51:21 -0400 From: Peter Hurley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Thomas Gleixner , Taichi Kageyama CC: "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 References: <1438157443-19447-1-git-send-email-t-kageyama@cp.jp.nec.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 20 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? -- 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/