Re: [PATCH] Disable timer check in file loading

2021-07-15 Thread Michael Chang
On Thu, Jul 15, 2021 at 04:51:35PM +0200, Heinrich Schuchardt wrote: > On 7/8/21 10:22 AM, Michael Chang wrote: > > The u-boot efi console service registers a timer to poll the keyboard > > input in every 50ns. In the efi block io service, this timer is > > The event is triggered every 5000 ns not

Re: [PATCH] Disable timer check in file loading

2021-07-15 Thread Heinrich Schuchardt
On 7/8/21 10:22 AM, Michael Chang wrote: The u-boot efi console service registers a timer to poll the keyboard input in every 50ns. In the efi block io service, this timer is The event is triggered every 5000 ns not 50 ns. See lib/efi_loader/efi_console.c:1309. The SetTimer() parameter is in mu

[PATCH] Disable timer check in file loading

2021-07-08 Thread Michael Chang
The u-boot efi console service registers a timer to poll the keyboard input in every 50ns. In the efi block io service, this timer is evaluated on each block read, and since the timer interval is much less than the time needed to reading out a block (32kB) from the disk, the keyboard polling is the