public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LinuxPPS (RESUBMIT 6): the PPS Linux implementation.
@ 2008-08-19 21:50 Rodolfo Giometti
  2008-08-19 21:50 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
  0 siblings, 1 reply; 31+ messages in thread
From: Rodolfo Giometti @ 2008-08-19 21:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, David Woodhouse, Dave Jones, Sam Ravnborg, Greg KH,
	Randy Dunlap, Kay Sievers, Alan Cox

This patch set adds the PPS support into Linux.

PPS means "pulse per second" and its API is specified by RFC 2783
(Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0).

The code has been tested with the NTPD program
(http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS
antennae.

Please, note that since last submit a new line discipline has been added
in order to leave untouched the serial ports code (as suggested by Alan).

Rodolfo

--

 b/Documentation/ABI/testing/sysfs-pps |   73 +++++++
 b/Documentation/ioctl-number.txt      |    2 
 b/Documentation/pps/Makefile          |   28 ++
 b/Documentation/pps/pps.txt           |  172 +++++++++++++++++
 b/Documentation/pps/ppsfind           |   17 +
 b/Documentation/pps/ppsldisc.c        |   46 ++++
 b/Documentation/pps/ppstest.c         |  151 +++++++++++++++
 b/Documentation/pps/timepps.h         |  195 +++++++++++++++++++
 b/Documentation/tty.txt               |    4 
 b/MAINTAINERS                         |    7 
 b/arch/x86/kernel/irq_32.c            |   18 +
 b/arch/x86/kernel/irq_64.c            |   22 ++
 b/drivers/Kconfig                     |    2 
 b/drivers/Makefile                    |    1 
 b/drivers/char/lp.c                   |   61 ++++++
 b/drivers/char/n_tty.c                |   54 +++--
 b/drivers/pps/Kconfig                 |   33 +++
 b/drivers/pps/Makefile                |    8 
 b/drivers/pps/clients/Kconfig         |   18 +
 b/drivers/pps/clients/Makefile        |    9 
 b/drivers/pps/clients/ktimer.c        |  124 ++++++++++++
 b/drivers/pps/clients/pps-ldisc.c     |  154 +++++++++++++++
 b/drivers/pps/kapi.c                  |  322 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c                   |  335 ++++++++++++++++++++++++++++++++++
 b/drivers/pps/sysfs.c                 |  104 ++++++++++
 b/drivers/serial/8250.c               |   13 +
 b/include/linux/Kbuild                |    1 
 b/include/linux/parport.h             |   22 ++
 b/include/linux/pps.h                 |  202 ++++++++++++++++++++
 b/include/linux/serial_core.h         |   10 -
 b/include/linux/tty.h                 |   16 +
 b/include/linux/tty_ldisc.h           |   10 +
 drivers/pps/Kconfig                   |   14 +
 drivers/pps/Makefile                  |    1 
 drivers/pps/clients/Kconfig           |   17 +
 drivers/pps/clients/Makefile          |    1 
 drivers/pps/clients/pps-ldisc.c       |   18 +
 include/linux/pps.h                   |    1 
 include/linux/tty.h                   |    3 
 39 files changed, 2263 insertions(+), 26 deletions(-)



^ permalink raw reply	[flat|nested] 31+ messages in thread
* LinuxPPS (RESUBMIT 7): the PPS Linux implementation.
@ 2008-08-20 13:16 Rodolfo Giometti
  2008-08-20 13:16 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
  0 siblings, 1 reply; 31+ messages in thread
From: Rodolfo Giometti @ 2008-08-20 13:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, David Woodhouse, Dave Jones, Sam Ravnborg, Greg KH,
	Randy Dunlap, Kay Sievers, Alan Cox, H. Peter Anvin, Ingo Molnar

This patch set adds the PPS support into Linux.

PPS means "pulse per second" and its API is specified by RFC 2783
(Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0).

The code has been tested with the NTPD program
(http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS
antennae.

Changelog

RESUBMIT 6 -> 7:

* A new line discipline has been added in order to leave untouched
  the serial ports code (as suggested by Alan).

* n_tty.c exports only GPL symbols.

* ioctl numbers fixed in order to avoid any conflicts.

* Last patch (0010-PPS-low-level-IRQ-timestamps-recording.patch) implements
  low level IRQs timestamps recording which mproves PPS precision but can
  be dropped for kernel inclusion! As suggested by Alan: "After that is
  sorted/merged we can come back to working out the best way to improve
  the IRQ and HARDPPS hacks."

Rodolfo

--

 b/Documentation/ABI/testing/sysfs-pps |   73 +++++++
 b/Documentation/ioctl-number.txt      |    2 
 b/Documentation/pps/Makefile          |   28 ++
 b/Documentation/pps/pps.txt           |  172 +++++++++++++++++
 b/Documentation/pps/ppsfind           |   17 +
 b/Documentation/pps/ppsldisc.c        |   46 ++++
 b/Documentation/pps/ppstest.c         |  151 +++++++++++++++
 b/Documentation/pps/timepps.h         |  195 +++++++++++++++++++
 b/Documentation/tty.txt               |    4 
 b/MAINTAINERS                         |    7 
 b/arch/x86/kernel/irq_32.c            |   17 +
 b/arch/x86/kernel/irq_64.c            |   21 +-
 b/drivers/Kconfig                     |    2 
 b/drivers/Makefile                    |    1 
 b/drivers/char/lp.c                   |   61 ++++++
 b/drivers/char/n_tty.c                |   54 +++--
 b/drivers/pps/Kconfig                 |   33 +++
 b/drivers/pps/Makefile                |    8 
 b/drivers/pps/clients/Kconfig         |   18 +
 b/drivers/pps/clients/Makefile        |    9 
 b/drivers/pps/clients/ktimer.c        |  124 ++++++++++++
 b/drivers/pps/clients/pps-ldisc.c     |  154 +++++++++++++++
 b/drivers/pps/kapi.c                  |  322 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c                   |  335 ++++++++++++++++++++++++++++++++++
 b/drivers/pps/sysfs.c                 |  104 ++++++++++
 b/drivers/serial/8250.c               |   13 +
 b/include/linux/Kbuild                |    1 
 b/include/linux/parport.h             |   22 ++
 b/include/linux/pps.h                 |  202 ++++++++++++++++++++
 b/include/linux/serial_core.h         |   10 -
 b/include/linux/tty.h                 |   16 +
 b/include/linux/tty_ldisc.h           |    8 
 drivers/pps/Kconfig                   |   14 +
 drivers/pps/Makefile                  |    1 
 drivers/pps/clients/Kconfig           |   17 +
 drivers/pps/clients/Makefile          |    1 
 include/linux/pps.h                   |    1 
 include/linux/serial_core.h           |    7 
 include/linux/tty.h                   |    3 
 39 files changed, 2247 insertions(+), 27 deletions(-)



^ permalink raw reply	[flat|nested] 31+ messages in thread
* LinuxPPS (RESUBMIT 7): the PPS Linux implementation.
@ 2008-09-10  7:52 Rodolfo Giometti
  2008-09-10  7:52 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
  0 siblings, 1 reply; 31+ messages in thread
From: Rodolfo Giometti @ 2008-09-10  7:52 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, David Woodhouse, Dave Jones, Sam Ravnborg, Greg KH,
	Randy Dunlap, Kay Sievers, Alan Cox, H. Peter Anvin, Ingo Molnar

This patch set adds the PPS support into Linux.

PPS means "pulse per second" and its API is specified by RFC 2783
(Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0).

The code has been tested with the NTPD program
(http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS
antennae.

Changelog

RESUBMIT 6 -> 7:

* A new line discipline has been added in order to leave untouched
  the serial ports code (as suggested by Alan).

* n_tty.c exports only GPL symbols.

* ioctl numbers fixed in order to avoid any conflicts.

* Last patch (0010-PPS-low-level-IRQ-timestamps-recording.patch) implements
  low level IRQs timestamps recording which mproves PPS precision but can
  be dropped for kernel inclusion! As suggested by Alan: "After that is
  sorted/merged we can come back to working out the best way to improve
  the IRQ and HARDPPS hacks."

Rodolfo

--

 b/Documentation/ABI/testing/sysfs-pps |   73 +++++++
 b/Documentation/ioctl-number.txt      |    2
 b/Documentation/pps/Makefile          |   28 ++
 b/Documentation/pps/pps.txt           |  172 +++++++++++++++++
 b/Documentation/pps/ppsfind           |   17 +
 b/Documentation/pps/ppsldisc.c        |   46 ++++
 b/Documentation/pps/ppstest.c         |  151 +++++++++++++++
 b/Documentation/pps/timepps.h         |  195 +++++++++++++++++++
 b/Documentation/tty.txt               |    4
 b/MAINTAINERS                         |    7
 b/arch/x86/kernel/irq_32.c            |   17 +
 b/arch/x86/kernel/irq_64.c            |   21 +-
 b/drivers/Kconfig                     |    2
 b/drivers/Makefile                    |    1
 b/drivers/char/lp.c                   |   61 ++++++
 b/drivers/char/n_tty.c                |   54 +++--
 b/drivers/pps/Kconfig                 |   33 +++
 b/drivers/pps/Makefile                |    8
 b/drivers/pps/clients/Kconfig         |   18 +
 b/drivers/pps/clients/Makefile        |    9
 b/drivers/pps/clients/ktimer.c        |  124 ++++++++++++
 b/drivers/pps/clients/pps-ldisc.c     |  154 +++++++++++++++
 b/drivers/pps/kapi.c                  |  322 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c                   |  335 ++++++++++++++++++++++++++++++++++
 b/drivers/pps/sysfs.c                 |  104 ++++++++++
 b/drivers/serial/8250.c               |   13 +
 b/include/linux/Kbuild                |    1
 b/include/linux/parport.h             |   22 ++
 b/include/linux/pps.h                 |  202 ++++++++++++++++++++
 b/include/linux/serial_core.h         |   10 -
 b/include/linux/tty.h                 |   16 +
 b/include/linux/tty_ldisc.h           |    8
 drivers/pps/Kconfig                   |   14 +
 drivers/pps/Makefile                  |    1
 drivers/pps/clients/Kconfig           |   17 +
 drivers/pps/clients/Makefile          |    1
 include/linux/pps.h                   |    1
 include/linux/serial_core.h           |    7
 include/linux/tty.h                   |    3
 39 files changed, 2247 insertions(+), 27 deletions(-)



^ permalink raw reply	[flat|nested] 31+ messages in thread
* LinuxPPS (RESUBMIT 7): the PPS Linux implementation.
@ 2008-10-02  7:41 Rodolfo Giometti
  2008-10-02  7:41 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
  0 siblings, 1 reply; 31+ messages in thread
From: Rodolfo Giometti @ 2008-10-02  7:41 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, David Woodhouse, Dave Jones, Sam Ravnborg, Greg KH,
	Randy Dunlap, Kay Sievers, Alan Cox, H. Peter Anvin, Ingo Molnar

This patch set adds the PPS support into Linux.

PPS means "pulse per second" and its API is specified by RFC 2783
(Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0).

The code has been tested with the NTPD program
(http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS
antennae.

Changelog

RESUBMIT 6 -> 7:

* A new line discipline has been added in order to leave untouched
  the serial ports code (as suggested by Alan).

* n_tty.c exports only GPL symbols.

* ioctl numbers fixed in order to avoid any conflicts.

* Last patch (0010-PPS-low-level-IRQ-timestamps-recording.patch) implements
  low level IRQs timestamps recording which mproves PPS precision but can
  be dropped for kernel inclusion! As suggested by Alan: "After that is
  sorted/merged we can come back to working out the best way to improve
  the IRQ and HARDPPS hacks."

Rodolfo

--

 b/Documentation/ABI/testing/sysfs-pps |   73 +++++++
 b/Documentation/ioctl-number.txt      |    2 
 b/Documentation/pps/Makefile          |   28 ++
 b/Documentation/pps/pps.txt           |  172 +++++++++++++++++
 b/Documentation/pps/ppsfind           |   17 +
 b/Documentation/pps/ppsldisc.c        |   46 ++++
 b/Documentation/pps/ppstest.c         |  151 +++++++++++++++
 b/Documentation/pps/timepps.h         |  195 +++++++++++++++++++
 b/Documentation/tty.txt               |    4 
 b/MAINTAINERS                         |    7 
 b/arch/x86/kernel/irq_32.c            |   17 +
 b/arch/x86/kernel/irq_64.c            |   21 +-
 b/drivers/Kconfig                     |    2 
 b/drivers/Makefile                    |    1 
 b/drivers/char/lp.c                   |   61 ++++++
 b/drivers/char/n_tty.c                |   54 +++--
 b/drivers/pps/Kconfig                 |   33 +++
 b/drivers/pps/Makefile                |    8 
 b/drivers/pps/clients/Kconfig         |   18 +
 b/drivers/pps/clients/Makefile        |    9 
 b/drivers/pps/clients/ktimer.c        |  124 ++++++++++++
 b/drivers/pps/clients/pps-ldisc.c     |  154 +++++++++++++++
 b/drivers/pps/kapi.c                  |  322 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c                   |  335 ++++++++++++++++++++++++++++++++++
 b/drivers/pps/sysfs.c                 |  104 ++++++++++
 b/drivers/serial/8250.c               |   13 +
 b/include/linux/Kbuild                |    1 
 b/include/linux/parport.h             |   22 ++
 b/include/linux/pps.h                 |  202 ++++++++++++++++++++
 b/include/linux/serial_core.h         |   10 -
 b/include/linux/tty.h                 |   16 +
 b/include/linux/tty_ldisc.h           |    8 
 drivers/pps/Kconfig                   |   14 +
 drivers/pps/Makefile                  |    1 
 drivers/pps/clients/Kconfig           |   17 +
 drivers/pps/clients/Makefile          |    1 
 include/linux/pps.h                   |    1 
 include/linux/serial_core.h           |    7 
 include/linux/tty.h                   |    3 
 39 files changed, 2247 insertions(+), 27 deletions(-)



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

end of thread, other threads:[~2008-10-02 15:59 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 21:50 LinuxPPS (RESUBMIT 6): the PPS Linux implementation Rodolfo Giometti
2008-08-19 21:50 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
2008-08-19 21:50   ` [PATCH 02/10] PPS: userland header file for PPS API Rodolfo Giometti
2008-08-19 21:50     ` [PATCH 03/10] PPS: documentation programs and examples Rodolfo Giometti
2008-08-19 21:50       ` [PATCH 04/10] PPS: LinuxPPS clients support Rodolfo Giometti
2008-08-19 21:50         ` [PATCH 05/10] ldisc: new dcd_change() method for line disciplines Rodolfo Giometti
2008-08-19 21:50           ` [PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods Rodolfo Giometti
2008-08-19 21:50             ` [PATCH 07/10] tty: new PPS line discipline Rodolfo Giometti
2008-08-19 21:50               ` [PATCH 08/10] PPS: serial clients support Rodolfo Giometti
2008-08-19 21:50                 ` [PATCH 09/10] PPS: low level IRQ timestamps recording Rodolfo Giometti
2008-08-19 21:50                   ` [PATCH 10/10] PPS: parallel port clients support Rodolfo Giometti
2008-08-20 10:31                   ` [PATCH 09/10] PPS: low level IRQ timestamps recording Ingo Molnar
2008-08-19 21:56                 ` [PATCH 08/10] PPS: serial clients support Alan Cox
2008-08-19 21:54               ` [PATCH 07/10] tty: new PPS line discipline Alan Cox
2008-08-19 21:58             ` [PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods Alan Cox
2008-08-19 21:53           ` [PATCH 05/10] ldisc: new dcd_change() method for line disciplines Alan Cox
2008-08-19 22:49             ` Rodolfo Giometti
2008-08-19 22:38               ` Alan Cox
2008-08-19 23:05                 ` Rodolfo Giometti
2008-08-20  8:53                   ` Rodolfo Giometti
2008-08-20 10:11                     ` Alan Cox
2008-08-20 13:01                       ` Rodolfo Giometti
2008-08-20 13:48                         ` Ingo Molnar
2008-08-20 14:05                           ` Rodolfo Giometti
2008-08-19 23:22   ` [PATCH 01/10] LinuxPPS core support H. Peter Anvin
2008-08-20  9:13     ` Rodolfo Giometti
  -- strict thread matches above, loose matches on Subject: below --
2008-08-20 13:16 LinuxPPS (RESUBMIT 7): the PPS Linux implementation Rodolfo Giometti
2008-08-20 13:16 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
2008-08-20 13:16   ` [PATCH 02/10] PPS: userland header file for PPS API Rodolfo Giometti
2008-08-20 13:16     ` [PATCH 03/10] PPS: documentation programs and examples Rodolfo Giometti
2008-08-20 13:16       ` [PATCH 04/10] PPS: LinuxPPS clients support Rodolfo Giometti
2008-08-20 13:16         ` [PATCH 05/10] ldisc: new dcd_change() method for line disciplines Rodolfo Giometti
2008-09-10  7:52 LinuxPPS (RESUBMIT 7): the PPS Linux implementation Rodolfo Giometti
2008-09-10  7:52 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
2008-09-10  7:52   ` [PATCH 02/10] PPS: userland header file for PPS API Rodolfo Giometti
2008-09-10  7:52     ` [PATCH 03/10] PPS: documentation programs and examples Rodolfo Giometti
2008-09-10  7:52       ` [PATCH 04/10] PPS: LinuxPPS clients support Rodolfo Giometti
2008-09-10  7:52         ` [PATCH 05/10] ldisc: new dcd_change() method for line disciplines Rodolfo Giometti
2008-10-02  7:41 LinuxPPS (RESUBMIT 7): the PPS Linux implementation Rodolfo Giometti
2008-10-02  7:41 ` [PATCH 01/10] LinuxPPS core support Rodolfo Giometti
2008-10-02  7:41   ` [PATCH 02/10] PPS: userland header file for PPS API Rodolfo Giometti
2008-10-02  7:41     ` [PATCH 03/10] PPS: documentation programs and examples Rodolfo Giometti
2008-10-02  7:41       ` [PATCH 04/10] PPS: LinuxPPS clients support Rodolfo Giometti
2008-10-02  7:41         ` [PATCH 05/10] ldisc: new dcd_change() method for line disciplines Rodolfo Giometti
2008-10-02 15:25           ` H. Peter Anvin
2008-10-02 15:58             ` Alan Cox

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