linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: "N, Pandith" <pandith.n@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Sangannavar,
	Mallikarjunappa"  <mallikarjunappa.sangannavar@intel.com>,
	"D, Lakshmi Sowjanya" <lakshmi.sowjanya.d@intel.com>,
	"T R, Thejesh Reddy" <thejesh.reddy.t.r@intel.com>,
	"Hall, Christopher S" <christopher.s.hall@intel.com>,
	"Gross, Mark" <mark.gross@intel.com>,
	"andriy.shevchenko@linux.intel.com" 
	<andriy.shevchenko@linux.intel.com>
Subject: Re: PPS functionality for Intel Timed I/O
Date: Fri, 6 Oct 2023 08:23:09 +0200	[thread overview]
Message-ID: <8ca736c3-7da9-2599-7e55-15e2fc9fedc2@enneenne.com> (raw)
In-Reply-To: <BYAPR11MB32405694C3C9A1DE083EA673E1C9A@BYAPR11MB3240.namprd11.prod.outlook.com>

On 06/10/23 07:31, N, Pandith wrote:
> Hi,

Hello.

>> -----Original Message-----
>> From: Rodolfo Giometti <giometti@enneenne.com>
>> Sent: Wednesday, February 15, 2023 1:16 PM
>> To: N, Pandith <pandith.n@intel.com>
>> Cc: linux-kernel@vger.kernel.org; Sangannavar, Mallikarjunappa
>> <mallikarjunappa.sangannavar@intel.com>; D, Lakshmi Sowjanya
>> <lakshmi.sowjanya.d@intel.com>; T R, Thejesh Reddy
>> <thejesh.reddy.t.r@intel.com>; Hall, Christopher S
>> <christopher.s.hall@intel.com>; Gross, Mark <mark.gross@intel.com>
>> Subject: Re: PPS functionality for Intel Timed I/O
>>
>> On 15/02/23 08:09, N, Pandith wrote:
>>> Hi Rodolfo,
>>
>> Hello.
>>
>>>> -----Original Message-----
>>>> From: Rodolfo Giometti <giometti@enneenne.com>
>>>> Sent: Monday, February 6, 2023 4:17 PM
>>>> To: N, Pandith <pandith.n@intel.com>
>>>> Cc: linux-kernel@vger.kernel.org; Sangannavar, Mallikarjunappa
>>>> <mallikarjunappa.sangannavar@intel.com>; D, Lakshmi Sowjanya
>>>> <lakshmi.sowjanya.d@intel.com>; T R, Thejesh Reddy
>>>> <thejesh.reddy.t.r@intel.com>; Hall, Christopher S
>>>> <christopher.s.hall@intel.com>
>>>> Subject: Re: PPS functionality for Intel Timed I/O
>>
>> [snip]
>>
>>>> Mmm... I'm not sure this is correct since PPS generators should
>>>> generate their pulses according to system clock and not according to
>>>> their internal clocks even if they are synced with the system clock.
>>>>
>>> Timed I/O and system time are both driven by the *same* hardware clock.
>>> Timed I/O is a high precision device (nanoseconds), able to output pulses.
>>> The driver gets the system time and schedules output at target_time in
>>> the future.
>>
>> OK, in this case it would be OK. Please put an appropriate note within the
>> generator's code and a detailed one within Documentation/driver-api/pps.rst.
>>
>> Regarding Documentation/driver-api/pps.rst let me suggest you to prose a
>> separate patch to rewrite the Generators section in such a way you easily can add
>> your solution at the end. A possible example is attached but feel free to rewrite it
>> according to your needs.
>>
> Ok, we are updating documentation as you have suggested as a separate patch.
> Can we use your "Signed-off-by" tag for attached patch.

If you just followed my suggestion then it's OK for me.

> We are adding Intel timed I/O documentation as a separate patch.

OK.

Ciao,

Rodolfo Giometti

-- 
GNU/Linux Solutions                  e-mail: giometti@enneenne.com
Linux Device Driver                          giometti@linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti


  reply	other threads:[~2023-10-06  6:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 12:55 PPS functionality for Intel Timed I/O N, Pandith
2023-01-30 13:45 ` Rodolfo Giometti
2023-01-30 14:11   ` N, Pandith
2023-01-30 14:26     ` Rodolfo Giometti
2023-02-06 10:16       ` N, Pandith
2023-02-06 10:46         ` Rodolfo Giometti
2023-02-15  7:09           ` N, Pandith
2023-02-15  7:46             ` Rodolfo Giometti
2023-10-06  5:31               ` N, Pandith
2023-10-06  6:23                 ` Rodolfo Giometti [this message]
2023-10-06  8:34                   ` andriy.shevchenko
2023-10-06  8:34                     ` andriy.shevchenko
2023-10-06  8:57                       ` Rodolfo Giometti
2023-10-06  9:06                         ` andriy.shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ca736c3-7da9-2599-7e55-15e2fc9fedc2@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=christopher.s.hall@intel.com \
    --cc=lakshmi.sowjanya.d@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mallikarjunappa.sangannavar@intel.com \
    --cc=mark.gross@intel.com \
    --cc=pandith.n@intel.com \
    --cc=thejesh.reddy.t.r@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).