changed some patches
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 8/16 | pps: make idr lock a mutex and protect idr_pre_getdrivers/ | +11 | 0 replies | |
| 12/16 | ntp: add hardpps implementationdrivers/ include/ kernel/ | +420 | 0 replies | |
| 13/16 | pps: capture MONOTONIC_RAW timestamps as wellinclude/ include/ kernel/ | +59 | 0 replies | |
| 14/16 | pps: add kernel consumer supportDocumentation/ drivers/ drivers/ +4 more | +222 | 0 replies | |
| 15/16 | pps: add parallel port PPS clientdrivers/ drivers/ drivers/ | +266 | 0 replies | |
| 16/16 | pps: add parallel port PPS signal generatorDocumentation/ drivers/ drivers/ +3 more | +353 | 2 replies |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | John Stultz | Rodolfo Giometti |
|---|---|---|
| 8/16 | ||
| 12/16 | A-b | |
| 13/16 | A-b | |
| 14/16 | ||
| 15/16 | A-b | |
| 16/16 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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