From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH] kernel/resource.c: fix muxed resource handling in __request_region() Date: Mon, 22 Feb 2016 12:46:09 -0800 Message-ID: <56CB7391.30203@virtuousgeek.org> References: <20150909220140.GD9892@kw.sim.vm.gnt> <1441836918-24159-1-git-send-email-simon.guinot@sequanux.org> <20160219221056.23487da2@x2> <56C7A459.1090801@virtuousgeek.org> <15300c0ce08.2710.f266623ac48c822f02e65082a71b2734@virtuousgeek.org> <1456148952.24303.273.camel@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:50363 "HELO gproxy9-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755501AbcBVUxN (ORCPT ); Mon, 22 Feb 2016 15:53:13 -0500 In-Reply-To: <1456148952.24303.273.camel@linux.intel.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Alan Cox , Linus Torvalds Cc: Vincent Pelletier , Simon Guinot , Giel van Schijndel , linux-gpio@vger.kernel.org, Linux Kernel Mailing List , Vincent Donnefort , Yoann Sculo On 02/22/2016 05:49 AM, Alan Cox wrote: >> we have some good alternatives in the form of bus and platform >> drivers that >> can manage the appropriate serialization and keep things from >> stomping >> on one another. > > It's not used much, especially nowdays. The use case is basically multi > I/O chips on the ISA/LPC bus with magic shared config register ports. > > We have sufficiently few of those we could give muxed the boot and > special case them if preferred. Ah that's right, now I remember the context. So where should we go from here then? Just leave the ugly fix in or hack on old stuff and hope not to break it? Jesse