)]}'
{
  "commit": "719f1aa4a67199a3c4c68a03f94e5ec44d9d5f82",
  "tree": "0a6cdf499ae615abf88e8d826e0c63c431f54bdb",
  "parents": [
    "f9677e0f83080bb4186865868c359e72e1fac1ea"
  ],
  "author": {
    "name": "Christopher S. Hall",
    "email": "christopher.s.hall@intel.com",
    "time": "Mon Feb 22 03:15:25 2016 -0800"
  },
  "committer": {
    "name": "John Stultz",
    "email": "john.stultz@linaro.org",
    "time": "Thu Mar 03 14:23:43 2016 -0800"
  },
  "message": "ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping\n\nCurrently, network /system cross-timestamping is performed in the\nPTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and\nthe gettime64() callback provided by the driver. The cross-timestamp\nis best effort where the latency between the capture of system time\n(getnstimeofday()) and the device time (driver callback) may be\nsignificant.\n\nThe getcrosststamp() callback and corresponding PTP_SYS_OFFSET_PRECISE\nioctl allows the driver to perform this device/system correlation when\nfor example cross timestamp hardware is available. Modern Intel\nsystems can do this for onboard Ethernet controllers using the ART\ncounter. There is virtually zero latency between captures of the ART\nand network device clock.\n\nThe capabilities ioctl (PTP_CLOCK_GETCAPS), is augmented allowing\napplications to query whether or not drivers implement the\ngetcrosststamp callback, providing more precise cross timestamping.\n\nCc: Prarit Bhargava \u003cprarit@redhat.com\u003e\nCc: Richard Cochran \u003crichardcochran@gmail.com\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Ingo Molnar \u003cmingo@kernel.org\u003e\nCc: Andy Lutomirski \u003cluto@amacapital.net\u003e\nCc: kevin.b.stanton@intel.com\nCc: kevin.j.clarke@intel.com\nCc: hpa@zytor.com\nCc: jeffrey.t.kirsher@intel.com\nCc: netdev@vger.kernel.org\nAcked-by: Richard Cochran \u003crichardcochran@gmail.com\u003e\nSigned-off-by: Christopher S. Hall \u003cchristopher.s.hall@intel.com\u003e\n[jstultz: Commit subject tweaks]\nSigned-off-by: John Stultz \u003cjohn.stultz@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c6247aaa7b93a0a038e5f65b30679486b410cc2",
      "old_mode": 33188,
      "old_path": "Documentation/ptp/testptp.c",
      "new_id": "d99012f41602aca39f2468eb79fc03ea83626852",
      "new_mode": 33188,
      "new_path": "Documentation/ptp/testptp.c"
    },
    {
      "type": "modify",
      "old_id": "da7bae9915523195def56ead30b186881c025fa4",
      "old_mode": 33188,
      "old_path": "drivers/ptp/ptp_chardev.c",
      "new_id": "579fd65299a0cfc18b98e8e51a619e26bf82945f",
      "new_mode": 33188,
      "new_path": "drivers/ptp/ptp_chardev.c"
    },
    {
      "type": "modify",
      "old_id": "b8b73066d1379087f1ecd5bd40dbf719ad2af4ad",
      "old_mode": 33188,
      "old_path": "include/linux/ptp_clock_kernel.h",
      "new_id": "6b15e168148a3be73c52c35da6fc4a0f4a5b6ba6",
      "new_mode": 33188,
      "new_path": "include/linux/ptp_clock_kernel.h"
    },
    {
      "type": "modify",
      "old_id": "f0b7bfe5da920069a8acdca9dc018860495e0e59",
      "old_mode": 33188,
      "old_path": "include/uapi/linux/ptp_clock.h",
      "new_id": "ac6dded80ffa9282506eb8d26a50cb60646014f8",
      "new_mode": 33188,
      "new_path": "include/uapi/linux/ptp_clock.h"
    }
  ]
}
