diff options
| author | Ben Zong-You Xie <[email protected]> | 2026-07-28 16:10:41 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-09-01 10:46:23 +0530 |
| commit | 06af8bd61b37bbf0db93adfa9902b176d0158ea1 (patch) | |
| tree | fad2b34e37d574f5da78b7ba7967ccaf0cc6028c /include/sbi_utils/cppc/fdt_cppc.h | |
| parent | 0fb479930775cf86efdfd5c50ad21b4cf8353c76 (diff) | |
lib: utils/andes: arm the SMU sleep command last
Once the sleep command is written, the next WFI puts the core to sleep,
so everything that can fail has to run before it.
Also, use writel() so the command store cannot still be in flight at the
WFI.
Signed-off-by: Ben Zong-You Xie <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cppc/fdt_cppc.h')
0 files changed, 0 insertions, 0 deletions
