lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] pinctrl: intel: fix NULL pointer deref
    On Wed, Jun 09, 2021 at 01:08:16PM +0200, Henning Schild wrote:
    > Am Wed, 9 Jun 2021 13:33:34 +0300
    > schrieb Andy Shevchenko <andy.shevchenko@gmail.com>:

    ...

    > In order to use GPIO from the drivers i need to make sure
    > "broxton-pinctrl" comes up even if p2sb is hidden.
    >
    > Long story short, i thought the patch was simple enough to merge even
    > taken out of my special context.
    >
    > Currently intel_pinctl only works if "ps2b is not hidden by BIOS" or
    > "ACPI tables are correct", lifting the ban on the hidden p2sb seems
    > like a useful thing in general (i.e. sysfs gpio interface). And i was
    > hoping Andy would take the lead on that. It is something my Siemens
    > drivers would depend on, but really a generic thing as far as i
    > understand it.

    From p2sb series discussion it appears that this patch is not needed.
    The case is when BIOS already provides an ACPI device.

    So, the initial bug is in that series that needs to check if the ACPI device is
    exposed and forbid platform device instantiation in that case.

    --
    With Best Regards,
    Andy Shevchenko


    \
     
     \ /
      Last update: 2021-06-10 16:26    [W:2.240 / U:0.828 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site