[PATCH v4 0/1] i386: Make pmtimer tsc calibration not take 51 seconds to fail

2022-07-28 Thread Robbie Harwood
This version is to address comments from dkiper's review: - Dropped GRUB_PMTIMER_IGNORE_BAD_READS. The "define this to turn a behavior off" was too confusing, especially since it hid which case (defined or no) we cared about. - Move a grub_dprintf() to be more relevant. - Adjust type of num_i

[PATCH v4 1/1] i386: Make pmtimer tsc calibration not take 51 seconds to fail

2022-07-28 Thread Robbie Harwood
From: Peter Jones On my laptop running at 2.4GHz, if I run a VM where tsc calibration using pmtimer will fail presuming a broken pmtimer, it takes ~51 seconds to do so (as measured with the stopwatch on my phone), with a tsc delta of 0x1cd1c85300, or around 125 billion cycles. If instead of tryi

Re: [PATCH 1/1] gensymlist: fix clang build with exporting of __builtin_trap

2022-07-28 Thread Darren Kenny
Hi Glenn, Finally managed to get a look at this again, and I agree Glenn that your patch fixes this issue too, so I withdraw my patch. Thanks, Darren. On Tuesday, 2022-06-14 at 13:18:43 -05, Glenn Washburn wrote: > On Tue, 14 Jun 2022 18:55:18 +0200 > "Vladimir 'phcoder' Serbinenko" wrote: > >