<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/ptp, branch v5.5-rc2</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2019-11-17T05:51:42+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2019-11-17T02:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=19b7e21c55c81713c4011278143006af9f232504'/>
<id>19b7e21c55c81713c4011278143006af9f232504</id>
<content type='text'>
Lots of overlapping changes and parallel additions, stuff
like that.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lots of overlapping changes and parallel additions, stuff
like that.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: Introduce strict checking of external time stamp options.</title>
<updated>2019-11-15T20:48:32+00:00</updated>
<author>
<name>Richard Cochran</name>
<email>richardcochran@gmail.com</email>
</author>
<published>2019-11-14T18:45:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6138e687c7b679da08c0feb55a88f448f7890c07'/>
<id>6138e687c7b679da08c0feb55a88f448f7890c07</id>
<content type='text'>
User space may request time stamps on rising edges, falling edges, or
both.  However, the particular mode may or may not be supported in the
hardware or in the driver.  This patch adds a "strict" flag that tells
drivers to ensure that the requested mode will be honored.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
User space may request time stamps on rising edges, falling edges, or
both.  However, the particular mode may or may not be supported in the
hardware or in the driver.  This patch adds a "strict" flag that tells
drivers to ensure that the requested mode will be honored.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: Validate requests to enable time stamping of external signals.</title>
<updated>2019-11-15T20:48:32+00:00</updated>
<author>
<name>Richard Cochran</name>
<email>richardcochran@gmail.com</email>
</author>
<published>2019-11-14T18:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cd734d54e67990eebfc3106dc39047c1141d4197'/>
<id>cd734d54e67990eebfc3106dc39047c1141d4197</id>
<content type='text'>
Commit 415606588c61 ("PTP: introduce new versions of IOCTLs")
introduced a new external time stamp ioctl that validates the flags.
This patch extends the validation to ensure that at least one rising
or falling edge flag is set when enabling external time stamps.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 415606588c61 ("PTP: introduce new versions of IOCTLs")
introduced a new external time stamp ioctl that validates the flags.
This patch extends the validation to ensure that at least one rising
or falling edge flag is set when enabling external time stamps.

Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Fix build error</title>
<updated>2019-11-12T20:12:39+00:00</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2019-11-12T14:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1e86606ba05d5e6269dabb209f5406745cb5b141'/>
<id>1e86606ba05d5e6269dabb209f5406745cb5b141</id>
<content type='text'>
When do randbuilding, we got this warning:

WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
  Depends on [n]: NET [=y] &amp;&amp; POSIX_TIMERS [=n]
  Selected by [y]:
  - PTP_1588_CLOCK_IDTCM [=y]

Make PTP_1588_CLOCK_IDTCM depends on PTP_1588_CLOCK to fix this.

Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Reviewed-by: Vincent Cheng  &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When do randbuilding, we got this warning:

WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
  Depends on [n]: NET [=y] &amp;&amp; POSIX_TIMERS [=n]
  Selected by [y]:
  - PTP_1588_CLOCK_IDTCM [=y]

Make PTP_1588_CLOCK_IDTCM depends on PTP_1588_CLOCK to fix this.

Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Reviewed-by: Vincent Cheng  &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: ptp_clockmatrix: Fix missing unlock on error in idtcm_probe()</title>
<updated>2019-11-07T05:19:59+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyongjun1@huawei.com</email>
</author>
<published>2019-11-06T14:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b97fa0b54447107e572ac7ba6ad0f0fd64170104'/>
<id>b97fa0b54447107e572ac7ba6ad0f0fd64170104</id>
<content type='text'>
Add the missing unlock before return from function idtcm_probe()
in the error handling case.

Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Reviewed-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the missing unlock before return from function idtcm_probe()
in the error handling case.

Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Reviewed-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: Add a ptp clock driver for IDT ClockMatrix.</title>
<updated>2019-11-04T01:35:40+00:00</updated>
<author>
<name>Vincent Cheng</name>
<email>vincent.cheng.xh@renesas.com</email>
</author>
<published>2019-11-01T03:20:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3a6ba7dc7799355557938fbdc15a558236011429'/>
<id>3a6ba7dc7799355557938fbdc15a558236011429</id>
<content type='text'>
The IDT ClockMatrix (TM) family includes integrated devices that provide
eight PLL channels.  Each PLL channel can be independently configured as a
frequency synthesizer, jitter attenuator, digitally controlled
oscillator (DCO), or a digital phase lock loop (DPLL).  Typically
these devices are used as timing references and clock sources for PTP
applications.  This patch adds support for the device.

Co-developed-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The IDT ClockMatrix (TM) family includes integrated devices that provide
eight PLL channels.  Each PLL channel can be independently configured as a
frequency synthesizer, jitter attenuator, digitally controlled
oscillator (DCO), or a digital phase lock loop (DPLL).  Typically
these devices are used as timing references and clock sources for PTP
applications.  This patch adds support for the device.

Co-developed-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Richard Cochran &lt;richardcochran@gmail.com&gt;
Signed-off-by: Vincent Cheng &lt;vincent.cheng.xh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2019-10-20T17:43:00+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2019-10-20T05:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2f184393e0c2d409c62262f57f2a57efdf9370b8'/>
<id>2f184393e0c2d409c62262f57f2a57efdf9370b8</id>
<content type='text'>
Several cases of overlapping changes which were for the most
part trivially resolvable.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several cases of overlapping changes which were for the most
part trivially resolvable.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: ptp_dte: use devm_platform_ioremap_resource() to simplify code</title>
<updated>2019-10-10T23:21:13+00:00</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2019-10-09T15:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f063d58b423d818a9b63007322ac0be667a897e4'/>
<id>f063d58b423d818a9b63007322ac0be667a897e4</id>
<content type='text'>
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp: fix typo of "mechanism" in Kconfig help text</title>
<updated>2019-10-07T18:55:46+00:00</updated>
<author>
<name>Antonio Borneo</name>
<email>antonio.borneo@st.com</email>
</author>
<published>2019-10-07T15:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=503c9addef613c872679e24fc8a78f3febeb5a08'/>
<id>503c9addef613c872679e24fc8a78f3febeb5a08</id>
<content type='text'>
Fix typo s/mechansim/mechanism/

Signed-off-by: Antonio Borneo &lt;antonio.borneo@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typo s/mechansim/mechanism/

Signed-off-by: Antonio Borneo &lt;antonio.borneo@st.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ptp_qoriq: Initialize the registers' spinlock before calling ptp_qoriq_settime</title>
<updated>2019-10-02T16:20:38+00:00</updated>
<author>
<name>Vladimir Oltean</name>
<email>olteanv@gmail.com</email>
</author>
<published>2019-10-01T19:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=db34a4714c013b644eec2de0ec81b1f0373b8b93'/>
<id>db34a4714c013b644eec2de0ec81b1f0373b8b93</id>
<content type='text'>
Because ptp_qoriq_settime is being called prior to spin_lock_init, the
following stack trace can be seen at driver probe time:

[    2.269117] the code is fine but needs lockdep annotation.
[    2.274569] turning off the locking correctness validator.
[    2.280027] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.3.0-rc7-01478-g01eaa67a4797 #263
[    2.288073] Hardware name: Freescale LS1021A
[    2.292337] [&lt;c0313cb4&gt;] (unwind_backtrace) from [&lt;c030e11c&gt;] (show_stack+0x10/0x14)
[    2.300045] [&lt;c030e11c&gt;] (show_stack) from [&lt;c1219440&gt;] (dump_stack+0xcc/0xf8)
[    2.307235] [&lt;c1219440&gt;] (dump_stack) from [&lt;c03b9b44&gt;] (register_lock_class+0x730/0x73c)
[    2.315372] [&lt;c03b9b44&gt;] (register_lock_class) from [&lt;c03b6190&gt;] (__lock_acquire+0x78/0x270c)
[    2.323856] [&lt;c03b6190&gt;] (__lock_acquire) from [&lt;c03b90cc&gt;] (lock_acquire+0xe0/0x22c)
[    2.331649] [&lt;c03b90cc&gt;] (lock_acquire) from [&lt;c123c310&gt;] (_raw_spin_lock_irqsave+0x54/0x68)
[    2.340048] [&lt;c123c310&gt;] (_raw_spin_lock_irqsave) from [&lt;c0e73fe4&gt;] (ptp_qoriq_settime+0x38/0x80)
[    2.348878] [&lt;c0e73fe4&gt;] (ptp_qoriq_settime) from [&lt;c0e746d4&gt;] (ptp_qoriq_init+0x1f8/0x484)
[    2.357189] [&lt;c0e746d4&gt;] (ptp_qoriq_init) from [&lt;c0e74aac&gt;] (ptp_qoriq_probe+0xd0/0x184)
[    2.365243] [&lt;c0e74aac&gt;] (ptp_qoriq_probe) from [&lt;c0b0a07c&gt;] (platform_drv_probe+0x48/0x9c)
[    2.373555] [&lt;c0b0a07c&gt;] (platform_drv_probe) from [&lt;c0b07a14&gt;] (really_probe+0x1c4/0x400)
[    2.381779] [&lt;c0b07a14&gt;] (really_probe) from [&lt;c0b07e28&gt;] (driver_probe_device+0x78/0x1b8)
[    2.390003] [&lt;c0b07e28&gt;] (driver_probe_device) from [&lt;c0b081d0&gt;] (device_driver_attach+0x58/0x60)
[    2.398832] [&lt;c0b081d0&gt;] (device_driver_attach) from [&lt;c0b082d4&gt;] (__driver_attach+0xfc/0x160)
[    2.407402] [&lt;c0b082d4&gt;] (__driver_attach) from [&lt;c0b05a84&gt;] (bus_for_each_dev+0x68/0xb4)
[    2.415539] [&lt;c0b05a84&gt;] (bus_for_each_dev) from [&lt;c0b06b68&gt;] (bus_add_driver+0x104/0x20c)
[    2.423763] [&lt;c0b06b68&gt;] (bus_add_driver) from [&lt;c0b0909c&gt;] (driver_register+0x78/0x10c)
[    2.431815] [&lt;c0b0909c&gt;] (driver_register) from [&lt;c030313c&gt;] (do_one_initcall+0x8c/0x3ac)
[    2.439954] [&lt;c030313c&gt;] (do_one_initcall) from [&lt;c1f013f4&gt;] (kernel_init_freeable+0x468/0x548)
[    2.448610] [&lt;c1f013f4&gt;] (kernel_init_freeable) from [&lt;c12344d8&gt;] (kernel_init+0x8/0x10c)
[    2.456745] [&lt;c12344d8&gt;] (kernel_init) from [&lt;c03010b4&gt;] (ret_from_fork+0x14/0x20)
[    2.464273] Exception stack(0xea89ffb0 to 0xea89fff8)
[    2.469297] ffa0:                                     00000000 00000000 00000000 00000000
[    2.477432] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.485566] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000

Fixes: ff54571a747b ("ptp_qoriq: convert to use ptp_qoriq_init/free")
Signed-off-by: Vladimir Oltean &lt;olteanv@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because ptp_qoriq_settime is being called prior to spin_lock_init, the
following stack trace can be seen at driver probe time:

[    2.269117] the code is fine but needs lockdep annotation.
[    2.274569] turning off the locking correctness validator.
[    2.280027] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.3.0-rc7-01478-g01eaa67a4797 #263
[    2.288073] Hardware name: Freescale LS1021A
[    2.292337] [&lt;c0313cb4&gt;] (unwind_backtrace) from [&lt;c030e11c&gt;] (show_stack+0x10/0x14)
[    2.300045] [&lt;c030e11c&gt;] (show_stack) from [&lt;c1219440&gt;] (dump_stack+0xcc/0xf8)
[    2.307235] [&lt;c1219440&gt;] (dump_stack) from [&lt;c03b9b44&gt;] (register_lock_class+0x730/0x73c)
[    2.315372] [&lt;c03b9b44&gt;] (register_lock_class) from [&lt;c03b6190&gt;] (__lock_acquire+0x78/0x270c)
[    2.323856] [&lt;c03b6190&gt;] (__lock_acquire) from [&lt;c03b90cc&gt;] (lock_acquire+0xe0/0x22c)
[    2.331649] [&lt;c03b90cc&gt;] (lock_acquire) from [&lt;c123c310&gt;] (_raw_spin_lock_irqsave+0x54/0x68)
[    2.340048] [&lt;c123c310&gt;] (_raw_spin_lock_irqsave) from [&lt;c0e73fe4&gt;] (ptp_qoriq_settime+0x38/0x80)
[    2.348878] [&lt;c0e73fe4&gt;] (ptp_qoriq_settime) from [&lt;c0e746d4&gt;] (ptp_qoriq_init+0x1f8/0x484)
[    2.357189] [&lt;c0e746d4&gt;] (ptp_qoriq_init) from [&lt;c0e74aac&gt;] (ptp_qoriq_probe+0xd0/0x184)
[    2.365243] [&lt;c0e74aac&gt;] (ptp_qoriq_probe) from [&lt;c0b0a07c&gt;] (platform_drv_probe+0x48/0x9c)
[    2.373555] [&lt;c0b0a07c&gt;] (platform_drv_probe) from [&lt;c0b07a14&gt;] (really_probe+0x1c4/0x400)
[    2.381779] [&lt;c0b07a14&gt;] (really_probe) from [&lt;c0b07e28&gt;] (driver_probe_device+0x78/0x1b8)
[    2.390003] [&lt;c0b07e28&gt;] (driver_probe_device) from [&lt;c0b081d0&gt;] (device_driver_attach+0x58/0x60)
[    2.398832] [&lt;c0b081d0&gt;] (device_driver_attach) from [&lt;c0b082d4&gt;] (__driver_attach+0xfc/0x160)
[    2.407402] [&lt;c0b082d4&gt;] (__driver_attach) from [&lt;c0b05a84&gt;] (bus_for_each_dev+0x68/0xb4)
[    2.415539] [&lt;c0b05a84&gt;] (bus_for_each_dev) from [&lt;c0b06b68&gt;] (bus_add_driver+0x104/0x20c)
[    2.423763] [&lt;c0b06b68&gt;] (bus_add_driver) from [&lt;c0b0909c&gt;] (driver_register+0x78/0x10c)
[    2.431815] [&lt;c0b0909c&gt;] (driver_register) from [&lt;c030313c&gt;] (do_one_initcall+0x8c/0x3ac)
[    2.439954] [&lt;c030313c&gt;] (do_one_initcall) from [&lt;c1f013f4&gt;] (kernel_init_freeable+0x468/0x548)
[    2.448610] [&lt;c1f013f4&gt;] (kernel_init_freeable) from [&lt;c12344d8&gt;] (kernel_init+0x8/0x10c)
[    2.456745] [&lt;c12344d8&gt;] (kernel_init) from [&lt;c03010b4&gt;] (ret_from_fork+0x14/0x20)
[    2.464273] Exception stack(0xea89ffb0 to 0xea89fff8)
[    2.469297] ffa0:                                     00000000 00000000 00000000 00000000
[    2.477432] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.485566] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000

Fixes: ff54571a747b ("ptp_qoriq: convert to use ptp_qoriq_init/free")
Signed-off-by: Vladimir Oltean &lt;olteanv@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
