On Mon, Jun 10, 2024, bugzilla-daemon@xxxxxxxxxx wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=218949 > > --- Comment #2 from Gino Badouri (badouri.g@xxxxxxxxx) --- > Alright, it's not a regression in the kernel but caused by a bios update (I > guess). > I get the same on my previous kernel 6.9.0-rc1. The WARNs are not remotely the same. The below issue in svm_vcpu_enter_exit() was resolved in v6.9 final[1]. The lockdep warnings in track_pfn_remap() and remap_pfn_range_notrack() is a known issue in vfio_pci_mmap_fault(), with an in-progress fix[2] that is destined for 6.10. [1] https://lore.kernel.org/all/1d10cd73-2ae7-42d5-a318-2f9facc42bbe@xxxxxxxxxxxx [2] https://lore.kernel.org/all/20240530045236.1005864-1-alex.williamson@xxxxxxxxxx > Both my 6.9.0-rc1 6.10.0-rc2 kernels are vanilla builds from kernel.org > (unpatched). > > After updating the bios/firmware of my mainboard Asus ROG Zenith II Extreme > from 1802 to 2102, it always seems to spawn the error: > > [ 1150.380137] ------------[ cut here ]------------ > [ 1150.380141] Unpatched return thunk in use. This should not happen! > [ 1150.380144] WARNING: CPU: 3 PID: 4849 at arch/x86/kernel/cpu/bugs.c:2935 > __warn_thunk+0x40/0x50 ... > [ 1150.380266] CPU: 3 PID: 4849 Comm: CPU 0/KVM Not tainted 6.9.0-rc1 #1 > [ 1150.380269] Hardware name: ASUS System Product Name/ROG ZENITH II EXTREME, > BIOS 2102 02/16/2024 > [ 1150.380271] RIP: 0010:__warn_thunk+0x40/0x50 ... > [ 1150.380298] Call Trace: > [ 1150.380300] <TASK> > [ 1150.380344] warn_thunk_thunk+0x16/0x30 > [ 1150.380351] svm_vcpu_enter_exit+0x71/0xc0 [kvm_amd] > [ 1150.380364] svm_vcpu_run+0x1e7/0x850 [kvm_amd] > [ 1150.380377] kvm_arch_vcpu_ioctl_run+0xca3/0x16d0 [kvm] > [ 1150.380458] kvm_vcpu_ioctl+0x295/0x800 [kvm]