Re: [PATCH V6 16/20] configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset support
On ven., août 25, 2023 at 13:03, Nishanth Menon wrote: > From: Jan Kiszka > > At this point, system shutdown is not supported by the DM firmware > that TF-A calls. As we can't de-select only this feature[1], declare > complete PSCI reset support as non-functional so that we don't signal > incomplete support to the OS via EFI runtime services. This makes > power-off under Linux work again when booting via EFI. > > [1] > https://uefi.org/specs/UEFI/2.9_A/08_Services_Runtime_Services.html?highlight=efiresetshutdown#resetsystem > Signed-off-by: Jan Kiszka > Signed-off-by: Nishanth Menon Reviewed-by: Mattijs Korpershoek > --- > New patch picked from Jan > https://lore.kernel.org/all/c93b19ed-43fe-44a2-9726-371fb9d2f...@web.de/ > Changes: > - modify am62x_evm as common change. > - slight update to $subject and commit message > > configs/am62x_evm_a53_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig > index 112125673699..a2729c1d0e36 100644 > --- a/configs/am62x_evm_a53_defconfig > +++ b/configs/am62x_evm_a53_defconfig > @@ -25,6 +25,7 @@ CONFIG_SPL_FS_FAT=y > CONFIG_SPL_LIBDISK_SUPPORT=y > CONFIG_SPL_SPI_FLASH_SUPPORT=y > CONFIG_SPL_SPI=y > +# CONFIG_PSCI_RESET is not set > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > CONFIG_SPL_LOAD_FIT=y > CONFIG_SPL_LOAD_FIT_ADDRESS=0x8100 > -- > 2.40.0
[PATCH V6 16/20] configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset support
From: Jan Kiszka At this point, system shutdown is not supported by the DM firmware that TF-A calls. As we can't de-select only this feature[1], declare complete PSCI reset support as non-functional so that we don't signal incomplete support to the OS via EFI runtime services. This makes power-off under Linux work again when booting via EFI. [1] https://uefi.org/specs/UEFI/2.9_A/08_Services_Runtime_Services.html?highlight=efiresetshutdown#resetsystem Signed-off-by: Jan Kiszka Signed-off-by: Nishanth Menon --- New patch picked from Jan https://lore.kernel.org/all/c93b19ed-43fe-44a2-9726-371fb9d2f...@web.de/ Changes: - modify am62x_evm as common change. - slight update to $subject and commit message configs/am62x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 112125673699..a2729c1d0e36 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs/am62x_evm_a53_defconfig @@ -25,6 +25,7 @@ CONFIG_SPL_FS_FAT=y CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y +# CONFIG_PSCI_RESET is not set # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_LOAD_FIT_ADDRESS=0x8100 -- 2.40.0