powerpc: Add HAVE_IRQ_TIME_ACCOUNTING

Submitted by Anton Blanchard on May 19, 2017, 5:46 a.m.

Details

Message ID 20170519054641.12406-1-anton@ozlabs.org
State Accepted
Commit 518470fe962e23ca69a818e1e507eb4d28b6b09b
Headers show

Commit Message

Anton Blanchard May 19, 2017, 5:46 a.m.
From: Anton Blanchard <anton@samba.org>

Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
weight and IRQ_TIME_ACCOUNTING might be better in some cases.

Signed-off-by: Anton Blanchard <anton@samba.org>
---
 arch/powerpc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Ellerman May 30, 2017, 9:11 a.m.
On Fri, 2017-05-19 at 05:46:41 UTC, Anton Blanchard wrote:
> From: Anton Blanchard <anton@samba.org>
> 
> Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
> use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
> weight and IRQ_TIME_ACCOUNTING might be better in some cases.
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/518470fe962e23ca69a818e1e507eb

cheers

Patch hide | download patch | download mbox

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index f7c8f9972f61..d090275ace44 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -208,6 +208,7 @@  config PPC
 	select HAVE_REGS_AND_STACK_ACCESS_API
 	select HAVE_SYSCALL_TRACEPOINTS
 	select HAVE_VIRT_CPU_ACCOUNTING
+	select HAVE_IRQ_TIME_ACCOUNTING
 	select IRQ_DOMAIN
 	select IRQ_FORCED_THREADING
 	select MODULES_USE_ELF_RELA