)]}'
{
  "commit": "381cb968fa89bccbb20c324f0793eeced9fdbad4",
  "tree": "b09f160a006a0290612b960fa9ee9139fea157d0",
  "parents": [
    "179a6d5b2265964b1353838256b4839471bd6fa9"
  ],
  "author": {
    "name": "Kim Wooseok",
    "email": "5mghybrid@khu.ac.kr",
    "time": "Wed Sep 23 18:13:25 2026 +0900"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Fri Sep 25 17:45:29 2026 -0700"
  },
  "message": "net: macb: Preserve timestamp settings on rejected requests\n\ngem_set_hwtst() can reject a request after changing the TX one-step\nsetting, because it programs the TX mode before checking the RX\nfilter. The call returns -ERANGE, but the hardware may no longer match\nthe cached configuration.\n\nValidate both settings first and keep the adjusted RX filter local\nuntil validation succeeds. Then apply the register settings and update\nthe configuration. A rejected request now leaves the hardware, the\ncaller\u0027s settings and the cached configuration unchanged.\n\nProtect the NCR read-modify-write with bp-\u003elock, keeping the descriptor\nwrites and cache update in the same section. With the register writes\nnow in the setter, remove gem_ptp_set_one_step_sync() and\ngem_ptp_set_ts_mode().\n\nReviewed-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nReviewed-by: Théo Lebrun \u003ctheo.lebrun@bootlin.com\u003e\nTested-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nSigned-off-by: Kim Wooseok \u003c5mghybrid@khu.ac.kr\u003e\nLink: https://patch.msgid.link/20260923-macb-hwtstamp-rework-v2-1-75c909b2676d@khu.ac.kr\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14ae57fa00cba7edbe4e18aa506143620f334072",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/cadence/macb_ptp.c",
      "new_id": "02face93a53a146d55522a3a5d82fae1607b909e",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/cadence/macb_ptp.c"
    }
  ]
}
