[U-Boot] [PATCH v9 6/9] x86: slimbootloader: Set TSC information for tsc_timer
Bin Meng
bmeng.cn at gmail.com
Thu Aug 8 14:53:50 UTC 2019
On Thu, Aug 8, 2019 at 10:35 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Sat, Aug 3, 2019 at 4:30 PM Park, Aiden <aiden.park at intel.com> wrote:
> >
> > Slim Bootloader already calibrated TSC and provides it to U-Boot.
> > Therefore, U-Boot does not have to re-calibrate TSC.
> > Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass
> > TSC calibration and use the provided TSC frequency.
> > - Get TSC frequency from performance info hob
> > - Set tsc_base and clock_rate for tsc_timer driver
> >
> > Signed-off-by: Aiden Park <aiden.park at intel.com>
> > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> > Changes in v6:
> > * Use EFI_GUID
> > * Add more comments while setting tsc_base and clock_rate
> > * Apply code-review comments
> >
> > Changes in v3:
> > * Use HOB function from the common HOB library
> >
> > arch/x86/cpu/slimbootloader/slimbootloader.c | 37 +++++++++++++++++++
> > .../asm/arch-slimbootloader/slimbootloader.h | 28 ++++++++++++++
> > 2 files changed, 65 insertions(+)
> >
>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list