From patchwork Mon Sep 21 01:08:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 260522 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABC4FC43465 for ; Mon, 21 Sep 2020 01:09:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62CAC20888 for ; Mon, 21 Sep 2020 01:09:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="GOAwujVL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726333AbgIUBJT (ORCPT ); Sun, 20 Sep 2020 21:09:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbgIUBJT (ORCPT ); Sun, 20 Sep 2020 21:09:19 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FCE0C061755 for ; Sun, 20 Sep 2020 18:09:19 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id mm21so6523774pjb.4 for ; Sun, 20 Sep 2020 18:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=n+Oe6sScDUie4jnpgTlgThyR9EmhYEy4r0sUjo6BJMY=; b=GOAwujVL+LGE/elsY0+ln1txdALx7Iv0I8RPXCiH45PLAe/TDQwBJHymnAUwHvJfX2 kIGgsbPtTo5frxJ5e9n/XaRaS3NBJjIMdqp94FAz9eipmHvUgTRtr6Br0lH/VlH5nPnD n7Wn4rvFQpgk4MbLZTVUhBcMiYtG5ItDUCcCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=n+Oe6sScDUie4jnpgTlgThyR9EmhYEy4r0sUjo6BJMY=; b=nVM1rTo05g39bbVONDFdmlr9ODKw9RxM6ClB+MxD3Ab4NmwFK8J4yME9CynwN0kmif ASvepMQAv8wJV+X6SOw6k3VuvtT5LhfCVWbZ0obUVTgY3+osnc/Kdo7jNBMRgiqwet6B 3OGMbuRak7ESMgdEL+iPImKd6TSPs6xKgAzLMFrK+I+Ax1TEnzqCFq12iCJgB4+rZqJH 3AVKTzVn8t51Mc1VG8PBvUdWuHVBUgzwtSsHo2+S9Uqvuuiom+K3ZA5n+mi0gG11BHKa K1OIPThgxZSC/KwRXX4XVTkXKZkfDFrPKc3Fd6lN65LX1bkYb9oqUgmRlqZrwCX+TZcv iprg== X-Gm-Message-State: AOAM532I/h/59/Pcmf5UvKal15rJRrJ56vToBOLi2EaTEWgbbPOmT08x G6fdqwj8RCT3jJTco3OjZLn5Aw== X-Google-Smtp-Source: ABdhPJyhxisT1KP05kVGCxHZhnlu7YQRwIvjW1UPJTii1pZK68xcTD0P00HeAeM27rP576jDmxUQcw== X-Received: by 2002:a17:90b:1050:: with SMTP id gq16mr23612887pjb.234.1600650558921; Sun, 20 Sep 2020 18:09:18 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.com ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id bt13sm9098095pjb.23.2020.09.20.18.09.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Sep 2020 18:09:18 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org Subject: [PATCH net 0/6] bnxt_en: Bug fixes. Date: Sun, 20 Sep 2020 21:08:53 -0400 Message-Id: <1600650539-19967-1-git-send-email-michael.chan@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org A series of small driver fixes covering VPD length logic, ethtool_get_regs on VF, hwmon temperature error handling, mutex locking for EEE and pause ethtool settings, and parameters for statistics related firmware calls. Please queue patches 1, 2, and 3 for -stable. Thanks. Edwin Peer (1): bnxt_en: return proper error codes in bnxt_show_temp Michael Chan (3): bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex. bnxt_en: Fix HWRM_FUNC_QSTATS_EXT firmware call. bnxt_en: Fix wrong flag value passed to HWRM_PORT_QSTATS_EXT fw call. Vasundhara Volam (2): bnxt_en: Use memcpy to copy VPD field info. bnxt_en: Return -EOPNOTSUPP for ETHTOOL_GREGS on VFs. drivers/net/ethernet/broadcom/bnxt/bnxt.c | 30 +++++++++++++------- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 34 +++++++++++++++-------- 2 files changed, 43 insertions(+), 21 deletions(-)