This bug is awaiting verification that the linux/4.15.0-206.217 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: kernel-spammed-bionic-linux verification-needed-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1968681 Title: rdpru in ubuntu_kvm_unit_tests failed on B-4.15 node riccioli with FAIL: RDPRU raises #UD Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Fix Released Status in linux source package in Bionic: Fix Committed Bug description: [Impact] RDPRU, the Read Processor Register instruction of AMD Zen 2 processors is used to give access to some processor registers that are typically only accessible when the privilege level is zero. rdpru test in ubuntu_kvm_unit_tests is to check if the RDPRU instruction can be intercepted by the Hypervisor. Without this patchset, this test will fail on our AMD Zen 2 system "riccioli" with: FAIL: RDPRU raises #UD [Fix] * fb64f293 x86/cpufeatures: Add feature bit RDPRU on AMD * 0cb8410b kvm: svm: Intercept RDPRU We have these patches in newer releases already, only Bionic 4.15 requires this fix. The first patch needs to be backported with some context adjustment, the second can be cherry-picked. [Test] Test kernel can be found here: https://people.canonical.com/~phlin/kernel/lp-1968681-rdpru/ With the patched kernel, this rdpru test will pass on the target AMD Zen 2 system. $ sudo ./rdpru BUILD_HEAD=d6421940 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot \ -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 \ -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel \ /tmp/tmp.XOMVxpyNnl -smp 1 -cpu max # -initrd /tmp/tmp.I2TbGXFiaZ enabling apic smp: waiting for 0 APs PASS: RDPRU raises #UD SUMMARY: 1 tests PASS rdpru (1 tests) And the rdpru flag will be available in cpuinfo: $ grep -o rdpru /proc/cpuinfo rdpru [Where problems could occur] This patchset will add a new feature bit RDPRU for AMD Zen 2. We can expect to see new issues coming up when using this bit in the future. [Original Bug Report] Issue found on B-ibm-gt-4.15.0-1116.127 This can be reproduced with B-4.15.0-175 as well. This failure is only visible on this node. Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/rdpru' BUILD_HEAD=16647354 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.qGIR5tvTw1 -smp 1 -cpu max # -initrd /tmp/tmp.8JuYRCFRUi enabling apic FAIL: RDPRU raises #UD SUMMARY: 1 tests, 1 unexpected failures FAIL rdpru (1 tests, 1 unexpected failures) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1968681/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp