Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2015-11-30 Thread Vitaly Kuznetsov
Andrei Borzenkov writes: > 30.11.2015 19:50, Andrei Borzenkov пишет: >> 30.11.2015 19:31, Vitaly Kuznetsov пишет: >>> Andrei Borzenkov writes: >>> 26.11.2014 11:59, Laszlo Ersek пишет: > HyperV Gen2 virtual machines have no PIT; guest code

Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2015-11-30 Thread Vitaly Kuznetsov
Andrei Borzenkov writes: > 26.11.2014 11:59, Laszlo Ersek пишет: >> HyperV Gen2 virtual machines have no PIT; guest code should rely on UEFI >> services instead. >> > > Could you retest with current master? It now supports multiple methods > to calibrate TSC and should

Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2015-11-30 Thread Andrei Borzenkov
30.11.2015 19:31, Vitaly Kuznetsov пишет: > Andrei Borzenkov writes: > >> 26.11.2014 11:59, Laszlo Ersek пишет: >>> HyperV Gen2 virtual machines have no PIT; guest code should rely on UEFI >>> services instead. >>> >> >> Could you retest with current master? It now supports

Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2015-11-30 Thread Andrei Borzenkov
30.11.2015 19:50, Andrei Borzenkov пишет: > 30.11.2015 19:31, Vitaly Kuznetsov пишет: >> Andrei Borzenkov writes: >> >>> 26.11.2014 11:59, Laszlo Ersek пишет: HyperV Gen2 virtual machines have no PIT; guest code should rely on UEFI services instead. >>> >>>

Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2015-11-30 Thread Michael Chang
On Mon, Nov 30, 2015 at 08:34:18PM +0300, Andrei Borzenkov wrote: > 30.11.2015 19:50, Andrei Borzenkov пишет: > > 30.11.2015 19:31, Vitaly Kuznetsov пишет: > >> Andrei Borzenkov writes: > >> > >>> 26.11.2014 11:59, Laszlo Ersek пишет: > HyperV Gen2 virtual machines have

RE: grub causing NVDIMMs to be treated as normal memory

2015-11-30 Thread Elliott, Robert (Persistent Memory)
> grub-core/efiemu/mm.c: > * efiemu_alloc_requests reqorder[] - add GRUB_EFI_PERSISTENT_MEMORY > (although we don't want to encourage ever allocating these >ranges, UNUSABLE_MEMORY is already there) Reviewing that code, since this array has one entry per EFI memory type: static grub_size_t