[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Changed in: ubuntu-kernel-tests Status: In Progress => Fix Released ** Changed in: ubuntu-kernel-tests Assignee: (unassigned) => Po-Hsu Lin (cypressyew) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: Fix Released Status in linux package in Ubuntu: Fix Released Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux source package in Bionic: Fix Released Status in linux-oem-5.14 source package in Bionic: Invalid Status in linux source package in Focal: Fix Released Status in linux-oem-5.14 source package in Focal: Fix Released Status in linux source package in Impish: Fix Released Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Released Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal / KVM instance) * F (KVM instance) * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug was fixed in the package linux - 4.15.0-177.186 --- linux (4.15.0-177.186) bionic; urgency=medium * bionic/linux: 4.15.0-177.186 -proposed tracker (LP: #1969083) * Bionic update: upstream stable patchset 2022-04-13 (LP: #1968932) - cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug - vhost/vsock: don't check owner in vhost_vsock_stop() while releasing - parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel - parisc/unaligned: Fix ldw() and stw() unalignment handlers - sr9700: sanity check for packet length - USB: zaurus: support another broken Zaurus - ping: remove pr_err from ping_lookup - net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends - gso: do not skip outer ip header in case of ipip and net_failover - openvswitch: Fix setting ipv6 fields causing hw csum failure - drm/edid: Always set RGB444 - net/mlx5e: Fix wrong return value on ioctl EEPROM query failure - configfs: fix a race in configfs_{,un}register_subsystem() - RDMA/ib_srp: Fix a deadlock - iio: adc: men_z188_adc: Fix a resource leak in an error handling path - ata: pata_hpt37x: disable primary channel on HPT371 - Revert "USB: serial: ch341: add new Product ID for CH341A" - usb: gadget: rndis: add spinlock for rndis response list - tracefs: Set the group ownership in apply_options() not parse_options() - USB: serial: option: add support for DW5829e - USB: serial: option: add Telit LE910R1 compositions - usb: dwc3: gadget: Let the interrupt handler disable bottom halves. - xhci: re-initialize the HC during resume if HCE was set - xhci: Prevent futile URB re-submissions due to incorrect return value. - tty: n_gsm: fix encoding of control signal octet bit DV - tty: n_gsm: fix proper link termination after failed open - Revert "drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR" - memblock: use kfree() to release kmalloced memblock regions - fget: clarify and improve __fget_files() implementation - gpio: tegra186: Fix chip_data type confusion - tracing: Have traceon and traceoff trigger honor the instance - mac80211_hwsim: report NOACK frames in tx_status - mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work - i2c: bcm2835: Avoid clock stretching timeouts - Input: clear BTN_RIGHT/MIDDLE on buttonpads - cifs: fix double free race when mount fails in cifs_get_root() - dmaengine: shdma: Fix runtime PM imbalance on error - i2c: cadence: allow COMPILE_TEST - i2c: qup: allow COMPILE_TEST - net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990 - usb: gadget: don't release an existing dev->buf - usb: gadget: clear related members when goto fail - ata: pata_hpt37x: fix PCI clock detection - ALSA: intel_hdmi: Fix reference to PCM buffer address - ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min - xfrm: fix MTU regression - netfilter: fix use-after-free in __nf_register_net_hook() - xfrm: enforce validity of offload input flags - netfilter: nf_queue: don't assume sk is full socket - netfilter: nf_queue: fix possible use-after-free - batman-adv: Request iflink once in batadv-on-batadv check - batman-adv: Request iflink once in batadv_get_real_netdevice - batman-adv: Don't expect inter-netns unique iflink indices - net: dcb: flush lingering app table entries for unregistered devices - net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client - net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server - mac80211: fix forwarded mesh frames AC & queue selection - net: stmmac: fix return value of __setup handler - net: sxgbe: fix return value of __setup handler - net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe() - efivars: Respect "block" flag in efivar_entry_set_safe() - can: gs_usb: change active_channels's type from atomic_t to u8 - ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions - soc: fsl: qe: Check of ioremap return value - net: chelsio: cxgb3: check the return value of pci_find_capability() - nl80211: Handle nla_memdup failures in handle_nan_filter - Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power() - Input: elan_i2c - fix regulator enable count imbalance after suspend/resume - HID: add mapping for KEY_ALL_APPLICATIONS - memfd: fix F_SEAL_WRITE after shmem huge page allocated - net: dcb: disable softirqs in dcbnl_flush_dev() - hamradio: fix macro redefine warning - arm/arm64: Provide a wrapper for SMCCC 1.1 calls - arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit() - ARM: report Spectre v2 status through sysfs - ARM: early traps initialisation - ARM: use LOADADDR() to get load address of sections - [Config]
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug was fixed in the package linux-oem-5.14 - 5.14.0-1036.40 --- linux-oem-5.14 (5.14.0-1036.40) focal; urgency=medium * focal/linux-oem-5.14: 5.14.0-1036.40 -proposed tracker (LP: #1971982) * AMD APU s2idle is broken after the ASIC reset fix (LP: #1972134) - drm/amdgpu: unify BO evicting method in amdgpu_ttm - drm/amdgpu: explicitly check for s0ix when evicting resources * amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x to IRQ, err -517 (LP: #1971597) - gpio: Request interrupts after IRQ is initialized linux-oem-5.14 (5.14.0-1035.38) focal; urgency=medium * focal/linux-oem-5.14: 5.14.0-1035.38 -proposed tracker (LP: #1969056) * Packaging resync (LP: #1786013) - [Packaging] resync getabis * Mute/mic LEDs no function on EliteBook G9 platfroms (LP: #1970552) - ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops * Mute/mic LEDs no function on HP EliteBook 845/865 G9 (LP: #1970178) - ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook 845/865 G9 * Focal update: upstream stable patchset 2022-04-22 (LP: #1969892) - Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE"" - USB: serial: pl2303: add IBM device IDs - dt-bindings: usb: hcd: correct usb-device path - USB: serial: pl2303: fix GS type detection - USB: serial: simple: add Nokia phone driver - mm: kfence: fix missing objcg housekeeping for SLAB - HID: logitech-dj: add new lightspeed receiver id - HID: Add support for open wheel and no attachment to T300 - xfrm: fix tunnel model fragmentation behavior - ARM: mstar: Select HAVE_ARM_ARCH_TIMER - virtio_console: break out of buf poll on remove - vdpa/mlx5: should verify CTRL_VQ feature exists for MQ - tools/virtio: fix virtio_test execution - ethernet: sun: Free the coherent when failing in probing - gpio: Revert regression in sysfs-gpio (gpiolib.c) - spi: Fix invalid sgs value - net:mcf8390: Use platform_get_irq() to get the interrupt - Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)" - spi: Fix erroneous sgs value with min_t() - Input: zinitix - do not report shadow fingers - af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register - net: dsa: microchip: add spi_device_id tables - selftests: vm: fix clang build error multiple output files - locking/lockdep: Avoid potential access of invalid memory in lock_class - drm/amdgpu: move PX checking into amdgpu_device_ip_early_init - drm/amdgpu: only check for _PR3 on dGPUs - iommu/iova: Improve 32-bit free space estimate - tpm: fix reference counting for struct tpm_chip - usb: typec: tipd: Forward plug orientation to typec subsystem - USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c - xhci: fix garbage USBSTS being logged in some cases - xhci: fix runtime PM imbalance in USB2 resume - xhci: make xhci_handshake timeout for xhci_reset() adjustable - xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx() - mei: me: disable driver on the ign firmware - mei: me: add Alder Lake N device id. - mei: avoid iterator usage outside of list_for_each_entry - bus: mhi: Fix MHI DMA structure endianness - coresight: Fix TRCCONFIGR.QE sysfs interface - iio: afe: rescale: use s64 for temporary scale calculations - iio: inkern: apply consumer scale on IIO_VAL_INT cases - iio: inkern: apply consumer scale when no channel scale is available - iio: inkern: make a best effort on offset calculation - greybus: svc: fix an error handling bug in gb_svc_hello() - clk: uniphier: Fix fixed-rate initialization - ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE - cifs: fix handlecache and multiuser - cifs: we do not need a spinlock around the tree access during umount - KEYS: fix length validation in keyctl_pkey_params_get_2() - KEYS: asymmetric: enforce that sig algo matches key algo - KEYS: asymmetric: properly validate hash_algo and encoding - Documentation: add link to stable release candidate tree - Documentation: update stable tree link - firmware: stratix10-svc: add missing callback parameter on RSU - HID: intel-ish-hid: Use dma_alloc_coherent for firmware update - SUNRPC: avoid race between mod_timer() and del_timer_sync() - NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR - NFSD: prevent underflow in nfssvc_decode_writeargs() - NFSD: prevent integer overflow on 32 bit systems - f2fs: fix to unlock page correctly in error path of is_alive() - f2fs: quota: fix loop condition at f2fs_quota_sync() - f2fs: fix to do sanity check on .cp_pack_total_block_count - remoteproc: Fix count check in rproc_coredump_write() - mm/mlock: fix two bugs in user_shm_lock() - pinctrl: samsung: drop pin banks references
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug was fixed in the package linux - 5.13.0-41.46 --- linux (5.13.0-41.46) impish; urgency=medium * impish/linux: 5.13.0-41.46 -proposed tracker (LP: #1969014) * NVMe devices fail to probe due to ACPI power state change (LP: #1942624) - ACPI: power: Rework turning off unused power resources - ACPI: PM: Do not turn off power resources in unknown state * Recent 5.13 kernel has broken KVM support (LP: #1966499) - KVM: Add infrastructure and macro to mark VM as bugged - KVM: x86: Use KVM_BUG/KVM_BUG_ON to handle bugs that are fatal to the VM - KVM: VMX: prepare sync_pir_to_irr for running with APICv disabled * LRMv6: add multi-architecture support (LP: #1968774) - [Packaging] resync dkms-build{,--nvidia-N} * io_uring regression - lost write request (LP: #195) - io-wq: split bounded and unbounded work into separate lists * xfrm interface cannot be changed anymore (LP: #1968591) - xfrm: fix the if_id check in changelink * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016) - [Debian] Use kernel-testing repo from launchpad * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) (LP: #1956315) - KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit * audio from external sound card is distorted (LP: #1966066) - ALSA: usb-audio: Fix packet size calculation regression * Impish update: upstream stable patchset 2022-04-12 (LP: #1968771) - cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug - btrfs: tree-checker: check item_size for inode_item - btrfs: tree-checker: check item_size for dev_item - clk: jz4725b: fix mmc0 clock gating - vhost/vsock: don't check owner in vhost_vsock_stop() while releasing - parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel - parisc/unaligned: Fix ldw() and stw() unalignment handlers - KVM: x86/mmu: make apf token non-zero to fix bug - drm/amdgpu: disable MMHUB PG for Picasso - drm/i915: Correctly populate use_sagv_wm for all pipes - sr9700: sanity check for packet length - USB: zaurus: support another broken Zaurus - CDC-NCM: avoid overflow in sanity checking - x86/fpu: Correct pkru/xstate inconsistency - tee: export teedev_open() and teedev_close_context() - optee: use driver internal tee_context for some rpc - ping: remove pr_err from ping_lookup - perf data: Fix double free in perf_session__delete() - bnx2x: fix driver load from initrd - bnxt_en: Fix active FEC reporting to ethtool - hwmon: Handle failure to register sensor with thermal zone correctly - bpf: Do not try bpf_msg_push_data with len 0 - selftests: bpf: Check bpf_msg_push_data return value - bpf: Add schedule points in batch ops - io_uring: add a schedule point in io_add_buffers() - net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends - tipc: Fix end of loop tests for list_for_each_entry() - gso: do not skip outer ip header in case of ipip and net_failover - openvswitch: Fix setting ipv6 fields causing hw csum failure - drm/edid: Always set RGB444 - net/mlx5e: Fix wrong return value on ioctl EEPROM query failure - net/sched: act_ct: Fix flow table lookup after ct clear or switching zones - net: ll_temac: check the return value of devm_kmalloc() - net: Force inlining of checksum functions in net/checksum.h - nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac() - netfilter: nf_tables: fix memory leak during stateful obj update - net/smc: Use a mutex for locking "struct smc_pnettable" - surface: surface3_power: Fix battery readings on batteries without a serial number - udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister() - net/mlx5: Fix possible deadlock on rule deletion - net/mlx5: Fix wrong limitation of metadata match on ecpf - net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets - spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op() - regmap-irq: Update interrupt clear register for proper reset - RDMA/rtrs-clt: Fix possible double free in error case - RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close - configfs: fix a race in configfs_{,un}register_subsystem() - RDMA/ib_srp: Fix a deadlock - tracing: Have traceon and traceoff trigger honor the instance - iio: adc: men_z188_adc: Fix a resource leak in an error handling path - iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits - iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot - iio: Fix error handling for PM - sc16is7xx: Fix for incorrect data being transmitted - ata: pata_hpt37x: disable primary channel on HPT371 - Revert "USB: serial: ch341: add new Product ID for CH341A" - usb: gadget:
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug was fixed in the package linux - 5.4.0-110.124 --- linux (5.4.0-110.124) focal; urgency=medium * focal/linux: 5.4.0-110.124 -proposed tracker (LP: #1969053) * net/mlx5e: Fix page DMA map/unmap attributes (LP: #1967292) - net/mlx5e: Fix page DMA map/unmap attributes * xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename() (LP: #1966803) - xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename() * LRMv6: add multi-architecture support (LP: #1968774) - [Packaging] resync dkms-build{,--nvidia-N} * xfrm interface cannot be changed anymore (LP: #1968591) - xfrm: fix the if_id check in changelink * Use kernel-testing repo from launchpad for ADT tests (LP: #1968016) - [Debian] Use kernel-testing repo from launchpad * vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) (LP: #1956315) - KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit * [SRU][Regression] Revert "PM: ACPI: reboot: Use S5 for reboot" which causes Bus Fatal Error when rebooting system with BCM5720 NIC (LP: #1917471) - Revert "PM: ACPI: reboot: Use S5 for reboot" * Focal update: v5.4.181 upstream stable release (LP: #1967582) - Makefile.extrawarn: Move -Wunaligned-access to W=1 - HID:Add support for UGTABLET WP5540 - Revert "svm: Add warning message for AVIC IPI invalid target" - serial: parisc: GSC: fix build when IOSAPIC is not set - parisc: Drop __init from map_pages declaration - parisc: Fix data TLB miss in sba_unmap_sg - parisc: Fix sglist access in ccio-dma.c - btrfs: send: in case of IO error log it - platform/x86: ISST: Fix possible circular locking dependency detected - selftests: rtc: Increase test timeout so that all tests run - net: ieee802154: at86rf230: Stop leaking skb's - selftests/zram: Skip max_comp_streams interface on newer kernel - selftests/zram01.sh: Fix compression ratio calculation - selftests/zram: Adapt the situation that /dev/zram0 is being used - ax25: improve the incomplete fix to avoid UAF and NPD bugs - vfs: make freeze_super abort when sync_filesystem returns error - quota: make dquot_quota_sync return errors from ->sync_fs - nvme: fix a possible use-after-free in controller reset during load - nvme-tcp: fix possible use-after-free in transport error_recovery work - nvme-rdma: fix possible use-after-free in transport error_recovery work - drm/amdgpu: fix logic inversion in check - Revert "module, async: async_synchronize_full() on module init iff async is used" - ftrace: add ftrace_init_nop() - module/ftrace: handle patchable-function-entry - arm64: module: rework special section handling - arm64: module/ftrace: intialize PLT at load time - iwlwifi: fix use-after-free - drm/radeon: Fix backlight control on iMac 12,1 - ext4: check for out-of-order index extents in ext4_valid_extent_entries() - ext4: check for inconsistent extents between index and leaf block - ext4: prevent partial update of the extent blocks - taskstats: Cleanup the use of task->exit_code - dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending - vsock: remove vsock from connected table when connect is interrupted by a signal - mmc: block: fix read single on recovery logic - iwlwifi: pcie: fix locking when "HW not ready" - iwlwifi: pcie: gen2: fix locking when "HW not ready" - netfilter: nft_synproxy: unregister hooks on init error path - net: dsa: lan9303: fix reset on probe - net: ieee802154: ca8210: Fix lifs/sifs periods - ping: fix the dif and sdif check in ping_lookup - bonding: force carrier update when releasing slave - drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit - bonding: fix data-races around agg_select_timer - libsubcmd: Fix use-after-free for realloc(..., 0) - ALSA: hda: Fix regression on forced probe mask option - ALSA: hda: Fix missing codec probe on Shenker Dock 15 - ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw() - ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range() - powerpc/lib/sstep: fix 'ptesync' build error - mtd: rawnand: gpmi: don't leak PM reference in error path - block/wbt: fix negative inflight counter when remove scsi device - NFS: LOOKUP_DIRECTORY is also ok with symlinks - NFS: Do not report writeback errors in nfs_getattr() - mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe() - mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status - scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop - EDAC: Fix calculation of returned address and next offset in edac_align_ptr() - net: sched: limit TC_ACT_REPEAT loops - dmaengine: sh: rcar-dmac: Check for error num after setting mask -
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
Bionic 4.15.0-177.186 with node exotic-skunk.amd64 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' 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.3qPxgV32ap -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.cCbvsNzbhI enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) PASS: Expected 0 for L1 LDTR selector (got 0) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test filter = vmx_ldtr_test, test = vmx_nm_test filter = vmx_ldtr_test, test = vmx_db_test filter = vmx_ldtr_test, test = vmx_nmi_window_test filter = vmx_ldtr_test, test = vmx_intr_window_test filter = vmx_ldtr_test, test = vmx_pending_event_test filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test filter = vmx_ldtr_test, test = vmx_store_tsc_test filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test filter = vmx_ldtr_test, test = ept_access_test_not_present filter = vmx_ldtr_test, test = ept_access_test_read_only filter = vmx_ldtr_test, test = ept_access_test_write_only filter = vmx_ldtr_test, test = ept_access_test_read_write filter = vmx_ldtr_test, test = ept_access_test_execute_only filter = vmx_ldtr_test, test = ept_access_test_read_execute filter = vmx_ldtr_test, test = ept_access_test_write_execute filter = vmx_ldtr_test, test = ept_access_test_read_write_execute filter = vmx_ldtr_test, test = ept_access_test_reserved_bits filter = vmx_ldtr_test, test = ept_access_test_ignored_bits filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug is awaiting verification that the linux/4.15.0-177.186 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: verification-needed-bionic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Fix Released Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux source package in Bionic: Fix Committed Status in linux-oem-5.14 source package in Bionic: Invalid Status in linux source package in Focal: Fix Committed Status in linux-oem-5.14 source package in Focal: In Progress Status in linux source package in Impish: Fix Committed Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Released Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal / KVM instance) * F (KVM instance) * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
Focal 5.4.0-110.124 with node spitfire: Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' 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.8hYc1dgvp4 -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.VW7zzXkBfL enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) PASS: Expected 0 for L1 LDTR selector (got 0) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test filter = vmx_ldtr_test, test = vmx_nm_test filter = vmx_ldtr_test, test = vmx_db_test filter = vmx_ldtr_test, test = vmx_nmi_window_test filter = vmx_ldtr_test, test = vmx_intr_window_test filter = vmx_ldtr_test, test = vmx_pending_event_test filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test filter = vmx_ldtr_test, test = vmx_store_tsc_test filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test filter = vmx_ldtr_test, test = ept_access_test_not_present filter = vmx_ldtr_test, test = ept_access_test_read_only filter = vmx_ldtr_test, test = ept_access_test_write_only filter = vmx_ldtr_test, test = ept_access_test_read_write filter = vmx_ldtr_test, test = ept_access_test_execute_only filter = vmx_ldtr_test, test = ept_access_test_read_execute filter = vmx_ldtr_test, test = ept_access_test_write_execute filter = vmx_ldtr_test, test = ept_access_test_read_write_execute filter = vmx_ldtr_test, test = ept_access_test_reserved_bits filter = vmx_ldtr_test, test = ept_access_test_ignored_bits filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
Impish 5.13 with node vought: Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' 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.WvqHvN1Mpk -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.gTntUdwZWg enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) PASS: Expected 0 for L1 LDTR selector (got 0) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test filter = vmx_ldtr_test, test = vmx_nm_test filter = vmx_ldtr_test, test = vmx_db_test filter = vmx_ldtr_test, test = vmx_nmi_window_test filter = vmx_ldtr_test, test = vmx_intr_window_test filter = vmx_ldtr_test, test = vmx_pending_event_test filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test filter = vmx_ldtr_test, test = vmx_store_tsc_test filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test filter = vmx_ldtr_test, test = ept_access_test_not_present filter = vmx_ldtr_test, test = ept_access_test_read_only filter = vmx_ldtr_test, test = ept_access_test_write_only filter = vmx_ldtr_test, test = ept_access_test_read_write filter = vmx_ldtr_test, test = ept_access_test_execute_only filter = vmx_ldtr_test, test = ept_access_test_read_execute filter = vmx_ldtr_test, test = ept_access_test_write_execute filter = vmx_ldtr_test, test = ept_access_test_read_write_execute filter = vmx_ldtr_test, test = ept_access_test_reserved_bits filter = vmx_ldtr_test, test = ept_access_test_ignored_bits filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug is awaiting verification that the linux/5.4.0-110.124 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-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'. 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: verification-needed-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Fix Released Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux source package in Bionic: Fix Committed Status in linux-oem-5.14 source package in Bionic: Invalid Status in linux source package in Focal: Fix Committed Status in linux-oem-5.14 source package in Focal: In Progress Status in linux source package in Impish: Fix Committed Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Released Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal / KVM instance) * F (KVM instance) * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
This bug is awaiting verification that the linux/5.13.0-41.46 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-impish' to 'verification-done-impish'. If the problem still exists, change the tag 'verification-needed-impish' to 'verification-failed-impish'. 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: verification-needed-impish -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Fix Released Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux source package in Bionic: Fix Committed Status in linux-oem-5.14 source package in Bionic: Invalid Status in linux source package in Focal: Fix Committed Status in linux-oem-5.14 source package in Focal: In Progress Status in linux source package in Impish: Fix Committed Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Released Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal / KVM instance) * F (KVM instance) * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Changed in: linux (Ubuntu Impish) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Impish) Status: In Progress => Fix Committed ** Changed in: linux (Ubuntu Focal) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Focal) Status: In Progress => Fix Committed ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Bionic) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-5.14 in Ubuntu. https://bugs.launchpad.net/bugs/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: In Progress Status in linux package in Ubuntu: Fix Released Status in linux-oem-5.14 package in Ubuntu: Invalid Status in linux source package in Bionic: Fix Committed Status in linux-oem-5.14 source package in Bionic: Invalid Status in linux source package in Focal: Fix Committed Status in linux-oem-5.14 source package in Focal: In Progress Status in linux source package in Impish: Fix Committed Status in linux-oem-5.14 source package in Impish: Invalid Status in linux source package in Jammy: Fix Released Status in linux-oem-5.14 source package in Jammy: Invalid Bug description: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal / KVM instance) * F (KVM instance) * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Description changed: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: - FAIL: Expected 0 for L1 LDTR selector (got 50) + FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] - * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" + * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value + on nested VM-Exit" We already have this patch in Jammy. - This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for - Bionic, as the code snippet for nested KVM haven't been split out to - vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). + This patch can be cherry-picked into F/F-OEM-5.14/I. But some + straightforward backport work is required for Bionic, as the code + snippet for nested KVM haven't been split out to vmx/nested.c + (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: - * B (bare-metal / KVM instance) - * F (KVM instance) - * I (bare-metal / KVM instance) + * B (bare-metal / KVM instance) + * F (KVM instance) + * I (bare-metal / KVM instance) With this patched kernel, this test will pass: - PASS: Expected 0 for L1 LDTR selector (got 0) + PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. + [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Description changed: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] - * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value - on nested VM-Exit" + * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. - This patch can be cherry-picked into F/F-OEM-5.14/I. But some - straightforward backport work is required for Bionic, as the code - snippet for nested KVM haven't been split out to vmx/nested.c - (55d2375e KVM: nVMX: Move nested code to dedicated files). + This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for + Bionic, as the code snippet for nested KVM haven't been split out to + vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: - * B (bare-metal) + * B (bare-metal / KVM instance) * F (KVM instance) - * I (KVM instance / bare-metal) + * I (bare-metal / KVM instance) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Description changed: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" We already have this patch in Jammy. This patch can be cherry-picked into F/F-OEM-5.14/I. But some straightforward backport work is required for Bionic, as the code snippet for nested KVM haven't been split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: * B (bare-metal) * F (KVM instance) - * I (bare-metal) + * I (KVM instance / bare-metal) With this patched kernel, this test will pass: PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) FAIL: Expected 0 for L1 LDTR selector (got 50) filter = vmx_ldtr_test,
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Description changed: [Impact] vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: - FAIL: Expected 0 for L1 LDTR selector (got 50) + FAIL: Expected 0 for L1 LDTR selector (got 50) It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" According to Intel 64 and IA-32 Architectures Software Developer’s Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. [Fix] - * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" + * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value + on nested VM-Exit" We already have this patch in Jammy. - This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for - Bionic, as the code snippet for nested KVM haven't been split out to - vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). + This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is + required for Bionic, as the code snippet for nested KVM haven't been + split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to + dedicated files). [Test] Test kernels can be found here: https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ Tested with: - * B (bare-metal) - * F (KVM instance) - * I (bare-metal) + * B (bare-metal) + * F (KVM instance) + * I (bare-metal) With this patched kernel, this test will pass: - PASS: Expected 0 for L1 LDTR selector (got 0) + PASS: Expected 0 for L1 LDTR selector (got 0) Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to make sure this is not causing any other regressions. [Where problem could occur] If the patch is incorrect it might affect the nested KVM functionality while existing from L2 to L1. - [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Description changed: + [Impact] + vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with: + FAIL: Expected 0 for L1 LDTR selector (got 50) + + It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its + architecturally defined value on nested VM-Exit" + + According to Intel 64 and IA-32 Architectures Software Developer’s + Manual, L1's LDTR should be 0 after an emulated VM-exit from L2. + + [Fix] + * afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit" + + We already have this patch in Jammy. + This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for + Bionic, as the code snippet for nested KVM haven't been split out to + vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files). + + [Test] + Test kernels can be found here: + https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/ + + Tested with: + * B (bare-metal) + * F (KVM instance) + * I (bare-metal) + + With this patched kernel, this test will pass: + PASS: Expected 0 for L1 LDTR selector (got 0) + + Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to + make sure this is not causing any other regressions. + + [Where problem could occur] + If the patch is incorrect it might affect the nested KVM functionality + while existing from L2 to L1. + + + [Original bug description] Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) FAIL: Expected 0 for L1 LDTR selector (got 50) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Changed in: linux (Ubuntu Jammy) Status: Incomplete => Fix Released -- 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/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: New Status in linux package in Ubuntu: Fix Released Status in linux source package in Bionic: Incomplete Status in linux source package in Focal: Incomplete Status in linux source package in Impish: In Progress Status in linux source package in Jammy: Fix Released Bug description: Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) FAIL: Expected 0 for L1 LDTR selector (got 50) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test filter = vmx_ldtr_test, test = vmx_nm_test filter = vmx_ldtr_test, test = vmx_db_test filter = vmx_ldtr_test, test = vmx_nmi_window_test filter = vmx_ldtr_test, test = vmx_intr_window_test filter = vmx_ldtr_test, test = vmx_pending_event_test filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test filter = vmx_ldtr_test, test = vmx_store_tsc_test filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test filter = vmx_ldtr_test, test = ept_access_test_not_present filter = vmx_ldtr_test, test =
[Kernel-packages] [Bug 1956315] Re: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50))
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Impish) Assignee: (unassigned) => Po-Hsu Lin (cypressyew) ** Changed in: linux (Ubuntu Impish) Status: New => In Progress -- 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/1956315 Title: vmx_ldtr_test in ubuntu_kvm_unit_tests failed (FAIL: Expected 0 for L1 LDTR selector (got 50)) Status in ubuntu-kernel-tests: New Status in linux package in Ubuntu: Incomplete Status in linux source package in Bionic: Incomplete Status in linux source package in Focal: Incomplete Status in linux source package in Impish: In Progress Status in linux source package in Jammy: Incomplete Bug description: Issue found on Bionic 4.15.0-166.174 with node rizzo Running 'kvm-ok' INFO: /dev/kvm exists KVM acceleration can be used '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test' BUILD_HEAD=8a30588c 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.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49 enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_ldtr_test, test = test_vmx_feature_control filter = vmx_ldtr_test, test = test_vmxon filter = vmx_ldtr_test, test = test_vmptrld filter = vmx_ldtr_test, test = test_vmclear filter = vmx_ldtr_test, test = test_vmptrst filter = vmx_ldtr_test, test = test_vmwrite_vmread filter = vmx_ldtr_test, test = test_vmcs_high filter = vmx_ldtr_test, test = test_vmcs_lifecycle filter = vmx_ldtr_test, test = test_vmx_caps filter = vmx_ldtr_test, test = test_vmread_flags_touch filter = vmx_ldtr_test, test = test_vmwrite_flags_touch filter = vmx_ldtr_test, test = null filter = vmx_ldtr_test, test = vmenter filter = vmx_ldtr_test, test = preemption timer filter = vmx_ldtr_test, test = control field PAT filter = vmx_ldtr_test, test = control field EFER filter = vmx_ldtr_test, test = CR shadowing filter = vmx_ldtr_test, test = I/O bitmap filter = vmx_ldtr_test, test = instruction intercept filter = vmx_ldtr_test, test = EPT A/D disabled filter = vmx_ldtr_test, test = EPT A/D enabled filter = vmx_ldtr_test, test = PML filter = vmx_ldtr_test, test = interrupt filter = vmx_ldtr_test, test = nmi_hlt filter = vmx_ldtr_test, test = debug controls filter = vmx_ldtr_test, test = MSR switch filter = vmx_ldtr_test, test = vmmcall filter = vmx_ldtr_test, test = disable RDTSCP filter = vmx_ldtr_test, test = int3 filter = vmx_ldtr_test, test = into filter = vmx_ldtr_test, test = exit_monitor_from_l2_test filter = vmx_ldtr_test, test = invalid_msr filter = vmx_ldtr_test, test = v2_null_test filter = vmx_ldtr_test, test = v2_multiple_entries_test filter = vmx_ldtr_test, test = fixture_test_case1 filter = vmx_ldtr_test, test = fixture_test_case2 filter = vmx_ldtr_test, test = invvpid_test filter = vmx_ldtr_test, test = vmx_controls_test filter = vmx_ldtr_test, test = vmx_host_state_area_test filter = vmx_ldtr_test, test = vmx_guest_state_area_test filter = vmx_ldtr_test, test = vmentry_movss_shadow_test filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test filter = vmx_ldtr_test, test = apic_reg_virt_test filter = vmx_ldtr_test, test = virt_x2apic_mode_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_ldtr_test, test = vmx_init_signal_test filter = vmx_ldtr_test, test = vmx_sipi_signal_test filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test filter = vmx_ldtr_test, test = vmx_ldtr_test Test suite: vmx_ldtr_test PASS: Expected 18 for L2 LDTR selector (got 18) FAIL: Expected 0 for L1 LDTR selector (got 50) filter = vmx_ldtr_test, test = vmx_cr_load_test filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test filter = vmx_ldtr_test, test = vmx_nm_test filter = vmx_ldtr_test, test = vmx_db_test filter = vmx_ldtr_test, test = vmx_nmi_window_test filter = vmx_ldtr_test, test =