lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZYRnJlLJOYqlZSP0@smile.fi.intel.com>
Date: Thu, 21 Dec 2023 18:26:14 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: lakshmi.sowjanya.d@...el.com
Cc: tglx@...utronix.de, jstultz@...gle.com, giometti@...eenne.com,
	corbet@....net, linux-kernel@...r.kernel.org, x86@...nel.org,
	netdev@...r.kernel.org, linux-doc@...r.kernel.org,
	intel-wired-lan@...ts.osuosl.org, eddie.dong@...el.com,
	christopher.s.hall@...el.com, jesse.brandeburg@...el.com,
	davem@...emloft.net, alexandre.torgue@...s.st.com,
	joabreu@...opsys.com, mcoquelin.stm32@...il.com, perex@...ex.cz,
	linux-sound@...r.kernel.org, anthony.l.nguyen@...el.com,
	pandith.n@...el.com, mallikarjunappa.sangannavar@...el.com,
	thejesh.reddy.t.r@...el.com
Subject: Re: [RFC PATCH v2 08/10] pps: generators: Add PPS Generator TIO
 Driver

On Thu, Dec 21, 2023 at 03:02:52PM +0530, lakshmi.sowjanya.d@...el.com wrote:
> From: Lakshmi Sowjanya D <lakshmi.sowjanya.d@...el.com>
> 
> 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.

...

> +#include <linux/bits.h>
> +#include <linux/bitfield.h>
> +#include <linux/cleanup.h>

+ container_of.h

> +#include <linux/cpu.h>

+ device.h
+ err.h
+ hrtimer.h

> +#include <linux/io-64-nonatomic-hi-lo.h>

+ kstrtox.h

> +#include <linux/mod_devicetable.h>
> +#include <linux/module.h>
> +#include <linux/platform_device.h>

+ spinlock.h
+ sysfs.h

> +#include <linux/timekeeping.h>
> +#include <linux/types.h>

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ