)]}'
{
  "commit": "fc13ba44da197a186f2f4d77c5b7d73d0f99f053",
  "tree": "34babcea535b1596fa74dfa8a282074450f4b0fb",
  "parents": [
    "b056ca4d3742d0769f91137bb1ce3215428398f7"
  ],
  "author": {
    "name": "Sebastien Royen",
    "email": "sebastien.royen@armadeus.com",
    "time": "Wed Oct 07 10:05:57 2026 +0200"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Thu Oct 08 10:48:00 2026 -0700"
  },
  "message": "net: dsa: microchip: fix KSZ8765 fiber detection\n\nThe KSZ8765 is similar to the KSZ8795 but has two fiber ports.\n\nKSZ8_PORT_STATUS_0 is used to detect fiber mode. It is currently\ndefined as 0x08, which is the Global Control 6 MIB Control register\nand has bit 7 defined as Flush Counter.\n\nSet KSZ8_PORT_STATUS_0 to 0x18, which is the Port 1 Status 0 register\nwhere bit 7 is the Fiber Mode bit.\n\nThis issue was discovered when upgrading an embedded device from kernel\n5.10 to 6.16. The device was using a KSZ8765 device tree configuration\nand the corresponding hardware, but during boot the kernel incorrectly\ndetected it as a KSZ8795. The relevant boot messages were:\n\n  ksz-switch spi0.0: found switch: KSZ8795, rev 0\n  ksz-switch spi0.0: Device tree specifies chip KSZ8765 but found KSZ8795, please fix it!\n\nCc: stable@vger.kernel.org\nFixes: 91a98917a883 (\"net: dsa: microchip: move switch chip_id detection to ksz_common\")\nReviewed-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nSigned-off-by: Sebastien Royen \u003csebastien.royen@armadeus.com\u003e\nLink: https://patch.msgid.link/20261007080557.15719-1-sebastien.royen@armadeus.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cbe98494578c371ee22b80f9508c3b35b8d6291a",
      "old_mode": 33188,
      "old_path": "drivers/net/dsa/microchip/ksz_common.h",
      "new_id": "f6104f714a8d160f69a761fd3a2297df35010e0b",
      "new_mode": 33188,
      "new_path": "drivers/net/dsa/microchip/ksz_common.h"
    }
  ]
}
