RE: Intel timed i/o driver in HTE
"N, Pandith" <[email protected]> Fri, 2 Dec 2022 03:00:29 +0000
| Newsgroups | dev.linux.lists.timestamp,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <BYAPR11MB324034C53D14D8F7E332A3C5E1179@BYAPR11MB3240.namprd11.prod.outlook.com> |
> -----Original Message----- > From: Dipen Patel <[email protected]> > Sent: Wednesday, November 30, 2022 8:54 AM > To: Linus Walleij <[email protected]>; N, Pandith > <[email protected]> > Cc: [email protected]; Hall, Christopher S > <[email protected]>; Gross, Mark <[email protected]>; > Sangannavar, Mallikarjunappa <[email protected]>; > D, Lakshmi Sowjanya <[email protected]>; T R, Thejesh Reddy > <[email protected]>; [email protected]; > [email protected] > Subject: Re: Intel timed i/o driver in HTE > > On 11/23/22 1:22 PM, Linus Walleij wrote: > > On Wed, Nov 23, 2022 at 3:38 PM N, Pandith <[email protected]> > wrote: > > > >> Since the current gpio framework is inadequate to periodic output > modes. > >> I thought to disentangle from gpio and develop a new hte consumer. > >> Something like hte-libcdev.c > > > > Maybe, if Dipen wants it. > > Or maybe it needs its own subsystem. > > Or maybe it should be with whatever is using these pulse trains. > > > Few things I want to know from Pandith as below: > 1. Does timed io only meant for GPIO or other signals? if other signals, what > type of signals? This could be time sync signals or periodic/single pulse input for timestamp support > 2. In the output mode case where for example, timed io IP outputs 1ms GPIO > pulse, does it also timestamp it for consumers to retrieve later? No. In output mode, either single shot or periodic pulse train is generated. But timed i/o does keep timestamp data in input mode. > 3. Can you share rough idea you have in mind for the hte-libcdev? a. This layer can provide ioctl based user interactions for timestamp services (input and output mode) b. char device creation for timestamping hardware. Something like /dev/hteX c. Develop a native hte consumer, which handles user space interactions of hte subsystem > > > Again: what is it used for? If we have no idea what it is supposed to > > be used for, we cannot place it right, even less test it. > I think it can possibly act as time sync server as one of the use case. > > > > Yours, > > Linus Walleij