projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f0e0b
)
powerpc/64: don't select ARCH_HAS_SCALED_CPUTIME on book3E
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Thu, 22 Aug 2019 16:44:05 +0000
(16:44 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 27 Aug 2019 03:03:32 +0000
(13:03 +1000)
Book3E doesn't have SPRN_SPURR/SPRN_PURR.
Activating ARCH_HAS_SCALED_CPUTIME is just wasting CPU time.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://github.com/linuxppc/issues/issues/171
Link:
https://lore.kernel.org/r/a8b567c569aa521a7cf1beb061d43d79070e850c.1566492229.git.christophe.leroy@c-s.fr
arch/powerpc/Kconfig
patch
|
blob
|
history
diff --git
a/arch/powerpc/Kconfig
b/arch/powerpc/Kconfig
index 78f52030e76adce3cd897e6204a239c360b48fd1..3d65084f40660d45ca247e2cd38e96aca056b96e 100644
(file)
--- a/
arch/powerpc/Kconfig
+++ b/
arch/powerpc/Kconfig
@@
-133,7
+133,7
@@
config PPC
select ARCH_HAS_PTE_DEVMAP if PPC_BOOK3S_64
select ARCH_HAS_PTE_SPECIAL
select ARCH_HAS_MEMBARRIER_CALLBACKS
- select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC64
+ select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC
_BOOK3S_
64
select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !RELOCATABLE && !HIBERNATION)
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UACCESS_FLUSHCACHE