mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Intel timed i/o driver in HTE
@ 2022-11-17 18:47 N, Pandith
  2022-11-19  2:33 ` Dipen Patel
  0 siblings, 1 reply; 12+ messages in thread
From: N, Pandith @ 2022-11-17 18:47 UTC (permalink / raw)
  To: Dipen Patel
  Cc: linux-kernel, Hall, Christopher S, Gross, Mark, Sangannavar,
	Mallikarjunappa, D, Lakshmi Sowjanya, T R, Thejesh Reddy,
	andriy.shevchenko

Hi Dipen,

To support Intel timed i/o driver, it was suggested by Linux community to enhance hte framework.
However, we see some limitations to support complete Intel timed i/o device.

1. The current framework supports Nvidia IP, which has two IP blocks (hw timestamping engine interfaced with GPIO)
Intel timed i/o is a single IP block handling multiple functionalities like:

	a. Input timestamping with event counter.
	b. Timed output  - single shot or periodic pulse train.
	Uses TSC(Timestamp counter) for timestamp or generate events, which could be translated to system time.
	c. Implement PPS functionality to export time.

This requires new functionality(interface) to be developed in hte framework specific to timed-io device.

2. The current hte framework has a provider and consumer concept.
Consumer is responsible for user space interaction.
Currently Nvidia is using GPIO for input timestamping  (by adding hw timestamps in gpiolib-cdev.c)

For Intel timed i/o functionalities, current gpio user interfaces cannot support event counter
or output modes.
Rather than jigging hte consumer into other subsystems to support timed i/o device. 
Any possibility of developing a native consumer in hte subsystem, which could handle user space interactions for timestamping engines.

I cannot think of an existing subsystem that handles Intel timed i/o functionalities 1a, 1b and 1c (mentioned above).

Regards,
Pandith





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-12-08 22:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 18:47 Intel timed i/o driver in HTE N, Pandith
2022-11-19  2:33 ` Dipen Patel
2022-11-20 22:33   ` Linus Walleij
2022-11-23 14:37   ` N, Pandith
2022-11-23 21:22     ` Linus Walleij
2022-11-29 18:10       ` N, Pandith
2022-11-30  9:00         ` Linus Walleij
2022-11-30  3:24       ` Dipen Patel
2022-12-02  3:00         ` N, Pandith
2022-12-03  9:49           ` Linus Walleij
2022-12-08  4:52             ` Hall, Christopher S
2022-12-08 22:10               ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®