From patchwork Fri Apr 19 18:34:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13636732 Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 436DFA947 for ; Fri, 19 Apr 2024 18:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713551703; cv=none; b=D6qnrPgEV6QQe9UosUqh9EWOGgWHqPAV58wd9nm3EvdIbbZ1NOLRtJLGaM/+9nKGbFedfrF9Umb40q9KnaDZUtUYHRZPemghKGDGuoZENx9ZhVTccnqz0O2drUtntaxETXuHyQXyLtV2L6txxT+YC0pRZK0J7UWsMpDtIiOEuwQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713551703; c=relaxed/simple; bh=xQztw9x/VfVlJ9Wl4RrBwkjryfVL+C+G5nGjBJ5kvBY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=Bssz47uZB1XG6Sf1RL/3sh7bnR7fd5EEUm/TiL299HRK0Z5XzqaCX1SiduIfopv8zO80IyDcW3ybbgzhTbn3p11FqqNGlnhkU/w2c6L1oGE17dpjmABI7jN0OmxzKocMLKRoY/6PBcOhb3fftyyN8lJ8hyU9+QZWMIJgmZ0c3zE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=ARVeupfq; arc=none smtp.client-ip=209.85.160.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ARVeupfq" Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-434d0f63c31so13934291cf.1 for ; Fri, 19 Apr 2024 11:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1713551701; x=1714156501; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=0Re1ataobu8HHrDUc4MTQw3MLMsx8ss0y0FNTD2JSRg=; b=ARVeupfqsISpQ1b2J04IKsg8ALGprDJx22gzKK4eRHf/zlvpW0m0ROTy2mLVc5LQrR Qi4WVZESYDAJUSJzoOArWIXD9qPm+WZra+KSSm/NpGIhcKopAYnBQI4M0Dp7jBVB4pJA 0KQSJ8wxcbxXbMDz1ZHCVU3Z3ud7EYh9kTGQ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713551701; x=1714156501; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0Re1ataobu8HHrDUc4MTQw3MLMsx8ss0y0FNTD2JSRg=; b=B+sWEBWG9fT+19YI3rZv47go/4bxBg24VC8UKXL+jSKHJBeOWrIxJk3iOsuMH5oXCQ BBFA0/iST+c3Yyy6N8NY37gDqBFH/GRbNTgrT4YFMyyTwPiwyaJLO61vLzQHQC/VBoTl E0IFh6a0151aD32V3zouT6nrSm/1QSY1eH+xdpntQBqahUgXLyn4Z4Gco6Sqit5ZxS4b XBOhzu0qQ3PkfMZ5dnatUx+fpvHNGYHRZGZBJn62AiEOQX2a/gSQPRYGq8xUYvehXnoc 9EBR1AQxUox01DK9iPliWCtqiD2Ksq+fl+WgC6WrdAEkHWdKjgMBEQXCdAlS5lNRF8nm Mwyw== X-Gm-Message-State: AOJu0YxxrrW0VVL3RHH06YgFh080YGY77sFBXAMKSAmuqw8Uteod3ggo fN3xVZ5oX7e6XozdNgkwd+6Z/aZhpIgLQT0lxNGd0xC+NoIa8rmiTMjMUxBUMQ== X-Google-Smtp-Source: AGHT+IG8/kgI2vTz51uJnDO5M/ZYCEoVCi1I2JX6XlSqcU06bLYWRUEbJUQSIYe55D2r+EjAM9ka/g== X-Received: by 2002:a05:622a:355:b0:437:cb7e:4b2f with SMTP id r21-20020a05622a035500b00437cb7e4b2fmr2752843qtw.54.1713551700637; Fri, 19 Apr 2024 11:35:00 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id d12-20020ac851cc000000b00438527a4eb5sm547940qtn.10.2024.04.19.11.34.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2024 11:35:00 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, andrew.gospodarek@broadcom.com Subject: [PATCH net 0/3] bnxt_en: AER fixes Date: Fri, 19 Apr 2024 11:34:46 -0700 Message-Id: <20240419183449.234327-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org This patchset fixes issues in the AER recovery logic. The first patch refactors the code to make a shutdown function available for AER fatal errors. The second patch fixes the AER fatal recovery logic. The third patch fixes the health register logic to fix AER recovery failure for the new P7 chips. Michael Chan (1): bnxt_en: Fix error recovery for 5760X (P7) chips Vikas Gupta (2): bnxt_en: refactor reset close code bnxt_en: Fix the PCI-AER routines drivers/net/ethernet/broadcom/bnxt/bnxt.c | 38 +++++++++++++++++------ 1 file changed, 28 insertions(+), 10 deletions(-)