# Re: \[PATCH\] powerpc/time: enable sched clock for irqtime

- From: Michael Ellerman \<hidden\>
- Date: 2021-02-03 12:30:59 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/02/9520746
- Thread: https://ratatoskr.run/linuxppc-dev/2020/10/9519202/t.md

```text
On Thu, 22 Oct 2020 14:51:19 +0800, Pingfan Liu wrote:
> When CONFIG_IRQ_TIME_ACCOUNTING and CONFIG_VIRT_CPU_ACCOUNTING_GEN, powerpc
> does not enable "sched_clock_irqtime" and can not utilize irq time
> accounting.
> 
> Like x86, powerpc does not use the sched_clock_register() interface. So it
> needs an dedicated call to enable_sched_clock_irqtime() to enable irq time
> accounting.

Applied to powerpc/next.

[1/1] powerpc/time: Enable sched clock for irqtime
      https://git.kernel.org/powerpc/c/b709e32ef570b8b91dfbcb63cffac4324c87799f

cheers
```
