Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-03-01 Thread Masami Hiramatsu
Hi Simon, 2022年3月1日(火) 23:58 Simon Glass : > > Hi Masami, > > On Mon, 28 Feb 2022 at 00:53, Masami Hiramatsu > wrote: > > > > Hi Simon, > > > > BTW, I saw the below code in the sysreset-uclass.c. It seems if I pass > > 0 to argc, it seems to do SYSRESET_COLD, isn't it? > > Yes, but we should use

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-03-01 Thread Simon Glass
Hi Masami, On Mon, 28 Feb 2022 at 00:53, Masami Hiramatsu wrote: > > Hi Simon, > > BTW, I saw the below code in the sysreset-uclass.c. It seems if I pass > 0 to argc, it seems to do SYSRESET_COLD, isn't it? Yes, but we should use the driver interface to do things, not the command-line interface

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-27 Thread Masami Hiramatsu
Hi Simon, BTW, I saw the below code in the sysreset-uclass.c. It seems if I pass 0 to argc, it seems to do SYSRESET_COLD, isn't it? int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { enum sysreset_t reset_type = SYSRESET_COLD; if (argc > 2)

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-27 Thread Masami Hiramatsu
Hi Simon, 2022年2月27日(日) 3:37 Simon Glass : > > Hi Masami, > > On Thu, 3 Feb 2022 at 02:23, Masami Hiramatsu > wrote: > > > > Add a cold reset soon after processing capsule update on disk. > > This is required in UEFI specification 2.9 Section 8.5.5 > > "Delivery of Capsules via file on Mass Stora

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-26 Thread Simon Glass
Hi Masami, On Thu, 3 Feb 2022 at 02:23, Masami Hiramatsu wrote: > > Add a cold reset soon after processing capsule update on disk. > This is required in UEFI specification 2.9 Section 8.5.5 > "Delivery of Capsules via file on Mass Storage device" as; > > In all cases that a capsule is identif

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-13 Thread Masami Hiramatsu
Hi Takahiro, 2022年2月14日(月) 10:06 AKASHI Takahiro : > > On Sun, Feb 13, 2022 at 11:17:37AM +0100, Heinrich Schuchardt wrote: > > On 2/13/22 10:01, Heinrich Schuchardt wrote: > > > On 2/3/22 10:23, Masami Hiramatsu wrote: > > > > Add a cold reset soon after processing capsule update on disk. > > > >

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-13 Thread AKASHI Takahiro
On Sun, Feb 13, 2022 at 11:17:37AM +0100, Heinrich Schuchardt wrote: > On 2/13/22 10:01, Heinrich Schuchardt wrote: > > On 2/3/22 10:23, Masami Hiramatsu wrote: > > > Add a cold reset soon after processing capsule update on disk. > > > This is required in UEFI specification 2.9 Section 8.5.5 > > >

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-13 Thread Heinrich Schuchardt
On 2/13/22 10:01, Heinrich Schuchardt wrote: On 2/3/22 10:23, Masami Hiramatsu wrote: Add a cold reset soon after processing capsule update on disk. This is required in UEFI specification 2.9 Section 8.5.5 "Delivery of Capsules via file on Mass Storage device" as; In all cases that a capsu

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-13 Thread Heinrich Schuchardt
On 2/3/22 10:23, Masami Hiramatsu wrote: Add a cold reset soon after processing capsule update on disk. This is required in UEFI specification 2.9 Section 8.5.5 "Delivery of Capsules via file on Mass Storage device" as; In all cases that a capsule is identified for processing the system is

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-08 Thread Masami Hiramatsu
Hi Takahiro, 2022年2月9日(水) 12:13 AKASHI Takahiro : > > On Thu, Feb 03, 2022 at 06:23:27PM +0900, Masami Hiramatsu wrote: > > Add a cold reset soon after processing capsule update on disk. > > This is required in UEFI specification 2.9 Section 8.5.5 > > "Delivery of Capsules via file on Mass Storage

Re: [PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-08 Thread AKASHI Takahiro
On Thu, Feb 03, 2022 at 06:23:27PM +0900, Masami Hiramatsu wrote: > Add a cold reset soon after processing capsule update on disk. > This is required in UEFI specification 2.9 Section 8.5.5 > "Delivery of Capsules via file on Mass Storage device" as; > > In all cases that a capsule is identifi

[PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-03 Thread Masami Hiramatsu
Add a cold reset soon after processing capsule update on disk. This is required in UEFI specification 2.9 Section 8.5.5 "Delivery of Capsules via file on Mass Storage device" as; In all cases that a capsule is identified for processing the system is restarted after capsule processing is co