From patchwork Mon Oct 26 04:18:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 1387448 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=B6UYOYJR; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CKM5k0wjNz9sTD for ; Mon, 26 Oct 2020 15:18:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1420884AbgJZESd (ORCPT ); Mon, 26 Oct 2020 00:18:33 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:50424 "EHLO mail-pj1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1419349AbgJZESc (ORCPT ); Mon, 26 Oct 2020 00:18:32 -0400 Received: by mail-pj1-f42.google.com with SMTP id p21so2486800pju.0 for ; Sun, 25 Oct 2020 21:18:31 -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=5jZcf3QHYjwNqc8igw6QlmW3IdwHTeo4xY0xMfEb/nc=; b=B6UYOYJRCgMJnpODA6pC9TZTMgAm4jys7EJG21Y2SXS11CQ6+45oHmPBGqplLD5Go4 eWOgkHD+LNin/8cAADFj5fVphd8dHROvmOjIDbHcsEnNbXO51IvDzQAIxTwsGOlhFefw aXMqafrF3FNp0FfbQXFZ/Bb6CizLcjvx7vOFg= 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=5jZcf3QHYjwNqc8igw6QlmW3IdwHTeo4xY0xMfEb/nc=; b=oWvqQskIsXvXlU/DEZzyptGD+r6XmlpZp8Y/oDRg4punyn4eNfyrn1GzmBS44Vz1c5 kXdb9a5/Om1LQdwn4fnlZu4wD9GEZ43BB4k+UKyagMjsMQInyG6gZI2AyZNRp9OKvC0/ Atij2IdLzahT2NKiCKqvNtW+DKRclqhSmRJI/hNWiEWGTpfGc8sawjUqHLNw/T6vUUoU bh4Ut7uTK3+Ecmf+OzZsS6osi6wrQNkpIMSqKeULx/s7FO+DsJ0XyFpmEKCf2pp19fwR W7OBGmgppxrkyvbEPkKfdGEy0tgnOj2Q5qpZXxoimlrF6ynIRAxe56J+UxwCeh1fqStz S/AQ== X-Gm-Message-State: AOAM5327M27o5mb0n1NaDDibwadErJCLxO0/uvKwk7w6aD7wTsJ+UIkE 86mOEz0eR9Lrs4znUcp6zDYZTxXhYtA3zw== X-Google-Smtp-Source: ABdhPJwyOqXiE021ddbgyEmTg51qoFnzGsKYU8Jmn452LnmEojCJukhNjsg6F5LniPbBAU7VPSw9NQ== X-Received: by 2002:a17:90a:540c:: with SMTP id z12mr4517240pjh.33.1603685910783; Sun, 25 Oct 2020 21:18:30 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id 10sm11505835pjt.50.2020.10.25.21.18.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Oct 2020 21:18:30 -0700 (PDT) From: Michael Chan To: kuba@kernel.org Cc: netdev@vger.kernel.org, gospo@broadcom.com Subject: [PATCH net 0/5] bnxt_en: Bug fixes. Date: Mon, 26 Oct 2020 00:18:16 -0400 Message-Id: <1603685901-17917-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 These 5 bug fixes are all related to the firmware reset or AER recovery. 2 patches fix the cleanup logic for the workqueue used to handle firmware reset and recovery. 1 patch ensures that the chip will have the proper BAR addresses latched after fatal AER recovery. 1 patch fixes the open path to check for firmware reset abort error. The last one sends the fw reset command unconditionally to fix the AER reset logic. Please queue these for -stable as well. Thanks. Michael Chan (1): bnxt_en: Check abort error state in bnxt_open_nic(). Vasundhara Volam (4): bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one(). bnxt_en: Invoke cancel_delayed_work_sync() for PFs also. bnxt_en: Re-write PCI BARs after PCI fatal error. bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally. drivers/net/ethernet/broadcom/bnxt/bnxt.c | 49 ++++++++++++++--------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + 2 files changed, 32 insertions(+), 18 deletions(-)