From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Tue, 13 Jun 2017 18:35:08 +0200 From: Greg Kroah-Hartman To: Logan Gunthorpe Cc: Bjorn Helgaas , kernel test robot , Linus Torvalds , LKP , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , wfg@linux.intel.com, Alan Cox , Arnd Bergmann , Linus Walleij , David Airlie , David Herrmann , Daniel Vetter Subject: Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 Message-ID: <20170613163508.GA31961@kroah.com> References: <5933fe2d.V33ODGPU9noDVuyF%fengguang.wu@intel.com> <20170606175552.GA12672@bhelgaas-glaptop.roam.corp.google.com> <20170612200852.GA28578@bhelgaas-glaptop.roam.corp.google.com> <61e11e67-6c1b-ef1e-5fb8-a7c9efb17666@deltatee.com> <20170613041842.GA13308@kroah.com> <20170613043416.GB14217@kroah.com> <20170613043518.GA14621@kroah.com> <8462abee-0a7f-00fb-6111-1f78362ea3f7@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <8462abee-0a7f-00fb-6111-1f78362ea3f7@deltatee.com> List-ID: On Tue, Jun 13, 2017 at 10:25:40AM -0600, Logan Gunthorpe wrote: > > > On 12/06/17 10:35 PM, Greg Kroah-Hartman wrote: > > Or better yet, just turn all char major allocations into dynamic, which > > would be really good for test systems. I thought someone proposed > > patches for that a long time ago, but I can't find them anymore. That > > would be the simplest solution here. > > Would people not complain about that? I would not be surprised if some > crazy application is using hard coded major numbers in userspace. So > such a change could potentially break userspace... For char devices, I doubt it, but we can't take the chance, which is why you make it an option. Then, it's enabled for 'allmodconfig' builds, which helps testers out. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9031624565908132589==" MIME-Version: 1.0 From: Greg Kroah-Hartman To: lkp@lists.01.org Subject: Re: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 Date: Tue, 13 Jun 2017 18:35:08 +0200 Message-ID: <20170613163508.GA31961@kroah.com> In-Reply-To: <8462abee-0a7f-00fb-6111-1f78362ea3f7@deltatee.com> List-Id: --===============9031624565908132589== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Jun 13, 2017 at 10:25:40AM -0600, Logan Gunthorpe wrote: > = > = > On 12/06/17 10:35 PM, Greg Kroah-Hartman wrote: > > Or better yet, just turn all char major allocations into dynamic, which > > would be really good for test systems. I thought someone proposed > > patches for that a long time ago, but I can't find them anymore. That > > would be the simplest solution here. > = > Would people not complain about that? I would not be surprised if some > crazy application is using hard coded major numbers in userspace. So > such a change could potentially break userspace... For char devices, I doubt it, but we can't take the chance, which is why you make it an option. Then, it's enabled for 'allmodconfig' builds, which helps testers out. thanks, greg k-h --===============9031624565908132589==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg Kroah-Hartman) Date: Tue, 13 Jun 2017 18:35:08 +0200 Subject: [Merge tag 'pci-v4.12-changes' of git] 857f864014: BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8 In-Reply-To: <8462abee-0a7f-00fb-6111-1f78362ea3f7@deltatee.com> References: <5933fe2d.V33ODGPU9noDVuyF%fengguang.wu@intel.com> <20170606175552.GA12672@bhelgaas-glaptop.roam.corp.google.com> <20170612200852.GA28578@bhelgaas-glaptop.roam.corp.google.com> <61e11e67-6c1b-ef1e-5fb8-a7c9efb17666@deltatee.com> <20170613041842.GA13308@kroah.com> <20170613043416.GB14217@kroah.com> <20170613043518.GA14621@kroah.com> <8462abee-0a7f-00fb-6111-1f78362ea3f7@deltatee.com> Message-ID: <20170613163508.GA31961@kroah.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 13, 2017 at 10:25:40AM -0600, Logan Gunthorpe wrote: > > > On 12/06/17 10:35 PM, Greg Kroah-Hartman wrote: > > Or better yet, just turn all char major allocations into dynamic, which > > would be really good for test systems. I thought someone proposed > > patches for that a long time ago, but I can't find them anymore. That > > would be the simplest solution here. > > Would people not complain about that? I would not be surprised if some > crazy application is using hard coded major numbers in userspace. So > such a change could potentially break userspace... For char devices, I doubt it, but we can't take the chance, which is why you make it an option. Then, it's enabled for 'allmodconfig' builds, which helps testers out. thanks, greg k-h