lkml.org 
[lkml]   [2017]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 091/152] PCI: Expand "VPD access disabled" quirk message
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Bjorn Helgaas <bhelgaas@google.com>

    [ Upstream commit 044bc425bb72ffdecfb2a66d50cb1d024ecb96d0 ]

    It's not very enlightening to see

    pci 0000:07:00.0: [Firmware Bug]: VPD access disabled

    in the dmesg log because there's no clue about what the firmware bug is.
    Expand the message to explain why we're disabling VPD.

    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/pci/quirks.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/pci/quirks.c
    +++ b/drivers/pci/quirks.c
    @@ -2156,7 +2156,7 @@ static void quirk_blacklist_vpd(struct p
    {
    if (dev->vpd) {
    dev->vpd->len = 0;
    - dev_warn(&dev->dev, FW_BUG "VPD access disabled\n");
    + dev_warn(&dev->dev, FW_BUG "disabling VPD access (can't determine size of non-standard VPD format)\n");
    }
    }


    \
     
     \ /
      Last update: 2017-04-10 19:34    [W:4.081 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site