<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ptp/ptp_clock.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-28T17:28:43Z</updated>
<entry>
<title>ptp: validate the requested frequency adjustment.</title>
<updated>2014-04-28T17:28:43Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2014-04-27T13:01:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d39a743511cdb80884b4b9cd506fe84b6b08e66e'/>
<id>urn:sha1:d39a743511cdb80884b4b9cd506fe84b6b08e66e</id>
<content type='text'>
PTP Hardware Clock drivers specify a maximum frequency adjustment that
their clocks can accommodate. Normally, user space programs will want to
respect the advertised limits. However, no kernel or driver code checks
that the dialed frequency offset is within the bounds, and out of range
values can lead to surprising results.

This patch fixes the issue by rejecting bad values.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: introduce programmable pins.</title>
<updated>2014-03-21T18:21:13Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2014-03-20T21:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6092315dfdec5185881605d15a0e200d6e90eb66'/>
<id>urn:sha1:6092315dfdec5185881605d15a0e200d6e90eb66</id>
<content type='text'>
This patch adds a pair of new ioctls to the PTP Hardware Clock device
interface. Using the ioctls, user space programs can query each pin to
find out its current function and also reprogram a different function
if desired.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>PTP: convert class code to use dev_groups</title>
<updated>2013-07-27T01:05:17Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2013-07-24T22:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3499116b915e260b275c167a471e0e05bbe3f1d6'/>
<id>urn:sha1:3499116b915e260b275c167a471e0e05bbe3f1d6</id>
<content type='text'>
The dev_attrs field of struct class is going away soon, dev_groups
should be used instead.  This converts the ptp class code to use the
correct field.

Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptp: dynamic allocation of PHC char devices</title>
<updated>2013-04-12T22:22:45Z</updated>
<author>
<name>Jiri Benc</name>
</author>
<published>2013-04-12T00:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7356a764cd76e155014c226ccb157219be918891'/>
<id>urn:sha1:7356a764cd76e155014c226ccb157219be918891</id>
<content type='text'>
As network adapters supporting PTP are becoming more common, machines with
many NICs suddenly have many PHCs, too. The current limit of eight /dev/ptp*
char devices (and thus, 8 network interfaces with PHC) is insufficient. Let
the ptp driver allocate the char devices dynamically.

Tested with 28 PHCs, removing and re-adding some of them.

Thanks to Ben Hutchings for advice leading to simpler and cleaner patch.

Signed-off-by: Jiri Benc &lt;jbenc@redhat.com&gt;
Acked-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: link the phc device to its parent device</title>
<updated>2012-09-22T19:42:38Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2012-09-22T07:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ef761582c074448bae5be97abde5934667e7710'/>
<id>urn:sha1:1ef761582c074448bae5be97abde5934667e7710</id>
<content type='text'>
PTP Hardware Clock devices appear as class devices in sysfs. This patch
changes the registration API to use the parent device, clarifying the
clock's relationship to the underlying device.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Acked-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Acked-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: provide the clock's adjusted frequency</title>
<updated>2012-09-22T19:42:08Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2012-09-22T07:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c35bad5ffe5accde6b0ef4468b39e1db0806b94'/>
<id>urn:sha1:5c35bad5ffe5accde6b0ef4468b39e1db0806b94</id>
<content type='text'>
If the timex.mode field indicates a query, then we provide the value of
the current frequency adjustment.

[ Get rid of extraneous empty lines -DaveM ]

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ptp: remember the adjusted frequency</title>
<updated>2012-09-22T19:41:29Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2012-09-22T07:02:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39a8cbd9ca051fb164db70315e7972de5c153c33'/>
<id>urn:sha1:39a8cbd9ca051fb164db70315e7972de5c153c33</id>
<content type='text'>
This patch adds a field to the representation of a PTP hardware clock in
order to remember the frequency adjustment value dialed by the user.

Adding this field will let us answer queries in the manner of adjtimex
in a follow on patch.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>pps/ptp: Allow PHC devices to adjust PPS events for known delay</title>
<updated>2012-09-07T20:13:28Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2012-09-03T10:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=220a60a425146b0e37998cc0b3082f0541aad866'/>
<id>urn:sha1:220a60a425146b0e37998cc0b3082f0541aad866</id>
<content type='text'>
Initial version by Stuart Hodgson &lt;smhodgson@solarflare.com&gt;

Some PHC device drivers may deliver PPS events with a significant
and variable delay, but still be able to measure precisely what
that delay is.

Add a pps_sub_ts() function for subtracting a delay from the
timestamp(s) in a PPS event, and a PTP event type (PTP_CLOCK_PPSUSR)
for which the caller provides a complete PPS event.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
</content>
</entry>
<entry>
<title>ptp: Add a method for obtaining the device index.</title>
<updated>2012-04-04T09:28:45Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2012-04-03T22:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=995a9090b2b7dc734351f3ac0ba8d913ffb87001'/>
<id>urn:sha1:995a9090b2b7dc734351f3ac0ba8d913ffb87001</id>
<content type='text'>
This commit adds a method that MAC drivers may call in order to find out
the device number of their associated PTP Hardware Clock.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>phc: Update author's email address.</title>
<updated>2012-03-17T08:41:43Z</updated>
<author>
<name>Richard Cochran</name>
</author>
<published>2012-03-16T22:39:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2ec3ff6b8712f5d951927d7774c805fe3270caa'/>
<id>urn:sha1:c2ec3ff6b8712f5d951927d7774c805fe3270caa</id>
<content type='text'>
This commit brings the author email address macros up to date for four
modules in the PTP Hardware Clock subsystem.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
