ARM: SAMSUNG: allow the configuration of KERNEL HZ in plat-samsung
Subsystems (3)
PATCH 2/13 ARM: SAMSUNG: allow the configuration of KERNEL HZ in plat-samsung
--- arch/arm/Kconfig | 4 ++-- arch/arm/plat-samsung/Kconfig | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-)
arch/arm/Kconfig +2 -2
@@ -1590,8 +1590,8 @@ source kernel/Kconfig.preempt config HZ int - default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \ - ARCH_S5PV210 || ARCH_EXYNOS4 + default 200 if ARCH_EBSA110 + default SAMSUNG_TIMER_HZ if PLAT_SAMSUNG default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER default AT91_TIMER_HZ if ARCH_AT91 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
arch/arm/plat-samsung/Kconfig +7 -0
@@ -50,6 +50,13 @@ config S3C_LOWLEVEL_UART_PORT this configuration should be between zero and two. The port must have been initialised by the boot-loader before use. +config SAMSUNG_TIMER_HZ + int "Kernel HZ for Samsung Platform" + range 32 1024 + default "200" + help + Allows the configuration of the timer frequency for Samsung SoCs. + # clock options config SAMSUNG_CLKSRC
Signature · 1 line
1.7.1
PATCH 2/13 ARM: SAMSUNG: allow the configuration of KERNEL HZ in plat-samsung
Quoted 2 lines · Kukjin Kim
Please kindly ignore the patch number[02/13] in subject.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
Quoted 42 lines
Cc Russell King <[email protected]>Signed-off-by Kukjin Kim <[email protected]>--- arch/arm/Kconfig | 4 ++-- arch/arm/plat-samsung/Kconfig | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-)arch/arm/Kconfig +2
-2@@ -1590,8 +1590,8 @@ source kernel/Kconfig.preempt config HZ int - default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \ - ARCH_S5PV210 || ARCH_EXYNOS4 + default 200 if ARCH_EBSA110 + default SAMSUNG_TIMER_HZ if PLAT_SAMSUNG default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER default AT91_TIMER_HZ if ARCH_AT91 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILEarch/arm/plat-samsung/Kconfig +7
-1@@ -50,6 +50,13 @@ config S3C_LOWLEVEL_UART_PORT this configuration should be between zero and two. The port must have been initialised by the boot-loader before use. +config SAMSUNG_TIMER_HZ + int "Kernel HZ for Samsung Platform" + range 32 1024 + default "200" + help + Allows the configuration of the timer frequency for Samsung SoCs. + # clock options config SAMSUNG_CLKSRC --1.7.1
PATCH 2/13 ARM: SAMSUNG: allow the configuration of KERNEL HZ in plat-samsung
In reply to Kukjin KimQuoted 3 lines · Kukjin Kim
Cc Russell King <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
This patch really needs some kind of explanation. It's far from obvious from the casual reader why moving from a fixed value of 200Hz for the kernel tick rate to a range from 32 to 1024 would be legal.
If 100Hz was possible before, and that's the architecture default, why was 200Hz chosen instead?
And is 99Hz and 101Hz allowable?