[PATCH 0/5] Add hart state management and system suspend support for AE350

Anup Patel anup at brainfault.org
Tue Feb 10 22:24:17 PST 2026


On Mon, Dec 29, 2025 at 12:49 PM Ben Zong-You Xie <ben717 at andestech.com> wrote:
>
> This patch series introduces support for hart state management and
> system suspend functionalities on the Andes AE350 platform. For the hart
> state management, AE350 platform supports CPU hotplug. For the
> system suspend, there are two platform-specific low-power modes,
> including deep sleep (suspend to RAM) and light sleep (suspend to standby).
>
> Below is the patch summary:
> [1/5]: The Andes System Management Unit (ATCSMU) logic is factored out into
>        a dedicated FDT-based HSM driver, improving code reuse and
>        maintainability.
> [2/5]: Implement the functions to save and restore platform-specific CSRs
>        which are lost during CPU hotplug or deep sleep.
> [3/5]: Add the functions to enable/disable the cache.
> [4/5]: A new Last Level Cache (LLC) driver is introduced to handle required
>        cache operations for deep sleep.
> [5/5]: An ATCSMU-based suspend driver is implemented to support Andes deep
>        sleep and light sleep, providing the OS with access to standardized
>        SBI system suspend extensions.
>
> Ben Zong-You Xie (5):
>   lib: utils/hsm: factor out ATCSMU code into an HSM driver
>   platform: generic/andes: add CSR save and restore functions for AE350
>     platform
>   lib: utils/cache: add cache enable function
>   lib: utils/cache: add Andes last level cache controller
>   lib: utils/suspend: add Andes ATCSMU suspend driver

Applied this series to the riscv/opensbi repo.

Thanks,
Anup



More information about the opensbi mailing list