mbox series

[0/1] arm-bsp/u-boot: corstone1000: scatter gather list workaround for ondisk capsule update

Message ID 20231109105803.1577272-1-emekcan.aras@arm.com
Headers show
Series arm-bsp/u-boot: corstone1000: scatter gather list workaround for ondisk capsule update | expand

Message

Emekcan Aras Nov. 9, 2023, 10:58 a.m. UTC
From: Emekcan Aras <emekcan.aras@arm.com>

Corstone1000 capsule update implementation does not support use of
scatter_gather_list. This workaround passes 1 as scatter_gather_list value
to pass the NULL checks for scatter_gather_list while
CAPSULE_FLAGS_PERSIST_ACROSS_RESET flag is set (which is introduced lately to
align with UEFI specs). Since these flag checks are not implemented in u-boot
properly and corstone1000 does not support scatter_gather_list during capsule
update, this patch will skip the check only for on-disk capsule update.
This will be fixed with new capsule update design.

Emekcan Aras (1):
  arm-bsp/u-boot: corstone1000: scatter gather list workaround for
    ondisk capsule update

 .../u-boot/u-boot-corstone1000.inc            |  1 +
 .../0041-scatter-gather-flag-workaround.patch | 39 +++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0041-scatter-gather-flag-workaround.patch

Comments

Jon Mason Nov. 10, 2023, 3:03 p.m. UTC | #1
On Thu, 09 Nov 2023 10:58:02 +0000, emekcan.aras@arm.com wrote:
> From: Emekcan Aras <emekcan.aras@arm.com>
> 
> Corstone1000 capsule update implementation does not support use of
> scatter_gather_list. This workaround passes 1 as scatter_gather_list value
> to pass the NULL checks for scatter_gather_list while
> CAPSULE_FLAGS_PERSIST_ACROSS_RESET flag is set (which is introduced lately to
> align with UEFI specs). Since these flag checks are not implemented in u-boot
> properly and corstone1000 does not support scatter_gather_list during capsule
> update, this patch will skip the check only for on-disk capsule update.
> This will be fixed with new capsule update design.
> 
> [...]

Applied, thanks!

[1/1] arm-bsp/u-boot: corstone1000: scatter gather list workaround for ondisk capsule update
      commit: a703cdf09b64c553a1c0ceb6442fe87873cf651e

Best regards,