Re: [PATCH] driver: rng: Do not check ARM_SMCCC_TRNG_VERSION

2024-07-10 Thread Weizhao Ouyang
t; number, it also can be used to detect whether the TRNG is supported or > not. LGTM. Reviewed-by: Weizhao Ouyang BR, Weizhao > > Signed-off-by: Leo Yan > --- > drivers/rng/smccc_trng.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/rng/smccc_trng.c

Re: [PATCH v2] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-05-12 Thread Weizhao Ouyang
On Fri, May 10, 2024 at 5:23 PM Heinrich Schuchardt wrote: > > On 5/8/24 13:13, Weizhao Ouyang wrote: > > According to UEFI v2.10 spec section 8.2.6, if a caller invokes the > > SetVariables() service, it will produce a digest from hash(VariableName, > > VendorGui

Re: [PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
On Wed, May 8, 2024 at 9:56 PM Ilias Apalodimas wrote: > > > > > > + * > > > + * Get a possible efi system partition by expanding a boot option > > > + * file path. > > > + * > > > + * @boot_dev The device path pointing to a boot option > > > + * Return: The full ESP device path or NULL if

Re: [PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
On Wed, May 8, 2024 at 9:53 PM Heinrich Schuchardt wrote: > > On 5/8/24 14:59, Weizhao Ouyang wrote: > > On Wed, May 8, 2024 at 7:52 PM Heinrich Schuchardt > > wrote: > >> > >> On 5/8/24 13:24, Weizhao Ouyang wrote: > >>> When using Caps

Re: [PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
Hi Ilias, On Wed, May 8, 2024 at 9:47 PM Ilias Apalodimas wrote: > > Hi Weizhao, > > On Wed, 8 May 2024 at 14:24, Weizhao Ouyang wrote: > > > > When using CapsuleApp to execute on-disk update, it will choose the > > first boot option as BootNext entry to pe

Re: [PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
Hi Dan, Thanks for the suggestion, I'll fix them in the next patch. BR, Weizhao On Wed, May 8, 2024 at 8:04 PM Dan Carpenter wrote: > > On Wed, May 08, 2024 at 07:24:01PM +0800, Weizhao Ouyang wrote: > > diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule

Re: [PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
On Wed, May 8, 2024 at 7:52 PM Heinrich Schuchardt wrote: > > On 5/8/24 13:24, Weizhao Ouyang wrote: > > When using CapsuleApp to execute on-disk update, it will choose the > > first boot option as BootNext entry to perform the capsule update after > > a reboot. But a

[PATCH] efi_loader: capsule: detect possible ESP device path

2024-05-08 Thread Weizhao Ouyang
II, detect the possible ESP device path by expanding the media path. Fixes: f86fba8adbf3 ("efi_loader: auto-generate boot option for each blkio device") Signed-off-by: Weizhao Ouyang --- include/efi_loader.h | 6 ++ lib/efi_loader/efi_boottime.c | 15 ++--- lib/

[PATCH] arm: rockchip: using generic capsule update mechanism

2024-05-08 Thread Weizhao Ouyang
Currently Rockchip's capsule update mechanism only accepts capsules in form of a mmc partition, but a generic capsule update mechanism should be used to satisfy the universal requirements. Signed-off-by: Weizhao Ouyang --- arch/arm/mach-rockchip/board.c | 153

[PATCH v2] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-05-08 Thread Weizhao Ouyang
t -a" to create the authenticated variable, this append write will fail in the u-boot due to "hash check failed". This patch resumes writing the EFI_VARIABLE_APPEND_WRITE attr to ensure that the hash check is correct. And also update the "test_efi_secboot" test case to compliance

Re: [RFC PATCH] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-04-10 Thread Weizhao Ouyang
On Wed, Apr 10, 2024 at 8:09 PM Heinrich Schuchardt wrote: > > On 10.04.24 13:53, Weizhao Ouyang wrote: > > On Thu, Apr 4, 2024 at 1:48 AM Weizhao Ouyang wrote: > >> > >> Hi Heinrich, > >> > >> On Wed, Apr 3, 2024 at 10:54 PM Heinrich Schuch

[PATCH] efi_loader: using EFI_UNSUPPORTED for private authenticated variables

2024-04-10 Thread Weizhao Ouyang
Improve error message for UEFI SCT tests. Signed-off-by: Weizhao Ouyang --- lib/efi_loader/efi_variable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index 2951dc78c7..e6c1219a11 100644 --- a/lib/efi_loader/efi_variable.c

Re: [RFC PATCH] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-04-10 Thread Weizhao Ouyang
On Thu, Apr 4, 2024 at 1:48 AM Weizhao Ouyang wrote: > > Hi Heinrich, > > On Wed, Apr 3, 2024 at 10:54 PM Heinrich Schuchardt > wrote: > > > > On 27.03.24 15:06, Weizhao Ouyang wrote: > > > According to UEFI v2.10 spec section 8.2.6, if a caller invo

Re: [RFC PATCH] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-04-03 Thread Weizhao Ouyang
Hi Heinrich, On Wed, Apr 3, 2024 at 10:54 PM Heinrich Schuchardt wrote: > > On 27.03.24 15:06, Weizhao Ouyang wrote: > > According to UEFI v2.10 spec section 8.2.6, if a caller invokes the > > SetVariables() service, it will produce a digest from hash(VariableName, > >

[RFC PATCH] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-03-27 Thread Weizhao Ouyang
t -a" to create the authenticated variable, this append write will fail in the u-boot due to "hash check failed". This patch resumes writing the EFI_VARIABLE_APPEND_WRITE attr to ensure that the hash check is correct. And also update the "test_efi_secboot" test case to compliance

Re: [PATCH v2] board: rockchip: add Rockchip Toybrick TB-RK3588X board

2024-03-04 Thread Weizhao Ouyang
8ffe365f8dc7 ("arm64: dts: rockchip: Add devicetree support for > TB-RK3588X board") > 7140387ff49d ("dt-bindings: arm: rockchip: Add Toybrick TB-RK3588X") > > Signed-off-by: Elon Zhang Reviewed-by: Weizhao Ouyang BR, Weizhao > --- > Changes since v

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-03-04 Thread Weizhao Ouyang
Gentle ping. Not merged yet. BR, Weizhao On Thu, Jan 4, 2024 at 7:46 PM Weizhao Ouyang wrote: > > Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe > crashes. > > Signed-off-by: Weizhao Ouyang > --- > cmd/sf.c | 5 +++-- > 1 file changed, 3 in

[PATCH v4 3/3] cmd: rng: Add rng list command

2024-03-04 Thread Weizhao Ouyang
The 'rng list' command probes all RNG devices and list those devices that are successfully probed. Also update the help info. Reviewed-by: Heinrich Schuchardt Signed-off-by: Weizhao Ouyang --- v4: update doc/usage/cmd/rng.rst --- cmd/rng.c | 23 ++- doc/usage

[PATCH v4 2/3] driver: rng: Fix SMCCC TRNG crash

2024-03-04 Thread Weizhao Ouyang
Fix a SMCCC TRNG null pointer crash due to a failed smccc feature binding. Fixes: 53355bb86c25 ("drivers: rng: add smccc trng driver") Reviewed-by: Heinrich Schuchardt Signed-off-by: Weizhao Ouyang --- v3: add Fixes tag --- drivers/rng/smccc_trng.c | 2 +- 1 file changed, 1 inser

[PATCH v4 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-03-04 Thread Weizhao Ouyang
According to PSCI specification DEN0022F, PSCI_FEATURES is used to check whether the SMCCC is implemented by discovering SMCCC_VERSION. Signed-off-by: Weizhao Ouyang --- v3: remove fallback smc call v2: check SMCCC_ARCH_FEATURES --- drivers/firmware/psci.c | 5 - include/linux/arm-smccc.h

[PATCH v4 0/3] Random Number Generator fixes

2024-03-04 Thread Weizhao Ouyang
This series aim to fix smccc bind issue and add a list command for RNG devices. Changelog: v3 --> v4 - update doc/usage/cmd/rng.rst v2 --> v3 - remove fallback smc call - add Fixes tag v1 --> v2 - check SMCCC_ARCH_FEATURES - update commit message and rng help info Weizhao

Re: [PATCH v3 3/3] cmd: rng: Add rng list command

2024-02-06 Thread Weizhao Ouyang
Hi Tom, On Tue, Feb 6, 2024 at 2:14 AM Tom Rini wrote: > > On Wed, Jan 31, 2024 at 02:14:26PM +, Weizhao Ouyang wrote: > > > The 'rng list' command probes all RNG devices and list those devices > > that are successfully probed. Also update the help info. > >

Re: [PATCH v2 2/3] rockchip: rk35xx: Enable eMMC HS200 mode by default

2024-02-05 Thread Weizhao Ouyang
ore reliably than slower modes on > RK35xx boards. Enable MMC_HS200_SUPPORT Kconfig option by default to > prefer use of HS200 mode on RK356x and RK3588. > > Signed-off-by: Jonas Karlman Reviewed-by: Weizhao Ouyang BR, Weizhao > --- > Changes in v2: > - Imply MMC_HS200_SUPPORT and SPL_MM

Re: [PATCH v2 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-02-05 Thread Weizhao Ouyang
tsi files. > > Signed-off-by: Jonas Karlman Reviewed-by: Weizhao Ouyang BR, Weizhao > --- > Changes in v2: > - Update commit message > > Link to v1: https://patchwork.ozlabs.org/patch/1891695/ > --- > arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi | 1 - > arch/arm/dts/rk356

Re: [PATCH 01/18] rockchip: rk3588: use mainline pmu-grf compatible

2024-02-01 Thread Weizhao Ouyang
On Tue, Jan 23, 2024 at 10:50 PM Quentin Schulz wrote: > > From: Heiko Stuebner > > The compatible for the pmugrf in the mainline kernel is dfferent from the > one currently used in u-boot. Adapt the -u-boot.dtsi and syscon driver > to use the correct compatible. Reviewed-

Re: [PATCH v3 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-02-01 Thread Weizhao Ouyang
Hi Igor, On Thu, Feb 1, 2024 at 10:36 PM Igor Opaniuk wrote: > > Hello Weizhao, > > On Wed, Jan 31, 2024 at 3:15 PM Weizhao Ouyang wrote: > > > > According to PSCI specification DEN0022F, PSCI_FEATURES is used to check > > whether the SMCCC is implemente

Re: [PATCH v3 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-02-01 Thread Weizhao Ouyang
Hi Abdellatif, On Thu, Feb 1, 2024 at 7:40 PM Abdellatif El Khlifi wrote: > > Hi Weizhao, > > > - if (request_psci_features(ARM_SMCCC_ARCH_FEATURES) == > > + if (request_psci_features(ARM_SMCCC_VERSION) == > > PSCI_RET_NOT_SUPPORTED) > > return 0; > > > > + if

Re: [PATCH 3/3] rockchip: rk3588: Enable eMMC HS200 mode

2024-01-31 Thread Weizhao Ouyang
On Sat, Jan 27, 2024 at 7:27 AM Jonas Karlman wrote: > > Writing to eMMC using HS200 mode work more reliably then other modes on > RK3588 boards. > > Enable MMC_HS200_SUPPORT Kconfig option to prefer use of HS200 mode. > > Signed-off-by: Jonas Karlman Reviewed-by: Weizhao

Re: [PATCH 2/3] rockchip: rk356x: Enable eMMC HS200 mode

2024-01-31 Thread Weizhao Ouyang
On Sat, Jan 27, 2024 at 10:32 AM Jonas Karlman wrote: > > Writing to eMMC using HS200 mode work more reliably then other modes on > RK356x boards. > > Enable MMC_HS200_SUPPORT Kconfig option to prefer use of HS200 mode. > > Signed-off-by: Jonas Karlman Reviewed-by: Weizhao

[PATCH v3 3/3] cmd: rng: Add rng list command

2024-01-31 Thread Weizhao Ouyang
The 'rng list' command probes all RNG devices and list those devices that are successfully probed. Also update the help info. Reviewed-by: Heinrich Schuchardt Signed-off-by: Weizhao Ouyang --- cmd/rng.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git

[PATCH v3 2/3] driver: rng: Fix SMCCC TRNG crash

2024-01-31 Thread Weizhao Ouyang
Fix a SMCCC TRNG null pointer crash due to a failed smccc feature binding. Fixes: 53355bb86c25 ("drivers: rng: add smccc trng driver") Reviewed-by: Heinrich Schuchardt Signed-off-by: Weizhao Ouyang --- v3: add Fixes tag --- drivers/rng/smccc_trng.c | 2 +- 1 file changed, 1 inser

[PATCH v3 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-31 Thread Weizhao Ouyang
According to PSCI specification DEN0022F, PSCI_FEATURES is used to check whether the SMCCC is implemented by discovering SMCCC_VERSION. Signed-off-by: Weizhao Ouyang --- v3: remove fallback smc call v2: check SMCCC_ARCH_FEATURES --- drivers/firmware/psci.c | 5 - include/linux/arm-smccc.h

[PATCH v3 0/3] Random Number Generator fixes

2024-01-31 Thread Weizhao Ouyang
This series aim to fix smccc bind issue and add a list command for RNG devices. Changelog: v2 --> v3 - remove fallback smc call - add Fixes tag v1 --> v2 - check SMCCC_ARCH_FEATURES - update commit message and rng help info Weizhao Ouyang (3): firmware: psci: Fix bind_smccc_feature

Re: [PATCH v2 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-31 Thread Weizhao Ouyang
On Wed, Jan 31, 2024 at 8:27 PM Heinrich Schuchardt wrote: > > On 31.01.24 12:12, Weizhao Ouyang wrote: > > According to PSCI specification DEN0022F, PSCI_FEATURES is used to check > > whether the SMCCC is implemented by discovering SMCCC_VERSION. > > > >

[PATCH v2 3/3] cmd: rng: Add rng list command

2024-01-31 Thread Weizhao Ouyang
The 'rng list' command probes all RNG devices and list those devices that are successfully probed. Also update the help info. Signed-off-by: Weizhao Ouyang --- v2: update commit message and rng help info --- cmd/rng.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions

[PATCH v2 2/3] driver: rng: Fix SMCCC TRNG crash

2024-01-31 Thread Weizhao Ouyang
Fix a SMCCC TRNG null pointer crash due to a failed smccc feature binding. Reviewed-by: Heinrich Schuchardt Signed-off-by: Weizhao Ouyang --- drivers/rng/smccc_trng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rng/smccc_trng.c b/drivers/rng/smccc_trng.c index

[PATCH v2 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-31 Thread Weizhao Ouyang
According to PSCI specification DEN0022F, PSCI_FEATURES is used to check whether the SMCCC is implemented by discovering SMCCC_VERSION. Signed-off-by: Weizhao Ouyang --- v2: check SMCCC_ARCH_FEATURES --- drivers/firmware/psci.c | 9 - include/linux/arm-smccc.h | 6 ++ 2 files

[PATCH v2 0/3] Random Number Generator fixes

2024-01-31 Thread Weizhao Ouyang
This series aim to fix smccc bind issue and add a list command for RNG devices. Changelog: v1 --> v2 - check SMCCC_ARCH_FEATURES - update commit message and rng help info Weizhao Ouyang (3): firmware: psci: Fix bind_smccc_features psci check driver: rng: Fix SMCCC TRNG crash cmd: rng:

Re: [PATCH 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-28 Thread Weizhao Ouyang
Hi Abdellatif, On Fri, Jan 26, 2024 at 7:20 PM Abdellatif El Khlifi wrote: > > Hi Weizhao, > > On Thu, Jan 25, 2024 at 02:05:00PM +0000, Weizhao Ouyang wrote: > > According to PSCI specification DEN0022F, PSCI_FEATURES is used to check > > whether the SMCCC is im

Re: [PATCH 3/3] cmd: rng: Add rng list command

2024-01-25 Thread Weizhao Ouyang
On Thu, Jan 25, 2024 at 10:49 PM Heinrich Schuchardt wrote: > > On 25.01.24 15:05, Weizhao Ouyang wrote: > > Add rng list command to list all probed RNG device. > > Thank you for your contribution. > > Would the following be more accurate? > > The 'rng list'

[PATCH 3/3] cmd: rng: Add rng list command

2024-01-25 Thread Weizhao Ouyang
Add rng list command to list all probed RNG device. Signed-off-by: Weizhao Ouyang --- cmd/rng.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/cmd/rng.c b/cmd/rng.c index 52f722c7af..4818133f94 100644 --- a/cmd/rng.c +++ b/cmd/rng.c @@ -18,6 +18,19 @@ static int do_rng

[PATCH 2/3] driver: rng: Fix SMCCC TRNG crash

2024-01-25 Thread Weizhao Ouyang
Fix a SMCCC TRNG null pointer crash due to a failed smccc feature binding. Signed-off-by: Weizhao Ouyang --- drivers/rng/smccc_trng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rng/smccc_trng.c b/drivers/rng/smccc_trng.c index 3a4bb33941..3087cb991a 100644

[PATCH 1/3] firmware: psci: Fix bind_smccc_features psci check

2024-01-25 Thread Weizhao Ouyang
According to PSCI specification DEN0022F, PSCI_FEATURES is used to check whether the SMCCC is implemented by discovering SMCCC_VERSION. Signed-off-by: Weizhao Ouyang --- drivers/firmware/psci.c | 2 +- include/linux/arm-smccc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff

[PATCH 0/3] Random Number Generator fixes

2024-01-25 Thread Weizhao Ouyang
This series aim to fix smccc bind issue and add a list command for RNG devices. Weizhao Ouyang (3): firmware: psci: Fix bind_smccc_features psci check driver: rng: Fix SMCCC TRNG crash cmd: rng: Add rng list command cmd/rng.c | 15 +++ drivers/firmware/psci.c

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
On Thu, Jan 4, 2024 at 8:29 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Thu, Jan 4, 2024 at 1:16 PM Weizhao Ouyang wrote: > > > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > > > > > > > > > > > > On 1/4/24

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
On Thu, Jan 4, 2024 at 8:21 PM Michal Simek wrote: > > > > On 1/4/24 13:15, Weizhao Ouyang wrote: > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > >> > >> > >> > >> On 1/4/24 12:46, Weizhao Ouyang wrote: > >>> Han

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > > > > On 1/4/24 12:46, Weizhao Ouyang wrote: > > Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe > > crashes. > > > > Signed-off-by: Weizhao Ouyang > > --- > > cmd/sf.c |

[PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe crashes. Signed-off-by: Weizhao Ouyang --- cmd/sf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/sf.c b/cmd/sf.c index 730996c02b..e3866899f6 100644 --- a/cmd/sf.c +++ b/cmd/sf.c @@ -135,8

Re: [RESEND PATCH v2] efi_loader: Fix UEFI variable error handling

2023-11-15 Thread Weizhao Ouyang
On Wed, Nov 15, 2023 at 6:15 PM Heinrich Schuchardt wrote: > > On 11/13/23 17:10, Weizhao Ouyang wrote: > > Try to catch error the earlier way. > > > > Signed-off-by: Weizhao Ouyang > > --- > > lib/efi_loader/efi_var_file.c | 4 +++- > > lib/efi_

[RESEND PATCH v2] efi_loader: Fix UEFI variable error handling

2023-11-13 Thread Weizhao Ouyang
Try to catch error the earlier way. Signed-off-by: Weizhao Ouyang --- lib/efi_loader/efi_var_file.c | 4 +++- lib/efi_loader/efi_variable.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c index 62e071bd83

[PATCH v2] efi_loader: Fix UEFI error handling

2023-11-13 Thread Weizhao Ouyang
Try to catch error the earlier way. Signed-off-by: Weizhao Ouyang --- Changes in v2: - Avoid to stop the boot process. lib/efi_loader/efi_var_file.c | 4 +++- lib/efi_loader/efi_variable.c | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_var_file.c b

Re: [PATCH 1/1] efi_loader: improve efi_var_from_file() description

2023-11-13 Thread Weizhao Ouyang
On Mon, Nov 13, 2023 at 10:50 PM Heinrich Schuchardt wrote: > > It is unclear to developers why efi_var_from_file() returns EFI_SUCCESS if > file ubootefi.var is missing or corrupted. Improve the description. > > Reported-by: Weizhao Ouyang > Signed-off-by: Heinrich Schuch

Re: [PATCH] efi_loader: Fix UEFI variable error handling

2023-11-12 Thread Weizhao Ouyang
On Fri, Nov 10, 2023 at 9:12 PM Heinrich Schuchardt wrote: > > > > Am 10. November 2023 11:04:24 MEZ schrieb Ilias Apalodimas > : > >Hi Heinrich, Weizhao > > > >On Thu, 9 Nov 2023 at 15:57, Heinrich Schuchardt wrote: > >> > >> On 11/9/23 04

Re: [PATCH] efi_loader: Fix UEFI variable error handling

2023-11-09 Thread Weizhao Ouyang
On Thu, Nov 9, 2023 at 9:57 PM Heinrich Schuchardt wrote: > > On 11/9/23 04:55, Weizhao Ouyang wrote: > > Correct some UEFI variable error handing code paths. > > > > Signed-off-by: Weizhao Ouyang > > --- > > lib/efi_loader/efi_var_file.c | 1 + >

[PATCH] efi_loader: Fix UEFI variable error handling

2023-11-09 Thread Weizhao Ouyang
Correct some UEFI variable error handing code paths. Signed-off-by: Weizhao Ouyang --- lib/efi_loader/efi_var_file.c | 1 + lib/efi_loader/efi_variable.c | 8 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c

Re: [PATCH] scripts/Makefile.lib: print error when no public key is specified

2023-11-02 Thread Weizhao Ouyang
specified when CONFIG_EFI_CAPSULE_AUTHENTICATE is > enabled") > +else > $(call cmd_capsule_esl_gen) > +endif > > capsule_esl_input_file=$(srctree)/lib/efi_loader/capsule_esl.dtsi.in > capsule_esl_dtsi = .capsule_esl.dtsi > -- > 2.34.1 > Reviewed-by: Weizhao Ouyang

[PATCH] cyclic: doc: Update documentation for CONFIG_CYCLIC_MAX_CPU_TIME_US

2023-10-07 Thread Weizhao Ouyang
Cyclic now just print a warning once instead of disabling the cyclic function when the cyclic function upon exceeding CPU time usage. Fixes: ddc8d36a7455 ("cyclic: Don't disable cylic function upon exceeding CPU time") Signed-off-by: Weizhao Ouyang --- doc/develop/cyclic.rst | 4 ++