Revert "RISC-V: mark hibernation as nonportable"
authorConor Dooley <conor.dooley@microchip.com>
Wed, 2 Aug 2023 11:12:53 +0000 (12:12 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 23 Jan 2024 16:28:11 +0000 (08:28 -0800)
Revert commit ed309ce52218 ("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 <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230802-chef-throng-d9de8b672a49@wendy
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig

index 61826240926dc581a66f5bdb43a412b0d91505ff..a82bc8bed503c041246518a75afcb869219633b3 100644 (file)
@@ -1011,11 +1011,8 @@ menu "Power management options"
 
 source "kernel/power/Kconfig"
 
-# Hibernation is only possible on systems where the SBI implementation has
-# marked its reserved memory as not accessible from, or does not run
-# from the same memory as, Linux
 config ARCH_HIBERNATION_POSSIBLE
-       def_bool NONPORTABLE
+       def_bool y
 
 config ARCH_HIBERNATION_HEADER
        def_bool HIBERNATION