Masahisa Kojima
584a2ada6e
efi_loader: fix append write behavior to non-existent variable
...
Current "variables" efi_selftest result is inconsistent
between the U-Boot file storage and the tee-based StandaloneMM
RPMB secure storage.
U-Boot file storage implementation does not accept SetVariale
call to non-existent variable with EFI_VARIABLE_APPEND_WRITE,
it return EFI_NOT_FOUND.
However it is accepted and new variable is created in EDK II
StandaloneMM implementation if valid data and size are specified.
If data size is 0, EFI_SUCCESS is returned.
Since UEFI specification does not clearly describe the behavior
of the append write to non-existent variable, let's update
the U-Boot file storage implementation to get aligned with
the EDK II reference implementation.
Signed-off-by: Masahisa Kojima <kojima.masahisa@socionext.com >
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
2024-04-08 13:01:13 +02:00
..
2024-03-27 09:15:39 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-01-18 08:31:02 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-03-07 07:41:41 -05:00
2024-01-13 18:17:46 +01:00
2024-02-28 14:38:47 +01:00
2024-04-08 13:01:13 +02:00
2024-04-08 13:01:13 +02:00
2024-01-13 18:17:47 +01:00
2023-12-21 08:54:37 -05:00
2020-04-26 14:23:55 -06:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-18 17:50:27 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-01-22 17:47:57 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-09-24 09:54:57 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2018-09-18 00:01:18 -06:00
2024-03-21 06:56:13 +01:00
2023-12-21 08:54:37 -05:00
2011-01-18 23:38:08 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-04-21 14:32:40 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-05-18 21:19:23 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2021-05-24 14:21:30 -04:00
2021-04-14 15:06:08 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-07 13:45:07 -07:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-02-09 09:42:04 +01:00
2024-03-13 18:47:11 -04:00
2023-12-18 09:55:32 -05:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2012-12-13 11:46:07 -07:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-10-17 20:50:52 -04:00
2023-12-21 08:54:37 -05:00
2024-01-09 14:58:33 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2021-06-11 16:34:52 +05:30
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-02-02 19:57:45 +01:00
2024-03-27 09:23:30 +01:00
2020-08-24 14:11:31 -04:00
2023-08-08 17:05:43 -04:00
2023-12-21 08:54:37 -05:00
2024-01-09 10:08:52 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-01-19 18:11:34 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-26 14:17:55 +01:00
2023-12-21 08:54:37 -05:00
2019-05-05 08:48:50 -04:00