aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2020-06-01 15:47:26 +0000
committerPaolo Bonzini <[email protected]>2020-06-01 15:58:23 +0000
commit13ffbd8db1dd43d63d086517872a4e702a6bf309 (patch)
treeb2b25f1286eaaa06d571bf5b6ee1d0b149faf2c7 /drivers/net/ethernet/intel/igc/igc_main.c
parentMerge branch 'kvm-master' into HEAD (diff)
downloadkernel-13ffbd8db1dd43d63d086517872a4e702a6bf309.tar.gz
kernel-13ffbd8db1dd43d63d086517872a4e702a6bf309.zip
KVM: selftests: fix rdtsc() for vmx_tsc_adjust_test
vmx_tsc_adjust_test fails with: IA32_TSC_ADJUST is -4294969448 (-1 * TSC_ADJUST_VALUE + -2152). IA32_TSC_ADJUST is -4294969448 (-1 * TSC_ADJUST_VALUE + -2152). IA32_TSC_ADJUST is 281470681738540 (65534 * TSC_ADJUST_VALUE + 4294962476). ==== Test Assertion Failure ==== x86_64/vmx_tsc_adjust_test.c:153: false pid=19738 tid=19738 - Interrupted system call 1 0x0000000000401192: main at vmx_tsc_adjust_test.c:153 2 0x00007fe1ef8583d4: ?? ??:0 3 0x0000000000401201: _start at ??:? Failed guest assert: (adjust <= max) The problem is that is 'tsc_val' should be u64, not u32 or the reading gets truncated. Fixes: 8d7fbf01f9afc ("KVM: selftests: VMX preemption timer migration test") Signed-off-by: Vitaly Kuznetsov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions