aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/clocksource.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-21clocksource: Scale the watchdog read retries automaticallyFeng Tang1-6/+4
2024-02-07clocksource: Make clocksource_subsys constRicardo B. Marliere1-1/+1
2024-01-25clocksource: Skip watchdog check for large watchdog intervalsJiri Wiesner1-1/+24
2023-07-14clocksource: Handle negative skews in "skew is too large" messagesPaul E. McKenney1-4/+4
2023-06-01clocksource: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-01-24clocksource: Suspend the watchdog temporarily when high read latency detectedFeng Tang1-13/+32
2023-01-05clocksource: Improve "skew is too large" messagesPaul E. McKenney1-0/+8
2023-01-03clocksource: Improve read-back-delay messagePaul E. McKenney1-2/+2
2023-01-03clocksource: Loosen clocksource watchdog constraintsPaul E. McKenney1-6/+9
2023-01-03clocksource: Print clocksource name when clocksource is tested unstableYunying Sun1-2/+2
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-04-10clocksource: Replace cpumask_weight() with cpumask_empty()Yury Norov1-1/+1
2022-02-01clocksource: Add a Kconfig option for WATCHDOG_MAX_SKEWWaiman Long1-1/+7
2022-01-23Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linuxLinus Torvalds1-2/+2
2022-01-15cpumask: replace cpumask_next_* with cpumask_first_* where appropriateYury Norov1-2/+2
2021-11-30clocksource: Reduce the default clocksource_watchdog() retries to 2Waiman Long1-1/+1
2021-11-30clocksource: Avoid accidental unstable marking of clocksourcesWaiman Long1-9/+41
2021-08-10clocksource: Replace deprecated CPU-hotplug functions.Sebastian Andrzej Siewior1-3/+3
2021-06-22clocksource: Print deviation in nanoseconds when a clocksource becomes unstableFeng Tang1-4/+4
2021-06-22clocksource: Provide kernel module to test clocksource watchdogPaul E. McKenney1-2/+4
2021-06-22clocksource: Reduce clocksource-skew thresholdPaul E. McKenney1-10/+38
2021-06-22clocksource: Limit number of CPUs checked for clock synchronizationPaul E. McKenney1-2/+72
2021-06-22clocksource: Check per-CPU clock synchronization when marked unstablePaul E. McKenney1-0/+60
2021-06-22clocksource: Retry clock read if long delays detectedPaul E. McKenney1-6/+47
2021-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+2
2021-04-07time: Add mechanism to recognize clocksource in time_get_snapshotThomas Gleixner1-0/+2
2021-03-22timekeeping, clocksource: Fix various typos in commentsIngo Molnar1-2/+2
2020-10-30timekeeping: remove arch_gettimeoffsetArnd Bergmann1-8/+0
2020-06-09clocksource: Remove obsolete ifdefThomas Gleixner1-2/+0
2020-02-17clocksource: Add common vdso clock mode storageThomas Gleixner1-0/+9
2020-02-01clocksource: Prevent double add_timer_on() for watchdog_timerKonstantin Khlebnikov1-2/+9
2019-06-14clocksource: Move inline keyword to the beginning of function declarationsMathieu Malaterre1-2/+2
2018-11-23time: Remove license boilerplateThomas Gleixner1-14/+0
2018-11-23time: Add SPDX license identifiersThomas Gleixner1-0/+1
2018-11-23time: Remove useless filenames in top level commentsThomas Gleixner1-5/+0
2018-10-04clocksource: Provide clocksource_arch_init()Thomas Gleixner1-0/+2
2018-09-06clocksource: Revert "Remove kthread"Peter Zijlstra1-10/+30
2018-07-19time: Introduce one suspend clocksource to compensate the suspend timeBaolin Wang1-0/+149
2018-05-16clocksource: Move inline keyword to the beginning of function declarationsMathieu Malaterre1-2/+2
2018-05-02clocksource: Remove kthreadPeter Zijlstra1-21/+10
2018-05-02clocksource: Rework stale commentPeter Zijlstra1-4/+2
2018-05-02clocksource: Consistent de-rate when marking unstablePeter Zijlstra1-1/+8
2018-05-02clocksource: Initialize cs->wd_listPeter Zijlstra1-0/+2
2018-05-02clocksource: Allow clocksource_mark_unstable() on unregistered clocksourcesPeter Zijlstra1-16/+34
2018-02-28clocksource: Use ATTRIBUTE_GROUPSBaolin Wang1-11/+10
2018-02-28clocksource: Use DEVICE_ATTR_RW/RO/WO to define device attributesBaolin Wang1-26/+17
2018-02-28clocksource: Don't walk the clocksource list for empty overrideBaolin Wang1-0/+4
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-2/+2
2017-11-21treewide: init_timer() -> setup_timer()Kees Cook1-2/+1
2017-05-15x86/tsc, sched/clock, clocksource: Use clocksource watchdog to provide stable...Peter Zijlstra1-0/+3
2017-01-14sched/clock, clocksource: Add optional cs::mark_unstable() methodThomas Gleixner1-0/+4
2016-12-25clocksource: Use a plain u64 instead of cycle_tThomas Gleixner1-1/+1
2016-12-07clocksource: export the clocks_calc_mult_shift to use by timestamp codeMurali Karicheri1-0/+1
2016-08-31clocksource: Defer override invalidation unless clock is unstableKyle Walker1-3/+12
2016-06-20clocksource: Make clocksource insert entry more efficientMinfei Huang1-3/+5
2016-01-27clocksource: Allow unregistering the watchdogVitaly Kuznetsov1-10/+42
2015-12-07clocksource: Add CPU info to clocksource watchdog reportingSeiichi Ikarashi1-2/+2
2015-11-09remove abs64()Andrew Morton1-1/+1
2015-10-12Merge tag 'v4.3-rc5' into timers/core, to pick up fixes before applying new c...Ingo Molnar1-1/+1
2015-10-11clocksource: Remove return statement from void functionsGuillaume Gomez1-3/+2
2015-10-02clocksource: Fix abs() usage w/ 64bit valuesJohn Stultz1-1/+1
2015-09-22time: Fix spelling in commentsZhen Lei1-1/+1
2015-06-10clocksource: Use current logging styleJoe Perches1-12/+12
2015-04-03clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety ...John Stultz1-2/+5
2015-04-01tick: Move core only declarations and functions to coreThomas Gleixner1-1/+1
2015-04-01tick: Move clocksource related stuff to timekeeping.hThomas Gleixner1-1/+1
2015-03-13clocksource: Rename __clocksource_updatefreq_*() to __clocksource_update_freq...John Stultz1-5/+6
2015-03-13clocksource: Add some debug info about clocksources being registeredJohn Stultz1-0/+3
2015-03-13clocksource: Mostly kill clocksource_register()John Stultz1-47/+34
2015-03-13clocksource: Improve clocksource watchdog reportingJohn Stultz1-9/+9
2015-03-12clocksource: Add 'max_cycles' to 'struct clocksource'John Stultz1-12/+16
2015-03-12clocksource: Simplify the logic around clocksource wrapping safety marginsJohn Stultz1-14/+12
2015-03-12clocksource: Simplify the clocks_calc_max_nsecs() logicJohn Stultz1-12/+3
2014-12-30time: move the timecounter/cyclecounter code into its own file.Richard Cochran1-76/+0
2014-10-29clocksource: Fix 'clcoksource' typo in commentJames Hartley1-1/+1
2014-07-23clocksource: Make delta calculation a functionThomas Gleixner1-5/+7
2013-10-18time: Fix signedness bug in sysfs_get_uname() and its callersPatrick Palka1-1/+1
2013-09-17clocksource: Fix 'ret' data type of sysfs_override_clocksource() and sysfs_un...Elad Wexler1-2/+2
2013-09-16Merge branch 'fortglx/3.12/time' into fortglx/3.13/timeJohn Stultz1-0/+1
2013-07-30clocksource: Extract max nsec calculation into separate functionStephen Boyd1-15/+30
2013-07-22clocksource: Fix !CONFIG_CLOCKSOURCE_WATCHDOG compilePrarit Bhargava1-0/+1
2013-07-05clocksource: Reselect clocksource when watchdog validated high-res capabilityThomas Gleixner1-15/+42
2013-05-28clocksource: Implement clocksource_select_fallback() for CONFIG_ARCH_USES_GET...Thomas Gleixner1-0/+1
2013-05-16clockevents: Implement unbind functionalityThomas Gleixner1-4/+5
2013-05-16clocksource: Let clocksource_unregister() return success/errorThomas Gleixner1-21/+12
2013-05-16clocksource: Provide unbind interface in sysfsThomas Gleixner1-0/+73
2013-05-16clocksource: Split out user string inputThomas Gleixner1-14/+23
2013-05-16clocksource: Allow clocksource select to skip current clocksourceThomas Gleixner1-11/+20
2013-05-16clocksource: Let timekeeping_notify return success/errorThomas Gleixner1-3/+3
2013-05-16clocksource: Always verify highres capabilityThomas Gleixner1-5/+26
2012-03-23kernel-time: fix s/then/than/ spelling errorsJim Cromie1-1/+1
2012-01-06Merge branch 'driver-core-next' into Linux 3.2Greg Kroah-Hartman1-18/+19
2011-12-19time/clocksource: Fix kernel-doc warningsKusanagi Kouichi1-3/+9
2011-12-14clocksource: convert sysdev_class to a regular subsystemKay Sievers1-18/+19
2011-12-01clocksource: Fix bug with max_deferment margin calculationYang Honggang (Joseph)1-2/+2
2011-11-10clocksource: Avoid selecting mult values that might overflow when adjustedJohn Stultz1-10/+48
2011-09-13clocksource: Make watchdog reset locklessThomas Gleixner1-20/+18
2011-06-16clocksource: Make watchdog robust vs. interruptionThomas Gleixner1-11/+13
2011-05-20clockevents/source: Use u64 to make 32bit happyThomas Gleixner1-1/+1
2011-05-19Merge branch 'timers-clockevents-for-linus' of git://git.kernel.org/pub/scm/l...Linus Torvalds1-19/+19
2011-05-19clocksource: Get rid of the hardcoded 5 seconds sleep time limitThomas Gleixner1-19/+19
2011-05-05clocksource: Install completely before selectingjohn stultz1-2/+2
2011-01-15Merge branches 'core-fixes-for-linus', 'x86-fixes-for-linus', 'timers-fixes-f...Linus Torvalds1-4/+4
2011-01-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Linus Torvalds1-1/+1
2011-01-12time: Rename misnamed minsec argument of clocks_calc_mult_shift()Nicolas Pitre1-4/+4
2010-12-22Fix rounding in clocks_calc_mult_shift()john stultz1-0/+1
2010-11-01tree-wide: fix comment/printk typosUwe Kleine-König1-1/+1
2010-07-27clocksource: Add __clocksource_updatefreq_hz/khz methodsJohn Stultz1-5/+24
2010-07-27time: Kill off CONFIG_GENERIC_TIMEJohn Stultz1-2/+2
2010-05-10clocksource: Add clocksource_register_hz/khz interfaceJohn Stultz1-0/+48
2010-03-02timekeeping: Prevent oops when GENERIC_TIME=njohn stultz1-0/+4
2010-03-01Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+13
2010-02-05clocksource: add suspend callbackMagnus Damm1-0/+12
2010-02-05clocksource: add argument to resume callbackMagnus Damm1-1/+1
2010-01-26clocksource: Prevent potential kgdb dead lockThomas Gleixner1-3/+15
2009-12-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2009-12-08Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+97
2009-11-14clocksource/events: Fix fallout of generic code changesThomas Gleixner1-2/+2
2009-11-13nohz: Prevent clocksource wrapping during idleJon Hunter1-0/+44
2009-11-13clocksource: Provide a generic mult/shift factor calculationThomas Gleixner1-0/+53
2009-11-11clocksource/timecompare: Fix symbol exports to be GPL'd.David S. Miller1-3/+3
2009-11-09tree-wide: fix typos "selct" + "slect" -> "select"Uwe Kleine-König1-1/+1
2009-09-24clocksource: Resume clocksource without taking the clocksource mutexMartin Schwidefsky1-4/+0
2009-09-14clocksource: Delay clocksource down rating to late bootThomas Gleixner1-10/+18
2009-09-14clocksource: clocksource_select must be called with mutex lockedThomas Gleixner1-0/+2
2009-09-11clocksource: Resolve cpu hotplug dead lock with TSC unstable, fix crashMartin Schwidefsky1-2/+3
2009-08-28clocksource: Resolve cpu hotplug dead lock with TSC unstableThomas Gleixner1-3/+30
2009-08-19clocksource: Avoid clocksource watchdog circular locking dependencyMartin Schwidefsky1-3/+16
2009-08-19clocksource: Protect the watchdog rating changes with clocksource_mutexThomas Gleixner1-5/+13
2009-08-15clocksource: Call clocksource_change_rating() outside of watchdog_lockThomas Gleixner1-2/+9
2009-08-15timekeeping: Update clocksource with stop_machineMartin Schwidefsky1-68/+44
2009-08-15timekeeping: Introduce struct timekeeperMartin Schwidefsky1-2/+4
2009-08-15clocksource: Move watchdog downgrade to a work queue threadMartin Schwidefsky1-17/+39
2009-08-15clocksource: Refactor clocksource watchdogMartin Schwidefsky1-28/+69
2009-08-15clocksource: Simplify clocksource watchdog resume logicMartin Schwidefsky1-8/+15
2009-08-15clocksource: Delay clocksource watchdog highres enablementMartin Schwidefsky1-25/+22
2009-08-15clocksource: Cleanup clocksource selectionMartin Schwidefsky1-83/+51
2009-07-19clocksource: Prevent NULL pointer dereferenceThomas Gleixner1-1/+1
2009-06-13clocksource: prevent selection of low resolution clocksourse also for nohz=onThomas Gleixner1-8/+10
2009-06-11clocksource: sanity check sysfs clocksource changesjohn stultz1-1/+17
2009-05-02clocksource: setup mult_orig in clocksource_enable()Magnus Damm1-3/+0
2009-04-21clocksource: pass clocksource to read() callbackMagnus Damm1-4/+4
2009-02-15clocksource: allow usage independent of timekeeping.cPatrick Ohly1-0/+76
2009-01-01cpumask: replace for_each_cpu_mask_nr with for_each_cpu in kernel/time/Rusty Russell1-1/+2
2009-01-01cpumask: convert kernel time functionsRusty Russell1-3/+3
2008-08-21clocksource: keep track of original clocksource frequencyJohn Stultz1-0/+3
2008-07-23Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2008-07-21sysdev: Pass the attribute to the low level sysdev show/store functionAndi Kleen1-2/+6
2008-05-23clocksource/events: use performance variant for_each_cpu_mask_nrMike Travis1-2/+2
2008-05-03clocksource: allow read access to available/current_clocksourceHeiko Carstens1-2/+2
2008-05-03clocksource: Fix permissions for available_clocksourceHeiko Carstens1-1/+1
2008-04-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrtLinus Torvalds1-4/+14
2008-04-17kgdb: clocksource watchdogJason Wessel1-0/+12
2008-04-17clocksource: make clocksource watchdog cycle through online CPUsAndi Kleen1-4/+14
2008-03-25clocksource: revert: use init_timer_deferrable for clocksource_watchdogThomas Gleixner1-1/+1
2008-03-19revert "clocksource: make clocksource watchdog cycle through online CPUs"Andrew Morton1-10/+4
2008-02-08clocksource: remove redundant codeLi Zefan1-1/+0
2008-02-06time: fix sysfs_show_{available,current}_clocksources() buffer overflow problemMiao Xie1-9/+10
2008-01-30clocksource: add unregister function to disable unusable clocksourcesThomas Gleixner1-0/+15
2008-01-30clocksource: make clocksource watchdog cycle through online CPUsAndi Kleen1-4/+10
2008-01-30clocksource.c: use init_timer_deferrable for clocksource_watchdogParag Warudkar1-1/+1
2008-01-24Driver core: change sysdev classes to use dynamic kobject namesKay Sievers1-1/+1
2007-10-19kernel/time/clocksource.c: Use list_for_each_entry instead of list_for_eachMatthias Kaehlcke1-15/+7
2007-05-15clocksource: fix lock order in the resume pathThomas Gleixner1-7/+3
2007-05-09clocksource: fix resume logicThomas Gleixner1-0/+45
2007-05-09clocksource: spelling error in watchdog codeDaniel Walker1-3/+3
2007-03-25[PATCH] clocksource: Fix thinko in watchdog selectionThomas Gleixner1-1/+2
2007-03-05[PATCH] clocksource init adjustments (fix bug #7426)john stultz1-3/+5
2007-02-16[PATCH] tick-management: dyntick / highres functionalityThomas Gleixner1-0/+8
2007-02-16[PATCH] clocksource: Add verification (watchdog) helperThomas Gleixner1-4/+122
2007-02-16[PATCH] Simplify the registration of clocksourcesThomas Gleixner1-62/+58
2007-02-11[PATCH] kernel/time/clocksource.c needs struct task_struct on m68kMathieu Desnoyers1-0/+1
2006-12-10[PATCH] clocksource: small cleanupDaniel Walker1-3/+3
2006-12-10[PATCH] clocksource: add usage of CONFIG_SYSFSDaniel Walker1-0/+2
2006-06-26[PATCH] time: rename clocksource functionsjohn stultz1-8/+8
2006-06-26[PATCH] Time: i386 Clocksource Driversjohn stultz1-3/+8
2006-06-26[PATCH] Time: Use clocksource infrastructure for update_wall_timejohn stultz1-2/+2
2006-06-26[PATCH] Time: Clocksource Infrastructurejohn stultz1-0/+344