summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-08-02 12:12:53 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2024-01-23 08:28:11 -0800
commite2d6b54b935a98c7d83f7e27597738be903d6703 (patch)
tree54e7ac527ec8007a79bc7dccb66aa646afd52c39 /arch/riscv/Kconfig
parentd38e2e7bcb3e27d1d1433e5f7480f2a1ff6bcd98 (diff)
Revert "RISC-V: mark hibernation as nonportable"
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>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 61826240926d..a82bc8bed503 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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