/srv/irclogs.ubuntu.com/2022/01/06/#ubuntu-kernel.txt

cariboumhcerri: ok, I took the time to create the bug with the details : LP: #195657510:47
ubottuLaunchpad bug 1956575 in linux (Ubuntu Focal) "[Regression] Focal kernel  5.4.0-92.103 fails to boot when Secure Encrypted Virtualization(SEV) is enabled" [Undecided, Confirmed] https://launchpad.net/bugs/195657510:47
caribouxnox: you might want to have a look at this one, this is something you worked on10:56
mhcerrithanks, caribou! yesterday we received a very similar user report, but for a cloud kernel. but the bisect will be very helpful11:50
mhcerriwe are also working to improve or tests with sev11:51
caribouI have another issue with the -kvm kernel that does not boot with SEV : LP: #195539512:01
ubottuLaunchpad bug 1955395 in linux (Ubuntu Jammy) "KVM flavor of Jammy kernel 5.13 does not boot when Secure Encrypted Virtualization( SEV) is enabled" [Undecided, Confirmed] https://launchpad.net/bugs/195539512:01
caribouI understand that SEV enabled hardware is not easily available12:01
cariboumhcerri: FYI, I have just updated the LP bug - I made a mistake in the bisected commit which is now correct15:20
mhcerricaribou, thanks! I was about to ping you :-) I was reviewing the previous commit and I couldn't find what was wrong with it15:24
caribouNeither could I ! turns out I forgot the last "git bisect good" :-/15:24
caribouit is now more inline with the backtrace : "efi: Support for MOK variable config table"15:26
mhcerricaribou, so 7ca05228f713c24eb55574b36e32d9b54c5a1b76 should be the offending commit, right? or is it the last good commit?15:26
caribou"first bad commit"15:27
mhcerriI see. it is the commit that added efi_mokvar_sysfs_init(). that makes more sense indeed15:28
caribouI'm running another bisect on Bionic just to confirm but it is apparently also present in Bionic; I'll update the series on the bug once confirmed15:29
mhcerribut it's still curious why sev triggers it15:29
mhcerricaribou, you mean 4.15 bionic?15:29
caribouyep15:30
caribouhmm, that IS interesting : https://support.hpe.com/hpesc/public/docDisplay?docId=a00119071en_us&docLocale=en_US15:42
caribou"Advisory: Red Hat Enterprise Linux 8.3 - Guest Stops Responding at efi_mokvar_sysfs_init+0xa9/0x19d with AMD Secure Encrypted Virtualization (SEV) Enabled"15:43
caribouAnd this is the upstream fix : "x86/ioremap: Map EFI-reserved memory as encrypted for SEV"15:44
caribouhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8d651ee9c71bb12fc0c8eb2786b66cbe5aa3e43b15:44
ubottuCommit 8d651ee in kernel/git/torvalds/linux.git "x86/ioremap: Map EFI-reserved memory as encrypted for SEV"15:44
cariboumhcerri: ok, I've just built a 5.4.0-92.103 plus 8d651ee9c71bb12fc0c8eb2786b66cbe5aa3e43b and the VM boots fine16:21
caribouI have also identified the failing commit in bionic so I'll add bionic + hirsute series to the bug16:21
mhcerricaribou, nice! can you add that info to the bug (If you haven't yet) I will try to test it as well16:25
cariboujust did it :)16:25
mhcerrithanks16:28
mhcerricaribou, we don't have the mokvar-table.c commit in 4.15, so I don't think this exact problem will occur with the 4.15 bionic kernel16:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!