New: VM not starting anymore with 5.8.8 - lots of page faults
https://bugzilla.kernel.org/show_bug.cgi?id=209333
Bug ID: 209333
Summary: VM not starting anymore with 5.8.8 - lots of page
faults
Product: Virtualization
Version: unspecified
Kernel Version: 5.8.8
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: NoHost system is a Threadripper 1920x on a X399 Motherboard. I have a VM here, that I pass through a Samsung 960 EVO SSD.
Quoted 2 lines
08:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
The VM starts up and works fine with Kernel 5.8.7, and when I start the VM with a 5.8.8 kernel, libvirt/QEMU say the VM is started, but it doesn't come up, and I see lots and lots of these in dmesg:
Quoted 2 lines
AMD-Vi: Event logged [
IO_PAGE_FAULTdevice=08:00.0 domain=0x002c address=0xfffffffdf8000000 flags=0x0008]
Now, one thing to mention is that the VM uses AMD AVIC to directly deliver interrupts to the VM.
There are 2 IOMMU related changes in the 5.8.8 changelog that seem likely for the layman that I am, both by Suravee Suthikulpanit from AMD:
iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
I observe the same behaviour with 5.8.10.
Happy to provide more info if needed!
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209333] VM not starting anymore with 5.8.8 - lots of page faults
https://bugzilla.kernel.org/show_bug.cgi?id=209333
Martin Schrodt ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|kvm |IOMMU
Version|unspecified |2.5
Product|Virtualization |DriversSignature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209333] VM not starting anymore with 5.8.8 - lots of page faults
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209333
Martin Schrodt ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |Intel
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209333] VM not starting anymore with 5.8.8 - lots of page faults
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209333
Maxim Levitsky ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Maxim Levitsky ([email protected]) --- I bisected and reported this regression few days ago. The fix is upstream and probably will land to the stable trees as well.
https://lkml.org/lkml/2020/9/13/94
https://www.mail-archive.com/[email protected]/msg2312235.html
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
[Bug 209333] VM not starting anymore with 5.8.8 - lots of page faults
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=209333
--- Comment #2 from Martin Schrodt ([email protected]) --- Jep.
The change made it into 5.8.11.
Thanks for the quick fix too all involved!
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.