)]}'
{
  "commit": "386f887c8290f0747dd0180e98ec7a82811bc506",
  "tree": "fd41ece9ea3cfeac7049252d9ab35c3296410705",
  "parents": [
    "8f5d59b9cfa69beab3b52cca621bb301c5af98aa"
  ],
  "author": {
    "name": "Michael Chan",
    "email": "michael.chan@broadcom.com",
    "time": "Mon Oct 05 13:42:45 2026 -0700"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Wed Oct 07 17:52:01 2026 -0700"
  },
  "message": "bnxt_en: Fix driver init in kdump kernel\n\nFix and strengthen the FLR sequence when initializing in the kdump\nkernel.  If the NIC is behind a PCIe switch in synthetic (smart)\nmode, the switch may need to see that the BARs have been initialized\nbefore it will pass mem read/write TLPs to the NIC.\n\nOn a Dell system with a PEX89144 PCIe switch, echo c \u003e /proc/sysrq-trigger\nwill trigger fatal AER without this patch:\n\nbnxt_en 0000:67:00.0: enabling device (0000 -\u003e 0002)\n[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 5\n[Hardware Error]: event severity: recoverable\n[Hardware Error]:  Error 0, type: fatal\n[Hardware Error]:   section_type: PCIe error\n[Hardware Error]:   port_type: 5, upstream switch port\n...\n\nAdd a new bnxt_kdump_reset() to do the expanded FLR sequence in the\nkdump kernel.  We now disable bus master and memory, save the PCI\nstate, do the FLR, clear the BARs, and restore the PCI state.  The\nBARs have to be cleared to ensure that they get re-initialized and\nvisible to the PCIe switch.\n\nSince it is the kdump kernel, we make every effort to continue in\nthe best possible way even if pci_save_state() or pcie_flr() returns\nerror.  After FLR, we poll for an additional 5 seconds before\naborting in case the device is not properly returning CRS.  This is\nsimilar to the 5-second wait in bnxt_io_slot_reset().\n\nFixes: 8743db4a9acf (\"bnxt_en: Issue PCIe FLR in kdump kernel to cleanup pending DMAs.\")\nReviewed-by: Kalesh AP \u003ckalesh-anakkur.purayil@broadcom.com\u003e\nSigned-off-by: Pavan Chebbi \u003cpavan.chebbi@broadcom.com\u003e\nSigned-off-by: Michael Chan \u003cmichael.chan@broadcom.com\u003e\nReviewed-by: Jacob Keller \u003cjacob.e.keller@intel.com\u003e\nLink: https://patch.msgid.link/20261005204246.3822563-3-michael.chan@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8ce8a82d34530587e5693b2a369cab4e06e7be81",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/broadcom/bnxt/bnxt.c",
      "new_id": "9ea7e172787e2444f968d210facedfb7993fbc39",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/broadcom/bnxt/bnxt.c"
    }
  ]
}
