mirror of
https://github.com/riscv-software-src/opensbi
synced 2025-11-09 08:20:23 +00:00
The SiFive TMC0 controls the tile power domains on SiFive platform. The CPU enters the low power state via the `CEASE` instruction after configuring the TMC0. Any devices that inside the tile power domain will be power gated, including the private cache. Therefore flushing the private cache before entering the low power state. Co-developed-by: Vincent Chen <vincent.chen@sifive.com> Signed-off-by: Vincent Chen <vincent.chen@sifive.com> Reviewed-by: Cyan Yang <cyan.yang@sifive.com> Signed-off-by: Nick Hu <nick.hu@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251020-cache-upstream-v7-9-69a132447d8a@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
29 lines
430 B
Plaintext
29 lines
430 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "HSM Device Support"
|
|
|
|
config FDT_HSM
|
|
bool "FDT based HSM drivers"
|
|
depends on FDT
|
|
default n
|
|
|
|
if FDT_HSM
|
|
|
|
config FDT_HSM_RPMI
|
|
bool "FDT RPMI HSM driver"
|
|
depends on FDT_MAILBOX && RPMI_MAILBOX
|
|
default n
|
|
|
|
config FDT_HSM_SIFIVE_TMC0
|
|
bool "FDT SiFive TMC v0 driver"
|
|
depends on FDT_CACHE
|
|
default n
|
|
|
|
config FDT_HSM_SPACEMIT
|
|
bool "FDT SPACEMIT HSM driver"
|
|
default n
|
|
|
|
endif
|
|
|
|
endmenu
|