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:   Wed,  1 Dec 2021 10:46:48 +0800
From:   zhenwei pi <pizhenwei@...edance.com>
To:     tglx@...utronix.de, pbonzini@...hat.com
Cc:     kvm@...r.kernel.org, linux-kernel@...r.kernel.org, x86@...nel.org,
        zhenwei pi <pizhenwei@...edance.com>
Subject: [PATCH v2 0/2] Introduce x86_get_cpufreq_khz()

v2:
 - Rename x86_get_freq() to x86_get_cpufreq_khz() to make function
   specific. (Suggested by Thomas Gleixner)
 - Use cpu_feature_enabled(X86_FEATURE_TSC) instead of
   cpu_has(&cpu_data(cpu), X86_FEATURE_TSC) to test feature.
   (Suggested by Thomas Gleixner)
 - Spell fixes. (Suggested by Thomas Gleixner)

v1:
 - Introduce x86_get_freq(), hide detailed implemention from proc
   routine.
 - KVM uses x86_get_freq() to get CPU frequecy.

zhenwei pi (2):
  x86/cpu: Introduce x86_get_cpufreq_khz()
  KVM: x86: use x86_get_freq to get freq for kvmclock

 arch/x86/include/asm/processor.h |  2 ++
 arch/x86/kernel/cpu/common.c     | 19 +++++++++++++++++++
 arch/x86/kernel/cpu/proc.c       | 13 +++----------
 arch/x86/kvm/x86.c               |  4 +---
 4 files changed, 25 insertions(+), 13 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ