~paelzer/ubuntu/+source/seabios:sync-1.14

Last commit made on 2020-08-11
Get this branch:
git clone -b sync-1.14 https://git.launchpad.net/~paelzer/ubuntu/+source/seabios
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
sync-1.14
Repository:
lp:~paelzer/ubuntu/+source/seabios

Recent commits

fe215a2... by Christian Ehrhardt 

DROP: fix breakage on older chips due to fcf-protection (LP: #1866870)

Was:
+++ b/debian/patches/lp-1866870-build-use-fcf-protection-none-when-available.patch
@@ -0,0 +1,63 @@
+From 7bc5e4dff67636adb76c2b59a15a082a060ff68f Mon Sep 17 00:00:00 2001
+From: Christian Ehrhardt <email address hidden>
+Date: Thu, 19 Mar 2020 12:25:24 +0100
+Subject: [PATCH] build: use -fcf-protection=none when available
+
+Some hardened gcc v9 compilers (such as the one in Ubuntu)
+default this option which for seabios leads to emulation errors
+when running in KVM (does not trigger in TCG) on older intel
+chips of the Penryn generation (~2006-2008).
+
+Symptom in KVM looks like:
+ KVM internal error. Suberror: 1
+ emulation failure
+ EAX=00000000 EBX=00000000 ECX=000086d4 EDX=00000000
+ ESI=00000000 EDI=00000000 EBP=000086d4 ESP=00006d7c
+ EIP=00007acf EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
+ ES =0000 00000000 ffffffff 00809300
+ CS =f000 000f0000 ffffffff 00809b00
+ SS =0000 00000000 ffffffff 00809300
+ DS =0000 00000000 ffffffff 00809300
+ FS =0000 00000000 ffffffff 00809300
+ GS =0000 00000000 ffffffff 00809300
+ LDT=0000 00000000 0000ffff 00008200
+ TR =0000 00000000 0000ffff 00008b00
+ GDT= 000f6200 00000037
+ IDT= 00000000 000003ff
+ CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
+ DR0=0000000000000000 DR1=0000000000000000

Was submitted upstream https://<email address hidden>/thread/IXAWMA2HWW75LSR3NBBYQKWT3TI5WVVP/
And is in 1.14 now:
$ git show pkg/debian/sid:Makefile | grep fcf
COMMONCFLAGS += $(call cc-option,$(CC),-fcf-protection=none,)

0152911... by Michael Tokarev <email address hidden>

1.14.0-1 (patches unapplied)

Imported using git-ubuntu import.

034371f... by Michael Tokarev <email address hidden>

1.13.0-1 (patches unapplied)

Imported using git-ubuntu import.

cff152f... by Michael Tokarev <email address hidden>

1.12.0-1 (patches unapplied)

Imported using git-ubuntu import.

25c6784... by Michael Tokarev <email address hidden>

1.10.2-1 (patches unapplied)

Imported using git-ubuntu import.

590606d... by Michael Tokarev <email address hidden>

1.10.1-1 (patches unapplied)

Imported using git-ubuntu import.

c4d4c11... by Michael Tokarev <email address hidden>

1.9.3-2 (patches unapplied)

Imported using git-ubuntu import.

64db5e3... by Michael Tokarev <email address hidden>

1.8.2-1 (patches unapplied)

Imported using git-ubuntu import.

0ee6173... by Michael Tokarev <email address hidden>

1.8.1-2 (patches unapplied)

Imported using git-ubuntu import.

c653934... by Michael Tokarev <email address hidden>

1.8.1-1 (patches unapplied)

Imported using git-ubuntu import.