From patchwork Sat Oct 1 18:27:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 12996645 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2353EC4332F for ; Sat, 1 Oct 2022 18:32:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229464AbiJAS1Y (ORCPT ); Sat, 1 Oct 2022 14:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiJAS1X (ORCPT ); Sat, 1 Oct 2022 14:27:23 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0F495C9C6 for ; Sat, 1 Oct 2022 11:27:22 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id w2so4440961qtv.9 for ; Sat, 01 Oct 2022 11:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=uhicgQFT0nNdPLXEia5MrIwFhTgkIIg0bmICyKxVoQk=; b=fJVrMu+/To1a4onrBrd6NEm3ZpRr7fLeM+CdlcekJNRNaIlrDwNMQZ7tJRvtzH/Ybe /PCHumLytu2o4hyfMX11L4nB8awSgREB3bzmVr1A9eVVyyOsEIrJNi2ICRM+F+zUYQsy 9lz/CoS/wFokCPKFUjbT3xdkbfljREJHdmf94= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=uhicgQFT0nNdPLXEia5MrIwFhTgkIIg0bmICyKxVoQk=; b=ZLpRsLz0V1bMiIswCdvWLMiemh5sx5XJGy56S+ogN1+gj/sLKmQUMEUCHs2DoEYiC3 z9ePZ+VkBOjh+cgu9s03CL9bW3f3q36B8hRbur9DtvtxG3cnxLswu2k7wlMyFGyg1VzD s66cfl9UlYRb8XLQdz6N2Vah5QejCVGRgp/et9S2itCR/Xlphqp18HQBB1JoHnaSwBn9 UnPdOjEzCjMLURHQMYVCXw8h4ftVTrxTb/fzDInORqEoLEkl9u7tuc2d7doi4BQpzeS7 Lylq6WEIURS/1PTPIjADmtcDYAGoEisImK8yHq+k2iVerHfZsNAy+PZbMNlKx4pG3yw7 dzJQ== X-Gm-Message-State: ACrzQf3Z0oDQxx8lClXme7wSiJQ3eSkCyn+ej0m96L7OurRXYqVlSzLV sbL+x/18tn5z+2shyfH0qdfPaA== X-Google-Smtp-Source: AMsMyM4urQtLFdxMKRh1r/Pi8ZQ3/3xHQncBugUPuWQc0JkarNgeMbqCLrrFcsJlvBH/RkiOXUnAzA== X-Received: by 2002:a05:622a:1248:b0:35b:b5fa:5e25 with SMTP id z8-20020a05622a124800b0035bb5fa5e25mr11174973qtx.215.1664648841807; Sat, 01 Oct 2022 11:27:21 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id h14-20020a05620a400e00b006ce3f1af120sm6652830qko.44.2022.10.01.11.27.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2022 11:27:20 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, gospo@broadcom.com, vikas.gupta@broadcom.com Subject: [PATCH net-next v2 0/3] bnxt_en: Driver updates Date: Sat, 1 Oct 2022 14:27:08 -0400 Message-Id: <1664648831-7965-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 X-Patchwork-Delegate: kuba@kernel.org This patchset adds .get_module_eeprom_by_page() support and adds an NVRAM resize step to allow larger firmware images to be flashed to older firmware. v2: Simplify .get_module_eeprom_by_page() as suggested by Ido Schimmel Michael Chan (1): bnxt_en: Update firmware interface to 1.10.2.118 Vikas Gupta (2): bnxt_en: add .get_module_eeprom_by_page() support bnxt_en: check and resize NVRAM UPDATE entry before flashing drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 88 ++++++- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 234 +++++++++++++----- 3 files changed, 251 insertions(+), 72 deletions(-)