From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <53C84C7B.3060903@xenomai.org> Date: Fri, 18 Jul 2014 00:21:47 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <20140707160239.GF13423@lukather> <53BAC5C4.5060704@xenomai.org> <20140708125505.GN13423@lukather> <53BC2AB5.4050801@xenomai.org> <20140710150540.GE27469@lukather> <53BEC794.6090208@xenomai.org> <20140716161801.GA20328@lukather> <53C6D6DA.3060303@xenomai.org> <20140717101807.GC20328@lukather> <53C7AB52.609@xenomai.org> <20140717115915.GD20328@lukather> In-Reply-To: <20140717115915.GD20328@lukather> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [PATCH] AT91: SAMA5D3: Adapt Ipipe for AIC5 List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Maxime Ripard Cc: Thomas Petazzoni , Nicolas Ferre , Boris Brezillon , Alexandre Belloni , xenomai@xenomai.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/17/2014 01:59 PM, Maxime Ripard wrote: > On Thu, Jul 17, 2014 at 12:54:10PM +0200, Gilles Chanteperdrix > wrote: >>> Which brings an extra question about this. Is the timer >>> calibration supposed to get a minimum latency to 0 (meaning >>> that with a properly calibrated timer, we would only get >>> positive latencies), or that the average latency should be >>> around 0 (which would mean that negative latencies would >>> actually be frequent, but would break the clock_nanosleep >>> documented behaviour). >>> >>> I'm actually seeing the former, but trying the latter only >>> brings us quite close to having the calibration disabled >>> entirely. >> >> The calibration is left entirely to the user, so, you choose what >> is best for your application. But indeed, if your application >> relies on clock_nanosleep documented behaviour (should never >> wake-up early except in case of signal), you want to set >> /proc/xenomai/latency value to the minimum value measured by the >> latency test, minus a safety margin. > > Ok, thanks! > > I guess you can add my Tested-by tag to your patch, if that makes > any sense for Xenomai. We do not consistently use the signed-off mechanism, but I have added your Tested-by anyway, thanks. - -- Gilles. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iD8DBQFTyEx6GpcgE6m/fboRArMCAJ4396+Bx1OWjJarJtUYFANN2qs7VACfbkNK 0t/vZA4zO0W8kfv6cVGVA48= =OODg -----END PGP SIGNATURE-----