All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded] pps-add-parallel-port-pps-client-v7.patch removed from -mm tree
@ 2011-01-13  0:27 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-01-13  0:27 UTC (permalink / raw)
  To: lasaine, giometti, mm-commits


The patch titled
     pps: add parallel port PPS client
has been removed from the -mm tree.  Its filename was
     pps-add-parallel-port-pps-client-v7.patch

This patch was dropped because it was folded into pps-add-parallel-port-pps-client.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: pps: add parallel port PPS client
From: Alexander Gordeev <lasaine@lvk.cs.msu.su>

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/pps/clients/pps_parport.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff -puN drivers/pps/clients/pps_parport.c~pps-add-parallel-port-pps-client-v7 drivers/pps/clients/pps_parport.c
--- a/drivers/pps/clients/pps_parport.c~pps-add-parallel-port-pps-client-v7
+++ a/drivers/pps/clients/pps_parport.c
@@ -79,6 +79,17 @@ static void parport_irq(void *handle)
 		goto out_assert;
 
 	/* try capture the clear edge */
+
+	/* We have to disable interrupts here. The idea is to prevent
+	 * other interrupts on the same processor to introduce random
+	 * lags while polling the port. Reading from IO port is known
+	 * to take approximately 1us while other interrupt handlers can
+	 * take much more potentially.
+	 *
+	 * Interrupts won't be disabled for a long time because the
+	 * number of polls is limited by clear_wait parameter which is
+	 * kept rather low. So it should never be an issue.
+	 */
 	local_irq_save(flags);
 	/* check the signal (no signal means the pulse is lost this time) */
 	if (!signal_is_set(port)) {
_

Patches currently in -mm which might be from lasaine@lvk.cs.msu.su are

pps-trivial-fixes.patch
pps-declare-variables-where-they-are-used-in-switch.patch
pps-fix-race-in-pps_fetch-handler.patch
pps-unify-timestamp-gathering.patch
pps-access-pps-device-by-direct-pointer.patch
pps-convert-printk-pr_-to-dev_.patch
pps-move-idr-stuff-to-ppsc.patch
pps-make-idr-lock-a-mutex-and-protect-idr_pre_get.patch
pps-use-bug_on-for-kernel-api-safety-checks.patch
pps-simplify-conditions-a-bit.patch
pps-timestamp-is-always-passed-to-dcd_change.patch
ntp-add-hardpps-implementation.patch
pps-capture-monotonic_raw-timestamps-as-well.patch
pps-add-kernel-consumer-support.patch
pps-add-parallel-port-pps-client.patch
pps-add-parallel-port-pps-signal-generator.patch
pps-add-parallel-port-pps-signal-generator-fix.patch
pps-add-parallel-port-pps-signal-generator-v7.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-13  0:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13  0:27 [folded] pps-add-parallel-port-pps-client-v7.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.