ARM: configs: aspeed: Add watchdog sysfs
Subsystems (2)
PATCH 1/1 ARM: configs: aspeed: Add watchdog sysfs
This kernel config adds sysfs entries for watchdog devices. This is needed in order to access the bootstatus sysfs file that will indicate whether or not the BMC has tripped the watchdog and subsequently switched sides.
--- arch/arm/configs/aspeed_g4_defconfig | 1 + arch/arm/configs/aspeed_g5_defconfig | 1 + 2 files changed, 2 insertions(+)
arch/arm/configs/aspeed_g4_defconfig +1 -0
@@ -219,6 +219,7 @@ CONFIG_SCHED_STACK_END_CHECK=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y +CONFIG_WATCHDOG_SYSFS=y # CONFIG_CRYPTO_ECHAINIV is not set # CONFIG_CRYPTO_HW is not set # CONFIG_XZ_DEC_X86 is not set
arch/arm/configs/aspeed_g5_defconfig +1 -0
@@ -222,6 +222,7 @@ CONFIG_SCHED_STACK_END_CHECK=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y +CONFIG_WATCHDOG_SYSFS=y # CONFIG_CRYPTO_ECHAINIV is not set # CONFIG_CRYPTO_HW is not set # CONFIG_XZ_DEC_X86 is not set
Signature · 1 line
1.8.3.1
Joel Stanley
maintainerHi Eddie,
Quoted 28 lines · Eddie James
This kernel config adds sysfs entries for watchdog devices. This is needed in order to access the bootstatus sysfs file that will indicate whether or not the BMC has tripped the watchdog and subsequently switched sides.
Signed-off-by Eddie James <[email protected]>--- arch/arm/configs/aspeed_g4_defconfig | 1 + arch/arm/configs/aspeed_g5_defconfig | 1 + 2 files changed, 2 insertions(+)arch/arm/configs/aspeed_g4_defconfig +1
-0@@ -219,6 +219,7 @@ CONFIG_SCHED_STACK_END_CHECK=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y +CONFIG_WATCHDOG_SYSFS=y # CONFIG_CRYPTO_ECHAINIV is not set # CONFIG_CRYPTO_HW is not set # CONFIG_XZ_DEC_X86 is not setarch/arm/configs/aspeed_g5_defconfig +0
-0
arch/arm/configs/aspeed_g5_defconfig CONFIG_SCHED_STACK_END_CHECK=y · line 225
Quoted 4 lines
arch/arm/configs/aspeed_g5_defconfig +1
-0@@ -222,6 +222,7 @@ CONFIG_SCHED_STACK_END_CHECK=y CONFIG_FUNCTION_TRACER=y # CONFIG_TRACING_EVENTS_GPIO is not set CONFIG_DEBUG_USER=y +CONFIG_WATCHDOG_SYSFS=y
When you update a defconfig you must follow these steps:
make aspeed_g5_defconfig
enable the options you require
make savedefconig
cp aspeed_g5_defconfig arc/arm/boot/config/
And create your commit based on that.
I have done this for you in this case and applied the result to dev-4.13.
Cheers,
Joel