[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLi+bo=zEobrduWW9D1KtTGtfO17XYw6jGjh_u_foy_VA@mail.gmail.com>
Date: Wed, 11 Mar 2015 10:59:16 -0500
From: Rob Herring <robherring2@...il.com>
To: Murali Karicheri <m-karicheri2@...com>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Arnd Bergmann <arnd@...db.de>,
Suravee Suthikulanit <Suravee.Suthikulpanit@....com>,
Will Deacon <will.deacon@....com>,
Joerg Roedel <joro@...tes.org>
Subject: Re: [PATCH] pci: of : fix BUG: unable to handle kernel
On Wed, Mar 11, 2015 at 10:28 AM, Murali Karicheri <m-karicheri2@...com> wrote:
> On 03/11/2015 08:49 AM, Russell King - ARM Linux wrote:
>>
>> On Wed, Mar 11, 2015 at 07:35:45AM -0500, Rob Herring wrote:
>>>
>>> On Tue, Mar 10, 2015 at 10:25 AM, Murali Karicheri<m-karicheri2@...com>
>>> wrote:
>>>>
>>>> On some platforms such as that based on x86, ia64 etc, root bus is
>>>> created with parent node passed in as NULL to pci_create_root_bus().
>>>> On these platforms, the patch series "PCI: get DMA configuration from
>>>> parent device" when applied causes kernel crash. So add a check for this
>>>> in of_pci_dma_configure()
>>>
>>>
>>> Wouldn't these arches have OF disabled and call an empty function?
>>> Regardless, we still need this.
>>>
>>>> Signed-off-by: Murali Karicheri<m-karicheri2@...com>
>>>
>>>
>>> I'm assuming Bjorn will apply this.
>>>
>>> Acked-by: Rob Herring<robh@...nel.org>
>>
>>
>> It might be an idea to read the subject line...
>>
>> "fix BUG: unable to handle kernel"
>
> Russell,
>
> I will fix the subject as "fix BUG: unable to handle kernel NULL pointer"
> and re-send.
Russell's point is the subject applies to every fix for a BUG.
Something like "of/pci: fix of_pci_dma_configure parent ptr NULL
dereference".
Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists