[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2022-06-12 Thread Christian Ehrhardt 
Just stating (for my future self any anyone else) that for the other way around (removing features that were never enabled before) there is code that could handle that [1][2]. In a similar fashion libvirt could try to consider older sources before this change as "ok I accept to not insist on this

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2022-06-07 Thread Christian Ehrhardt 
Arr, this is a bad case :-/ First of all - yes Sven it is a regression. Somewhat relieved by having a workaround, but not making it not a regression. First of all I have to beg all your pardon for not seeing this earlier, due to the bug tasks being closed most of the review passed that we have

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2022-05-27 Thread Sven Kieske
> I am not sure I would still call it a regression and it is certainly an annoying, but it can be workarounded. it worked before, now it doesn't without manual intervention, that's the basic definition of a regression, no? after all, there are _always_ workarounds for regressions, so I would not

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2021-02-17 Thread Markus Schade
Hi Juul, these two flags are only present when SVM is enabled (which is unfortunately default in Ubuntu). We worked around this issue by modifying the target domain XML in live migration to disable both flags if they are not present on the source side (e.g. host running with older kernel). I

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2021-02-17 Thread Juul Spies
I just came across this bug while trying to deal with broken live migrates in our hypervisor setup. We are experiencing the regression that Markus describes when trying to upgrade libvirt from 6.0.0-0ubuntu8.3 to 6.0.0-0ubuntu8.5 in Ubuntu Focal. Live migrates won't work anymore wen using the

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-11-10 Thread Markus Schade
It seems one of the patches also introduced a regression: * lp-1887490-cpu_map-Add-missing-AMD-SVM-features.patch adds various SVM-related flags. Specifically npt and nrip-save are now expected to be present by default as shown in the updated testdata. This however breaks migration from instances

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-11-05 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 6.0.0-0ubuntu8.5 --- libvirt (6.0.0-0ubuntu8.5) focal; urgency=medium * d/p/ubuntu/lp-1887490-*: add named types and definitions for EPYC-Rome chips (LP: #1887490) -- Christian Ehrhardt Thu, 08 Oct 2020 07:36:06 +0200 ** Changed

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-11-02 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/393189 -- 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/1887490 Title:

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-30 Thread Christian Ehrhardt 
Thanks Venkatesh for this FYI. The commits mentioned are of the kernel portion of all of this. I spawned a new bug TODO for this to keep tracking separate and readable - I subscribed you there. -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-30 Thread Christian Ehrhardt 
That update would have made even more sense if I've updated "TODO" for actually being bug 1902176 in time :-) -- 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/1887490 Title: [FFe/SRU]

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-29 Thread Venkatesh Srinivas
Hi - commit 411a139d84bd34931e0e01d6ed5e48a718392e5d added svm_xsaves_support, but AFAICT support for virtualizing the IA32_XSS MSR on SVM was not merged back from upstream. Commit 864e2ab2b46db1ac266c46a7c9cefe6cc893029d added this support upstream and was a parent of 411a13. This means QEMU-KVM

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-28 Thread Christian Ehrhardt 
Markus was faster :-) verified waiting for the SRU aging period ... -- 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/1887490 Title: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-28 Thread Christian Ehrhardt 
Pre: root@f:~# grep EPYC /usr/share/libvirt/cpu_map/index.xml root@f:~# virsh domcapabilities | grep EPYC EPYC-IBPB EPYC root@f:~# cat test.xml test 4194304 4194304 4 hvm EPYC-Rome /usr/bin/qemu-system-x86_64 root@f:~# virsh

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-28 Thread Markus Schade
Same tests as above. Still working as intended ** Tags removed: patch verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-27 Thread Brian Murray
Hello Markus, or anyone else affected, Accepted libvirt into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libvirt/6.0.0-0ubuntu8.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-22 Thread Christian Ehrhardt 
Thank you Markus, it also passed all my regression tests and a review by a Teammate. Now uploaded into Focal-unapproved entering the SRU Process. ** Changed in: linux (Ubuntu) Status: Invalid => Fix Released -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-21 Thread Markus Schade
Well, for me it's more or less a noop because we have been running a version with these patches for some time now. But nevertheless I haven't encountered any problems using your build/patch series. Host capabilities are correctly detected as EPYC-Rome and I can (still) start an instance with the

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-19 Thread Christian Ehrhardt 
Am MP for a Focal backport of this is ready at: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/392204 Along a PPA at: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4313/ @Markus if you could pre-check this PPA on the specific ahrdware that would be

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-13 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/392204 -- 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/1887490 Title:

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-13 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.4.0-51.56 --- linux (5.4.0-51.56) focal; urgency=medium * Packaging resync (LP: #1786013) - update dkms package versions linux (5.4.0-50.55) focal; urgency=medium * CVE-2020-16119 - SAUCE: dccp: avoid double free of ccid on

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-13 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 6.6.0-1ubuntu3 --- libvirt (6.6.0-1ubuntu3) groovy; urgency=medium * d/p/ubuntu/lp-1887490-*: add named types and definitions for EPYC-Rome chips (LP: #1887490) -- Christian Ehrhardt Thu, 08 Oct 2020 07:36:06 +0200 ** Changed in:

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-12 Thread Christian Ehrhardt 
** Changed in: libvirt (Ubuntu) Status: Incomplete => In Progress ** Changed in: libvirt (Ubuntu Focal) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-12 Thread Christian Ehrhardt 
Qemu landed in Focal \o/ An update for Libvirt: Groovy: - MP approved - no FFe needed (as it is an SRU even) - and uploaded to groovy. - Being so close to the groovy release it might be a zero day SRU or a sooner fix before Groovy-release - we will see. Focal: - After groovy is fixed we

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-12 Thread Ubuntu Foundations Team Bug Bot
The attachment "Add-EPYC-ROME-x86-CPU-model.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-12 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu - 1:4.2-3ubuntu6.7 --- qemu (1:4.2-3ubuntu6.7) focal; urgency=medium * d/p/ubuntu/lp-1882774-*: add newer EPYC processor types (LP: #1887490) * d/p/u/lp-1896751-exec-rom_reset-Free-rom-data-during-inmigrate-skip.patch: fix reboot after

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Christian Ehrhardt 
Pre-post upgrade domcapabilities diff now only adds EPYC-Rome as new type (as expected) As expected on my machine that isn't a usable type, but ok that way: EPYC-Rome root@g:~# grep Rome/usr/share/libvirt/cpu_map/index.xml root@g:~# ll /usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Christian Ehrhardt 
Now seeing your comment Markus, yeah I've seen the monitor fixup myself thanks. /me looks forward to live refreshing launchpad to not appear so ignorant to updates ... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Christian Ehrhardt 
The issues of bug 1892826 seem resolved. I also have found what the problem here is, it comes down to: Oct 08 08:23:50 groovy-testEPYC libvirtd[2176]: XML error: failed to parse xml document '/usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml' Which is right it isn't installed in my test build. But

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Markus Schade
Note the fixup patch removing monitor flag: https://gitlab.com/libvirt/libvirt/-/commit/3bf6f9fe22dfbd3c1dcc614b31f2f4fe8b71a2f2 -- 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/1887490

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Christian Ehrhardt 
Test build in PPA: https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/4303 But there are some issues when checking for known models: Current: ... Skylake-Client-IBRS ... qemu64 ... New build: ... Something went wrong and broke any host-model

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Christian Ehrhardt 
** Description changed: [Impact]  * CPU definitions are added to libvirt as these CPUs are known -and added to qemu for execution. +    and added to qemu for execution.    And due to that over time some are considered missing in -former releases. +    former releases.  * To

[Kernel-packages] [Bug 1887490] Re: [FFe/SRU] Add/Backport EPYC-v3 and EPYC-Rome CPU model

2020-10-08 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/391963 -- 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/1887490 Title: