aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/time.c
AgeCommit message (Expand)AuthorFilesLines
2023-03-16powerpc: Make generic_calibrate_decr() the defaultChristophe Leroy1-1/+5
2023-02-12Merge branch 'fixes' into nextMichael Ellerman1-1/+1
2023-02-10powerpc/kcsan: Exclude udelay to prevent recursive instrumentationRohan McLure1-2/+2
2023-01-30powerpc/64: Fix perf profiling asynchronous interrupt handlersNicholas Piggin1-1/+1
2022-11-24powerpc: remove the last remnants of cputime_tNicholas Piggin1-21/+2
2022-09-28powerpc/time: avoid programming DEC at the start of the timer interruptNicholas Piggin1-14/+15
2022-09-05powerpc/pseries: Move dtl scanning and steal time accounting to pseries platformNicholas Piggin1-87/+5
2022-05-08powerpc: Add missing headersChristophe Leroy1-1/+1
2022-05-05powerpc: fix typos in commentsJulia Lawall1-2/+2
2022-05-05Merge tag 'v5.18-rc4' into nextMichael Ellerman1-15/+14
2022-05-04powerpc/time: Fix sparse warningsHe Ying1-5/+4
2022-04-21powerpc/time: Always set decrementer in timer_interrupt()Michael Ellerman1-15/+14
2022-03-16powerpc/time: improve decrementer clockevent processingNicholas Piggin1-8/+10
2022-03-16powerpc/time: Fix KVM host re-arming a timer beyond decrementer rangeNicholas Piggin1-2/+3
2022-03-08powerpc: Move C prototypes out of asm-prototypes.hChristophe Leroy1-1/+0
2022-03-08powerpc/mce: Avoid using irq_work_queue() in realmodeGanesh Goudar1-0/+2
2022-01-25powerpc/64s/interrupt: Fix decrementer stormNicholas Piggin1-2/+3
2021-12-16powerpc/64s/interrupt: Don't enable MSR[EE] in irq handlers unless perf is in...Nicholas Piggin1-15/+16
2021-12-09powerpc/config: Add CONFIG_BOOKE_OR_40xChristophe Leroy1-1/+1
2021-11-24powerpc/time: add API for KVM to re-arm the host timer/decrementerNicholas Piggin1-9/+43
2021-11-24KVM: PPC: Book3S HV P9: Use large decrementer for HDECNicholas Piggin1-0/+1
2021-11-24KVM: PPC: Book3S HV P9: Use host timer accounting to avoid decrementer readNicholas Piggin1-0/+1
2021-10-22powerpc/time: Remove generic_suspend_{dis/en}able_irqs()Christophe Leroy1-15/+7
2021-09-03Merge branch 'fixes' into nextMichael Ellerman1-1/+1
2021-08-18powerpc: Remove duplicate includesWan Jiabing1-2/+1
2021-08-12powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()Christophe Leroy1-1/+1
2021-06-25powerpc/64s: Remove irq mask workaround in accumulate_stolen_time()Nicholas Piggin1-11/+0
2021-06-10KVM: PPC: Book3S HV P9: Reduce irq_work vs guest decrementer racesNicholas Piggin1-10/+0
2021-02-09powerpc: handle irq_enter/irq_exit in interrupt handler wrappersNicholas Piggin1-2/+2
2021-02-09powerpc: convert interrupt handlers to use wrappersNicholas Piggin1-1/+2
2021-01-31powerpc/time: Enable sched clock for irqtimePingfan Liu1-0/+2
2020-12-17Merge tag 'powerpc-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-96/+4
2020-12-09powerpc/64: irq replay remove decrementer overflow checkNicholas Piggin1-6/+3
2020-12-04powerpc/vdso: Switch VDSO to generic C implementation.Christophe Leroy1-90/+1
2020-12-02sched/vtime: Consolidate IRQ time accountingFrederic Weisbecker1-16/+40
2020-10-08powerpc/time: Avoid using get_tbl() and get_tbu() internallyChristophe Leroy1-2/+2
2020-10-08powerpc: Remove get_tb_or_rtc()Christophe Leroy1-3/+3
2020-10-08powerpc: Remove __USE_RTC()Christophe Leroy1-44/+8
2020-07-10powerpc64: Break asm/percpu.h vs spinlock_types.h dependencyPeter Zijlstra1-0/+2
2020-04-03Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs e...Nicholas Piggin1-31/+13
2020-04-03powerpc/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>Geert Uytterhoeven1-3/+1
2020-04-01powerpc/64s/exception: Avoid touching the stack in hdecrementerNicholas Piggin1-9/+0
2019-12-05powerpc: Fix vDSO clock_getres()Vincenzo Frascino1-0/+1
2019-12-01Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/...Linus Torvalds1-2/+3
2019-11-30Merge tag 'powerpc-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-1/+1
2019-11-15y2038: vdso: powerpc: avoid timespec referencesArnd Bergmann1-2/+3
2019-10-28powerpc/pseries: Mark accumulate_stolen_time() as notraceMichael Ellerman1-1/+1
2019-10-09sched/cputime: Rename vtime_account_system() to vtime_account_kernel()Frederic Weisbecker1-3/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-03powerpc/hmi: Fix kernel hang when TB is in error state.Mahesh Salgaonkar1-0/+9
2019-04-20powerpc: Remove duplicate headersJagadeesh Pagadala1-1/+0
2019-01-30powerpc/kernel/time: Remove duplicate headerBrajeswar Ghosh1-1/+0
2018-10-20powerpc/time: no steal_time when CONFIG_PPC_SPLPAR is not selectedChristophe Leroy1-2/+3
2018-10-20powerpc/time: Only set CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC64Christophe Leroy1-2/+10
2018-10-20powerpc/time: isolate scaled cputime accounting in dedicated functions.Christophe Leroy1-26/+43
2018-10-19powerpc/time: Fix clockevent_decrementer initalisation for PR KVMMichael Ellerman1-0/+4
2018-10-04powerpc/time: Add set_state_oneshot_stopped decrementer callbackAnton Blanchard1-0/+1
2018-10-04powerpc/time: Use clockevents_register_device(), fixing an issue with large d...Anton Blanchard1-14/+3
2018-06-04powerpc/time: inline arch_vtime_task_switch()Christophe Leroy1-21/+0
2018-06-03powerpc: remove unused to_tm() helperArnd Bergmann1-50/+0
2018-06-03powerpc: use time64_t in update_persistent_clockArnd Bergmann1-4/+2
2018-06-03powerpc: use time64_t in read_persistent_clockArnd Bergmann1-4/+3
2018-06-03powerpc/time: account broadcast timer event interrupts separatelyNicholas Piggin1-4/+1
2018-06-03powerpc: move timer broadcast code under GENERIC_CLOCKEVENTS_BROADCAST ifdefNicholas Piggin1-0/+2
2018-06-03powerpc: allow soft-NMI watchdog to cover timer interrupts with large decreme...Nicholas Piggin1-6/+13
2018-06-03powerpc: generic clockevents broadcast receiver call tick_receive_broadcastNicholas Piggin1-45/+39
2018-06-03powerpc/pseries: lparcfg calculate PURR on demandNicholas Piggin1-8/+0
2018-06-03powerpc/64: irq_work avoid interrupt when called with hardware irqs enabledNicholas Piggin1-2/+31
2018-04-03powerpc: Fix oops due to bad access of lppaca on bare metalAneesh Kumar K.V1-0/+3
2018-03-14powerpc/time: stop validating rtc_time in .read_timeAlexandre Belloni1-1/+1
2018-01-19powerpc/64: Rename soft_enabled to irq_soft_maskMadhavan Srinivasan1-3/+3
2018-01-19powerpc/64: Implement and use soft_enabled_return APIMadhavan Srinivasan1-1/+1
2018-01-19powerpc/64: Move set_soft_enabled() and renameMadhavan Srinivasan1-2/+2
2018-01-19powerpc/64: Add #defines for paca->soft_enabled flagsMadhavan Srinivasan1-1/+1
2017-07-02powerpc: use spin loop primitives in some functionsNicholas Piggin1-3/+5
2017-06-22powerpc: Convert VDSO update function to use new update_vsyscall interfacePaul Mackerras1-16/+52
2017-06-21powerpc/time: Fix tracing in time.cSantosh Sivaraj1-3/+3
2017-05-30powerpc/[booke|4xx]: Don't clobber TCR[WP] when setting TCR[DIE]Ivan Mikhaylov1-3/+11
2017-04-14powerpc/time: Set ->min_delta_ticks and ->max_delta_ticksNicolai Stange1-0/+2
2017-03-02sched/headers: Prepare to move cputime functionality from <linux/sched.h> int...Ingo Molnar1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-01Merge tag 'powerpc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2017-02-23powerpc: Remove leftover cputime_to_nsecs call causing build errorFrédéric Weisbecker1-1/+1
2017-02-01powerpc, sched/cputime: Remove unused cputime definitionsFrederic Weisbecker1-18/+2
2017-02-01sched/cputime: Push time to account_system_time() in nsecsFrederic Weisbecker1-7/+8
2017-02-01sched/cputime: Push time to account_idle_time() in nsecsFrederic Weisbecker1-1/+1
2017-02-01sched/cputime: Push time to account_steal_time() in nsecsFrederic Weisbecker1-1/+1
2017-02-01sched/cputime: Push time to account_user_time() in nsecsFrederic Weisbecker1-1/+1
2017-02-01sched/cputime: Convert task/group cputime to nsecsFrederic Weisbecker1-2/+2
2017-01-14sched/cputime: Rename vtime_account_user() to vtime_flush()Frederic Weisbecker1-4/+2
2017-01-14sched/cputime, powerpc/vtime: Accumulate cputime and account only on tick/tas...Frederic Weisbecker1-43/+77
2017-01-14sched/cputime, powerpc: Migrate stolen_time field to the accounting structureFrederic Weisbecker1-3/+3
2017-01-14sched/cputime, powerpc: Prepare accounting structure for cputime flush on tickFrederic Weisbecker1-15/+16
2017-01-14sched/cputime, powerpc32: Fix stale scaled stime on context switchFrederic Weisbecker1-0/+1
2016-12-25clocksource: Use a plain u64 instead of cycle_tThomas Gleixner1-7/+7
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-15sched/cputime, powerpc, s390: Make scaled cputime arch specificStanislaw Gruszka1-2/+4
2016-11-15sched/cputime, powerpc: Remove cputime_last_delta global variableStanislaw Gruszka1-2/+0
2016-10-14Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+1
2016-09-13powerpc/sparse: Add more assembler prototypesDaniel Axtens1-0/+1
2016-08-07ppc: move exports to definitionsAl Viro1-0/+1
2016-08-05Merge tag 'rtc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni...Linus Torvalds1-1/+28
2016-07-09powerpc32: provide VIRT_CPU_ACCOUNTINGChristophe Leroy1-27/+54
2016-07-05powerpc/timer: Large Decrementer supportOliver O'Halloran1-8/+59
2016-06-04rtc: powerpc: provide rtc_class_ops directlyArnd Bergmann1-1/+28
2016-04-12powerpc: sparse: Include headers for __weak symbolsDaniel Axtens1-0/+1
2015-12-16powerpc: Remove broken GregorianDay()Daniel Axtens1-34/+2
2015-08-10powerpc/time: Migrate to new 'set-state' interfaceViresh Kumar1-12/+12
2015-06-16powerpc: use device_initcall for registering rtc devicesPaul Gortmaker1-1/+1
2015-04-21KVM: PPC: Book3S HV: Accumulate timing information for real-mode codePaul Mackerras1-0/+6
2015-02-21Merge tag 'clk-for-linus-3.20' of git://git.linaro.org/people/mike.turquette/...Linus Torvalds1-0/+5
2015-02-12powerpc: add running_clock for powerpc to prevent spurious softlockup warningsCyril Bur1-0/+32
2015-01-20powerpc: call of_clk_init() from time_init()Kevin Hao1-0/+5
2014-11-17rtc/tpo: Driver to support rtc and wakeup on PowerNV platformNeelesh Gupta1-0/+1
2014-11-03powerpc: Replace __get_cpu_var usesChristoph Lameter1-11/+11
2014-09-25powerpc: Make a bunch of things staticAnton Blanchard1-2/+2
2014-09-25powerpc: Move more symbol exports next to function definitionsAnton Blanchard1-0/+1
2014-07-23clocksource: Get rid of cycle_lastThomas Gleixner1-2/+2
2014-06-11powerpc: fix typo 'CONFIG_PMAC'Paul Bolle1-1/+1
2014-05-12powerpc: irq work racing with timer interrupt can result in timer interrupt hangAnton Blanchard1-3/+0
2014-03-05cpuidle/powernv: Add "Fast-Sleep" CPU idle statePreeti U Murthy1-1/+3
2014-03-05powerpc: Split timer_interrupt() into timer handling and interrupt handling r...Preeti U Murthy1-35/+46
2014-03-05powerpc: Implement tick broadcast IPI as a fixed IPI messageSrivatsa S. Bhat1-0/+5
2014-01-15powerpc: Fix races with irq_workBenjamin Herrenschmidt1-0/+11
2013-12-02powerpc: Make irq_stat.timers_irqs counting more specificfan.du1-1/+2
2013-11-21powerpc/pseries: Duplicate dtl entries sometimes sent to userspaceAnton Blanchard1-2/+2
2013-09-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-9/+9
2013-08-14powerpc: Fix little endian lppaca, slb_shadow and dtl_entryAnton Blanchard1-8/+8
2013-08-14powerpc: Add some endian annotations to time and xics codeAnton Blanchard1-1/+1
2013-07-15PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.Rusty Russell1-1/+1
2013-07-01powerpc: Delete __cpuinit usage from all usersPaul Gortmaker1-1/+0
2013-04-18powerpc: Use PTR_RET instead of IS_ERR/PTR_ERRAdrian-Leonard Radu1-3/+1
2013-02-19Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2013-02-19Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+3
2013-02-04Merge branch 'fortglx/3.9/time' of git://git.linaro.org/people/jstultz/linux ...Thomas Gleixner1-1/+1
2013-01-29powerpc: Max next_tb to prevent from replaying timer interruptTiejun Chen1-2/+7
2013-01-27kvm: Prepare to add generic guest entry/exit callbacksFrederic Weisbecker1-0/+1
2013-01-27cputime: Generic on-demand virtual cputime accountingFrederic Weisbecker1-2/+2
2013-01-15NTP: Add a CONFIG_RTC_SYSTOHC configurationJason Gunthorpe1-1/+1
2013-01-03powerpc/vdso: Remove redundant locking in update_vsyscall_tz()Shan Hai1-5/+0
2012-11-20vtime: Warn if irqs aren't disabled on system time accounting APIsFrederic Weisbecker1-0/+2
2012-11-19vtime: Consolidate a bit the ctx switch codeFrederic Weisbecker1-6/+0
2012-11-19vtime: Explicitly account pending user time on process tickFrederic Weisbecker1-7/+7
2012-11-19vtime: Remove the underscore prefix invasionFrederic Weisbecker1-2/+2
2012-10-29vtime: Make vtime_account_system() irqsafeFrederic Weisbecker1-2/+2
2012-10-12Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+2
2012-10-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-4/+4
2012-10-01Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-20/+35
2012-09-25vtime: Consolidate system/idle context detectionFrederic Weisbecker1-19/+28
2012-09-25cputime: Use a proper subsystem naming for vtime related APIsFrederic Weisbecker1-5/+5
2012-09-24time: Convert CONFIG_GENERIC_TIME_VSYSCALL to CONFIG_GENERIC_TIME_VSYSCALL_OLDJohn Stultz1-1/+1
2012-09-24time: Move update_vsyscall definitions to timekeeper_internal.hJohn Stultz1-1/+1
2012-09-17powerpc/trace: Fix interrupt tracepoints vs. RCULi Zhong1-4/+4
2012-09-05powerpc: Give hypervisor decrementer interrupts their own handlerPaul Mackerras1-0/+9
2012-08-20cputime: Consolidate vtime handling on context switchFrederic Weisbecker1-0/+6
2012-06-08powerpc/time: Sanity check of decrementer expiration is necessaryPaul Mackerras1-3/+11
2012-05-06KVM: PPC: Use clockevent multiplier and shifter for decrementerBharat Bhushan1-1/+2
2012-03-21powerpc: Remove FW_FEATURE ISERIES from arch codeStephen Rothwell1-105/+3
2012-03-09powerpc: Rework lazy-interrupt handlingBenjamin Herrenschmidt1-3/+5
2011-12-19powerpc: Fix wrong divisor in usecs_to_cputimeAndreas Schwab1-5/+5
2011-11-25powerpc/time: Optimise decrementer_check_overflowAnton Blanchard1-20/+7
2011-11-25powerpc/time: Fix some style issuesAnton Blanchard1-11/+11
2011-11-25powerpc/time: Remove unnecessary sanity check of decrementer expirationAnton Blanchard1-11/+3
2011-11-25powerpc/time: Use clocksource_register_hzAnton Blanchard1-10/+3
2011-11-25powerpc/time: Use clockevents_calc_mult_shiftAnton Blanchard1-28/+2
2011-11-25powerpc/time: Handle wrapping of decrementerAnton Blanchard1-0/+9
2011-10-31powerpc: various straight conversions from module.h --> export.hPaul Gortmaker1-1/+1
2011-07-01irq_work, ppc: Fix up arch hooksPeter Zijlstra1-1/+1
2011-04-18powerpc: Fix oops if scan_dispatch_log is called too earlyAnton Blanchard1-0/+3
2011-04-01powerpc: Make decrementer interrupt robust against offlined CPUsBenjamin Herrenschmidt1-4/+11
2011-03-30powerpc: Fix accounting of softirq time when idleAnton Blanchard1-1/+1
2011-01-21powerpc/cell: Use system_wq in cpufreq_spudemandTejun Heo1-5/+20
2010-12-09powerpc/time: printk time stamp init not correctHeiko Schocher1-1/+1
2010-10-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-142/+133
2010-10-18irq_work: Add generic hardirq context callbacksPeter Zijlstra1-21/+21
2010-10-14powerpc: export ppc_proc_freq and ppc_tb_freq as GPL symbolsTimur Tabi1-1/+2
2010-09-02powerpc/pseries: Re-enable dispatch trace log userspace interfacePaul Mackerras1-1/+5
2010-09-02powerpc: Account time using timebase rather than PURRPaul Mackerras1-141/+127
2010-08-31powerpc/perf_event: Reduce latency of calling perf_event_do_pendingPaul Mackerras1-12/+11
2010-07-28Merge branch 'powerpc.cherry-picks' into timers/clocksourceThomas Gleixner1-133/+9
2010-07-28powerpc: Clean up obsolete code relating to decrementer and timebasePaul Mackerras1-133/+3
2010-07-28powerpc: Rework VDSO gettimeofday to prevent time going backwardsPaul Mackerras1-27/+34
2010-07-27timkeeping: Fix update_vsyscall to provide wall_to_monotonic offsetJohn Stultz1-4/+4
2010-07-27powerpc: Cleanup xtime usageJohn Stultz1-4/+4
2010-07-27powerpc: Simplify update_vsyscallJohn Stultz1-30/+25
2010-05-12powerpc/perf_event: Fix oops due to perf_event_do_pending callPaul Mackerras1-12/+48
2010-02-17powerpc: Add timer, performance monitor and machine check counts to /proc/int...Anton Blanchard1-0/+2
2010-02-09powerpc: Only print clockevent settings onceAnton Blanchard1-2/+2
2010-02-03powerpc: Replace per_cpu(, smp_processor_id()) with __get_cpu_var()Anton Blanchard1-2/+2
2010-01-15powerpc: Fix decrementer setup on 1GHz boardsStefan Roese1-1/+10
2009-12-12Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-0/+1
2009-12-09Merge commit 'origin/master' into nextBenjamin Herrenschmidt1-0/+6
2009-12-08Merge branch 'timers-for-linus-urgent' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+3
2009-12-08Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2009-11-17timekeeping: Fix clock_gettime vsyscall time warpLin Ming1-2/+3
2009-11-15Merge branches 'perf/powerpc' and 'perf/bench' into perf/coreIngo Molnar1-0/+6
2009-11-14clocksource/events: Fix fallout of generic code changesThomas Gleixner1-1/+1
2009-11-12Merge commit 'origin/master' into nextBenjamin Herrenschmidt1-1/+14
2009-11-05powerpc: Avoid giving out RTC dates below EPOCHBenjamin Herrenschmidt1-1/+14
2009-11-05Export symbols for KVM moduleAlexander Graf1-0/+1