aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2024-01-09 14:11:19 +0000
committerSean Christopherson <[email protected]>2024-02-01 16:58:14 +0000
commit09951bf2cbb3a7893f76d1364b0ae6e3007ff1de (patch)
tree019184eb1ef6084978e7981fe709ba5ed6b69d43 /drivers/usb/cdns3/cdns3-imx.c
parentKVM: selftests: Use generic sys_clocksource_is_tsc() in vmx_nested_tsc_scalin... (diff)
downloadkernel-09951bf2cbb3a7893f76d1364b0ae6e3007ff1de.tar.gz
kernel-09951bf2cbb3a7893f76d1364b0ae6e3007ff1de.zip
KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too
KVM's 'gtod_is_based_on_tsc()' recognizes two clocksources: 'tsc' and 'hyperv_clocksource_tsc_page' and enables kvmclock in 'masterclock' mode when either is in use. Transform 'sys_clocksource_is_tsc()' into 'sys_clocksource_is_based_on_tsc()' to support the later. This affects two tests: kvm_clock_test and vmx_nested_tsc_scaling_test, both seem to work well when system clocksource is 'hyperv_clocksource_tsc_page'. Signed-off-by: Vitaly Kuznetsov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions