Skip to content

Commit e2d6b54

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
Revert "RISC-V: mark hibernation as nonportable"
Revert commit ed309ce ("RISC-V: mark hibernation as nonportable") as it appears the broken versions of OpenSBI have not made it to production on any systems that support hibernation. Signed-off-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20230802-chef-throng-d9de8b672a49@wendy Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent d38e2e7 commit e2d6b54

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,11 +1011,8 @@ menu "Power management options"
10111011

10121012
source "kernel/power/Kconfig"
10131013

1014-
# Hibernation is only possible on systems where the SBI implementation has
1015-
# marked its reserved memory as not accessible from, or does not run
1016-
# from the same memory as, Linux
10171014
config ARCH_HIBERNATION_POSSIBLE
1018-
def_bool NONPORTABLE
1015+
def_bool y
10191016

10201017
config ARCH_HIBERNATION_HEADER
10211018
def_bool HIBERNATION

0 commit comments

Comments
 (0)