<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/pps/generators/pps_gen_tio.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2025-04-15T16:22:32Z</updated>
<entry>
<title>pps: generators: tio: fix platform_set_drvdata()</title>
<updated>2025-04-15T16:22:32Z</updated>
<author>
<name>Raag Jadav</name>
<email>raag.jadav@intel.com</email>
</author>
<published>2025-03-18T11:40:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bcfb443557166287ba544be308ed44d788599afa'/>
<id>urn:sha1:bcfb443557166287ba544be308ed44d788599afa</id>
<content type='text'>
platform_set_drvdata() is setting a double pointer to struct pps_tio as
driver_data, which will point to the local stack of probe function instead
of intended data. Set driver_data correctly and fix illegal memory access
by its user.

 BUG: unable to handle page fault for address: ffffc9000117b738
 RIP: 0010:hrtimer_active+0x2b/0x60
 Call Trace:
  ? hrtimer_active+0x2b/0x60
  hrtimer_cancel+0x19/0x50
  pps_gen_tio_remove+0x1e/0x80 [pps_gen_tio]

Fixes: c89755d1111f ("pps: generators: Add PPS Generator TIO Driver")
Signed-off-by: Raag Jadav &lt;raag.jadav@intel.com&gt;
Acked-by: Rodolfo Giometti &lt;giometti@enneenne.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20250318114038.2058677-1-raag.jadav@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>treewide: Convert new and leftover hrtimer_init() users</title>
<updated>2025-04-05T08:30:17Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2025-04-04T17:31:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=48ad7bbfd53af0d3fe6490a4dd30c169db6f12aa'/>
<id>urn:sha1:48ad7bbfd53af0d3fe6490a4dd30c169db6f12aa</id>
<content type='text'>
hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.

Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.

Coccinelle scripted cleanup.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>pps: generators: Add PPS Generator TIO Driver</title>
<updated>2025-02-21T09:46:49Z</updated>
<author>
<name>Subramanian Mohan</name>
<email>subramanian.mohan@intel.com</email>
</author>
<published>2025-02-19T04:06:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c89755d1111fa17ecfb69b50c336778a2d37dae4'/>
<id>urn:sha1:c89755d1111fa17ecfb69b50c336778a2d37dae4</id>
<content type='text'>
The Intel Timed IO PPS generator driver outputs a PPS signal using
dedicated hardware that is more accurate than software actuated PPS.
The Timed IO hardware generates output events using the ART timer.
The ART timer period varies based on platform type, but is less than 100
nanoseconds for all current platforms. Timed IO output accuracy is
within 1 ART period.

PPS output is enabled by writing '1' the 'enable' sysfs attribute. The
driver uses hrtimers to schedule a wake-up 10 ms before each event
(edge) target time. At wakeup, the driver converts the target time in
terms of CLOCK_REALTIME to ART trigger time and writes this to the Timed
IO hardware. The Timed IO hardware generates an event precisely at the
requested system time without software involvement.

Co-developed-by: Christopher Hall &lt;christopher.s.hall@intel.com&gt;
Signed-off-by: Christopher Hall &lt;christopher.s.hall@intel.com&gt;
Co-developed-by: Pandith N &lt;pandith.n@intel.com&gt;
Signed-off-by: Pandith N &lt;pandith.n@intel.com&gt;
Co-developed-by: Thejesh Reddy T R &lt;thejesh.reddy.t.r@intel.com&gt;
Signed-off-by: Thejesh Reddy T R &lt;thejesh.reddy.t.r@intel.com&gt;
Signed-off-by: Lakshmi Sowjanya D &lt;lakshmi.sowjanya.d@intel.com&gt;
Reviewed-by: Eddie Dong &lt;eddie.dong@intel.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Rodolfo Giometti &lt;giometti@enneenne.com&gt;
Signed-off-by: Subramanian Mohan &lt;subramanian.mohan@intel.com&gt;
Link: https://lore.kernel.org/r/20250219040618.70962-3-subramanian.mohan@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
