Skip to content

changed some patches

Alexander Gordeev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v7 Latest6 of 16 patches 2 repliesIn review

Changes in v7 from the cover letter

* fixed issues pointaed out by Andrew Morton:
* convert pps_idr_lock to mutex and protect idr_pre_get
* comment usage of local_irq_save()/local_irq_restore() in pps_parport and pps_gen_parport
* don't allow NTP_PPS and NO_HZ at the same time
* allow to select generators if PPS is not selected
* disable as much code related to kernel consumer as possible if NTP_PPS is not selected
* extract kernel consumer code to drivers/pps/kc.{c,h}

6 of 16 patches are in this archive. The cover letter announces 16.

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
8/16pps: make idr lock a mutex and protect idr_pre_getdrivers/pps/pps.c+11 -80 replies
12/16ntp: add hardpps implementationdrivers/pps/Kconfig include/linux/timex.h kernel/time/ntp.c+420 -150 replies
13/16pps: capture MONOTONIC_RAW timestamps as wellinclude/linux/pps_kernel.h include/linux/time.h kernel/time/timekeeping.c+59 -00 replies
14/16pps: add kernel consumer supportDocumentation/ioctl/ioctl-number.txt drivers/pps/Makefile drivers/pps/kapi.c +4 more+222 -20 replies
15/16pps: add parallel port PPS clientdrivers/pps/clients/Kconfig drivers/pps/clients/Makefile drivers/pps/clients/pps_parport.c+266 -00 replies
16/16pps: add parallel port PPS signal generatorDocumentation/pps/pps.txt drivers/pps/Kconfig drivers/pps/Makefile +3 more+353 -12 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchJohn StultzRodolfo Giometti
8/16
12/16A-b
13/16A-b
14/16
15/16A-b
16/16A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCHv7 00/16] changed some patches

I'm sending only the patches that were changed.

Changelog
v6 -> v7:
* fixed issues pointaed out by Andrew Morton:
* convert pps_idr_lock to mutex and protect idr_pre_get
* comment usage of local_irq_save()/local_irq_restore() in pps_parport and pps_gen_parport
* don't allow NTP_PPS and NO_HZ at the same time
* allow to select generators if PPS is not selected
* disable as much code related to kernel consumer as possible if NTP_PPS is not selected
* extract kernel consumer code to drivers/pps/kc.{c,h}

Alexander Gordeev (16):
pps: trivial fixes
pps: declare variables where they are used in switch
pps: fix race in PPS_FETCH handler
pps: unify timestamp gathering
pps: access pps device by direct pointer
pps: convert printk/pr_* to dev_*
pps: move idr stuff to pps.c
pps: make idr lock a mutex and protect idr_pre_get
pps: use BUG_ON for kernel API safety checks
pps: simplify conditions a bit
pps: timestamp is always passed to dcd_change()
ntp: add hardpps implementation
pps: capture MONOTONIC_RAW timestamps as well
pps: add kernel consumer support
pps: add parallel port PPS client
pps: add parallel port PPS signal generator

 Documentation/ioctl/ioctl-number.txt     |    2 +-
 Documentation/pps/pps.txt                |   46 ++++
 Documentation/serial/tty.txt             |    2 +-
 drivers/pps/Kconfig                      |   11 +
 drivers/pps/Makefile                     |    3 +-
 drivers/pps/clients/Kconfig              |    7 +
 drivers/pps/clients/Makefile             |    1 +
 drivers/pps/clients/pps-ktimer.c         |   44 ++--
 drivers/pps/clients/pps-ldisc.c          |   59 ++--
 drivers/pps/clients/pps_parport.c        |  258 ++++++++++++++++++
 drivers/pps/generators/Kconfig           |   13 +
 drivers/pps/generators/Makefile          |    9 +
 drivers/pps/generators/pps_gen_parport.c |  282 ++++++++++++++++++++
 drivers/pps/kapi.c                       |  210 ++++-----------
 drivers/pps/kc.c                         |  123 +++++++++
 drivers/pps/kc.h                         |   47 ++++
 drivers/pps/pps.c                        |  156 +++++++++---
 include/linux/pps.h                      |    7 +
 include/linux/pps_kernel.h               |   61 ++++-
 include/linux/serial_core.h              |    5 +-
 include/linux/time.h                     |    2 +
 include/linux/timex.h                    |    1 +
 include/linux/tty_ldisc.h                |    7 +-
 kernel/time/ntp.c                        |  425 ++++++++++++++++++++++++++++-
 kernel/time/timekeeping.c                |   43 +++
 25 files changed, 1534 insertions(+), 290 deletions(-)
 create mode 100644 drivers/pps/clients/pps_parport.c
 create mode 100644 drivers/pps/generators/Kconfig
 create mode 100644 drivers/pps/generators/Makefile
 create mode 100644 drivers/pps/generators/pps_gen_parport.c
 create mode 100644 drivers/pps/kc.c
 create mode 100644 drivers/pps/kc.h
Signature · 1 line
1.7.2.3