lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri,  8 Dec 2017 11:24:43 -0500
From:   Pavel Tatashin <pasha.tatashin@...cle.com>
To:     steven.sistare@...cle.com, daniel.m.jordan@...cle.com,
        pbonzini@...hat.com, rkrcmar@...hat.com, tglx@...utronix.de,
        mingo@...hat.com, hpa@...or.com, x86@...nel.org,
        douly.fnst@...fujitsu.com, peterz@...radead.org,
        kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/1] make kvm to determin tsc frequency earlier

Initialize tsc earlier by initializing the KVM clock at the same point in
boot as other paravirtualized clocks.

Here is how this work benefits time stamp output:

1. Current:
https://paste.ubuntu.com/26133428
time keeping starts from line 873, and precise tsc time starts only from
line 916.

2. Early boot time stamps [https://lkml.org/lkml/2017/11/15/925] without
this patch:
https://paste.ubuntu.com/26133441
precise time keeping starts from line 444.

3. This patch plus the early boot time stamps patch series:
https://paste.ubuntu.com/26133523
time keeping starts from line 68.

Pavel Tatashin (1):
  kvm/x86: make kvm to determin tsc frequency earlier

 arch/x86/include/asm/kvm_para.h |  2 +-
 arch/x86/kernel/kvm.c           |  2 ++
 arch/x86/kernel/kvmclock.c      | 67 ++++++++++++++++++++++++++++-------------
 arch/x86/kernel/setup.c         |  6 +---
 4 files changed, 50 insertions(+), 27 deletions(-)

-- 
2.15.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ