FYI, we noticed the following commit (built with gcc-7):
commit: 7b5b51e7b3a988741f7f34d5148f1f4fea86434a ("[PATCH v6 11/11] arm64: annotate user pointers casts detected by sparse")
url: https://github.com/0day-ci/linux/commits/Andrey-Konovalov/arm64-untag-user-pointers-passed-to-the-kernel/20180831-042151
in testcase: kvm-unit-tests
with following parameters:
on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge -smp 4 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
ignored_by_lkp: pku
ignored_by_lkp: taskswitch
ignored_by_lkp: vmware_backdoors
2018-09-13 17:39:56 ./run_tests.sh
[31mFAIL[0m apic-split (timeout; duration=90s)
[33mSKIP[0m ioapic-split (qemu: could not load kernel '_NO_FILE_4Uhere_': No such file or directory)
[31mFAIL[0m apic (timeout; duration=30)
[32mPASS[0m ioapic (19 tests)
[32mPASS[0m smptest (1 tests)
[33mSKIP[0m smptest3 (Try '�=p� --help' for more information.)
[33mSKIP[0m vmexit_cpuid (You can set a custom location by using the QEMU=<path> environment variable.)
[31mFAIL[0m vmexit_vmcall
[31mFAIL[0m vmexit_mov_from_cr8
[31mFAIL[0m vmexit_mov_to_cr8
[32mPASS[0m vmexit_inl_pmtimer
[33mSKIP[0m vmexit_ipi (: '': No such file or directory)
[33mSKIP[0m vmexit_ipi_halt (: '': No such file or directory)
[33mSKIP[0m vmexit_ple_round_robin (You can set a custom location by using the QEMU=<path> environment variable.)
[31mFAIL[0m vmexit_tscdeadline (terminated on SIGPIPE)
[33mSKIP[0m vmexit_tscdeadline_immed (No Qemu test device support found)
[33mSKIP[0m access (qemu-system-x86_64: CPU model 'host' requires KVM)
[33mSKIP[0m smap (You can set a custom location by using the QEMU=<path> environment variable.)
[31mFAIL[0m emulator
[33mSKIP[0m eventinj (You can set a custom location by using the QEMU=<path> environment variable.)
[31mFAIL[0m hypercall (timeout; duration=90s)
[32mPASS[0m idt_test
[33mSKIP[0m memory (�: : No such file or directory)
[31mFAIL[0m msr
[33mSKIP[0m pmu (qemu-system-x86_64: CPU model 'host' requires KVM)
[32mPASS[0m port80
[31mFAIL[0m realmode
[33mSKIP[0m s3 (Try '� --help' for more information.)
[31mFAIL[0m sieve
[31mFAIL[0m syscall wrong CS (0x08)!)
FAIL: syscall TF handling)
(2 tests, 1 unexpected failures)
[33mSKIP[0m tsc (You can set a custom location by using the QEMU=<path> environment variable.)
[33mSKIP[0m tsc_adjust (qemu-system-x86_64: CPU model 'host' requires KVM)
[33mSKIP[0m xsave (qemu-system-x86_64: CPU model 'host' requires KVM)
[31mFAIL[0m rmap_chain
[31mFAIL[0m svm (10 tests, 4 unexpected failures)
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Rong, Chen