)]}'
{
  "commit": "7f0bc8f2c899571eb8a22aab8e34207828ccd960",
  "tree": "079af4f2342d711a89e2acc845c0ba83d23b1d2f",
  "parents": [
    "482330f8261b4bea8146d9bd69c1199e5dfcbb5c"
  ],
  "author": {
    "name": "Tristram Ha",
    "email": "tristram.ha@microchip.com",
    "time": "Tue Dec 02 14:20:58 2025 -0500"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Sun Dec 07 06:25:03 2025 +0900"
  },
  "message": "net: dsa: microchip: Do not execute PTP driver code for unsupported switches\n\n[ Upstream commit 6ed3472173c575cd8aaed6c62eb74f7728404ee6 ]\n\nThe PTP driver code only works for certain KSZ switches like KSZ9477,\nKSZ9567, LAN937X and their varieties.  This code is enabled by kernel\nconfiguration CONFIG_NET_DSA_MICROCHIP_KSZ_PTP.  As the DSA driver is\ncommon to work with all KSZ switches this PTP code is not appropriate\nfor other unsupported switches.  The ptp_capable indication is added to\nthe chip data structure to signal whether to execute those code.\n\nSigned-off-by: Tristram Ha \u003ctristram.ha@microchip.com\u003e\nLink: https://patch.msgid.link/20241218020240.70601-1-Tristram.Ha@microchip.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\nStable-dep-of: 0f80e21bf622 (\"net: dsa: microchip: Free previously initialized ports on init failures\")\nSigned-off-by: Sasha Levin \u003csashal@kernel.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6ae5ad37c957d8db38360077d8837780ce7a8e06",
      "old_mode": 33188,
      "old_path": "drivers/net/dsa/microchip/ksz_common.c",
      "new_id": "010f267abe90275866d5a43dede850da19149a2f",
      "new_mode": 33188,
      "new_path": "drivers/net/dsa/microchip/ksz_common.c"
    },
    {
      "type": "modify",
      "old_id": "4ee518f8addc4a87bfc71af354758446e6125877",
      "old_mode": 33188,
      "old_path": "drivers/net/dsa/microchip/ksz_common.h",
      "new_id": "36f2fd77619fc50651a48374599a6c584b29e47b",
      "new_mode": 33188,
      "new_path": "drivers/net/dsa/microchip/ksz_common.h"
    }
  ]
}
