From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbbG2KdW (ORCPT ); Wed, 29 Jul 2015 06:33:22 -0400 Received: from www.linutronix.de ([62.245.132.108]:39433 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbbG2KdV (ORCPT ); Wed, 29 Jul 2015 06:33:21 -0400 Date: Wed, 29 Jul 2015 12:32:59 +0200 (CEST) From: Thomas Gleixner To: Taichi Kageyama cc: "gregkh@linuxfoundation.org" , "peter@hurleysoftware.com" , "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: <1438157443-19447-1-git-send-email-t-kageyama@cp.jp.nec.com> Message-ID: References: <1438157443-19447-1-git-send-email-t-kageyama@cp.jp.nec.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 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. Thanks, tglx