From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:41158 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752126AbdBNOzQ (ORCPT ); Tue, 14 Feb 2017 09:55:16 -0500 Date: Tue, 14 Feb 2017 06:55:16 -0800 From: Greg Kroah-Hartman To: Thomas Gleixner Cc: Linus Torvalds , Borislav Petkov , Steven Rostedt , Gabriel C , Mike Galbraith , stable , Andrew Morton , Ruslan Ruslichenko , Jiri Slaby , Ingo Molnar Subject: Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box ) Message-ID: <20170214145516.GA14041@kroah.com> References: <20170213204324.mdipw72ueirrkxob@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Tue, Feb 14, 2017 at 03:49:57PM +0100, Thomas Gleixner wrote: > On Tue, 14 Feb 2017, Thomas Gleixner wrote: > > On Mon, 13 Feb 2017, Linus Torvalds wrote: > > > On Mon, Feb 13, 2017 at 1:35 PM, Thomas Gleixner wrote: > > > > > > > > arch/x86/platform/goldfish/goldfish.c > > > > > > > > static int __init goldfish_init(void) > > > > { > > > > platform_device_register_simple("goldfish_pdev_bus", -1, > > > > goldfish_pdev_bus_resources, 2); > > > > return 0; > > > > } > > > > device_initcall(goldfish_init); > > > > > > > > So it unconditionallyt registers that platform device, which has IRQ 4 as > > > > irq resource and the driver happily matches on the platform devices. > > > > > > > > Wonderful crap, isn't it? It should be made 'depend on BROKEN'. > > > > > > Ugh. Yeah, that's crazy. Random hardcoded interfaces that get enabled > > > by people by mistake. > > > > > > And yeah, it's not just the irq. It just randomly sets up memory addresses too. > > > > > > That thing needs to be disabled some way. Maybe not marked "broken", > > > but there needs to be something that actually enables it at runtime > > > (like a kernel command line option or something like that). > > I prefer to mark it broken, because that's what it is, but we can add a > command line option as well. See below. I have no problem marking all of the Goldfish stuff broken as it seems to be a "dead" platform at the moment, no one is providing any updates or cares about it, and the only users I know of it are using a _very_ old kernel version (the Android emulator). Want me to send a patch for that as I think the Goldfish stuff originally came through my tree... thanks, greg k-h