opensbi/platform/generic
Samuel Holland c45992cc2b platform: generic: allwinner: Advertise nonretentive suspend
Add D1's nonretentive suspend state to the devicetree so S-mode software
knows about it and can use it.

Latency and power measurements were taken on an Allwinner Nezha board:
 - Entry latency was measured from the beginning of sbi_ecall_handler()
   to before the call to wfi() in sun20i_d1_hart_suspend().
 - Exit latency was measured from the beginning of sbi_init() to before
   the call to sbi_hart_switch_mode() in init_warmboot().
 - There was a 17.5 mW benefit from non-retentive suspend compared to
   WFI, with a 170 mW cost during the 107 us entry/exit period. This
   provides a break-even point around 1040 us. Residency includes entry
   latency, so round this up to 1100 us.
 - The hardware power sequence latency (after the WFI) is assumed to be
   negligible, so set the wakeup latency to the exit latency.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
2023-01-24 17:30:21 +05:30
..
allwinner platform: generic: allwinner: Advertise nonretentive suspend 2023-01-24 17:30:21 +05:30
andes platform: andes/ae350: Implement hart hotplug using HSM extension 2023-01-22 17:33:03 +05:30
configs generic/starfive: Add Starfive JH7110 platform implementation 2023-01-07 16:00:22 +05:30
include platform: andes/ae350: Implement hart hotplug using HSM extension 2023-01-22 17:33:03 +05:30
renesas/rzfive platform: renesas/rzfive: Configure Local memory regions as part of root domain 2023-01-23 11:29:03 +05:30
sifive treewide: Replace TRUE/FALSE with true/false 2023-01-06 17:26:35 +05:30
starfive generic/starfive: Add Starfive JH7110 platform implementation 2023-01-07 16:00:22 +05:30
Kconfig lib: utils: atcsmu: Add Andes System Management Unit support 2023-01-22 17:32:50 +05:30
objects.mk platform: Remove redundant config.mk from all platforms 2022-08-08 09:34:25 +05:30
platform.c platform: generic: Allow platform_override to perform firmware init 2023-01-07 15:58:54 +05:30
platform_override_modules.carray platform: generic: Generate platform override module list at compile-time 2022-05-13 09:27:18 +05:30