Skip to contentSkip to conversation

Seabios 20181106 patches

GIT PULL Applied Gerd Hoffmann 4 participants 9 messages Nov 6, 2018 – Feb 5, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 7d56239f159afc2e7bd42623947e56ba48f37836:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20181102' into staging (2018-11-02 17:17:12 +0000)

are available in the git repository at:

git://git.kraxel.org/qemu tags/seabios-20181106-pull-request

for you to fetch changes up to 0b8f74488e50f98b04e63157f85fde8a13f8d6aa:

update seabios to master snapshot (2018-11-06 12:23:58 +0100)

----------------------------------------------------------------
seabios update for 3.1

----------------------------------------------------------------

Gerd Hoffmann (1):
update seabios to master snapshot

 pc-bios/bios-256k.bin             | Bin 262144 -> 262144 bytes
 pc-bios/bios.bin                  | Bin 131072 -> 131072 bytes
 pc-bios/vgabios-bochs-display.bin | Bin 27648 -> 27648 bytes
 pc-bios/vgabios-cirrus.bin        | Bin 38400 -> 38400 bytes
 pc-bios/vgabios-qxl.bin           | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-ramfb.bin         | Bin 28160 -> 28160 bytes
 pc-bios/vgabios-stdvga.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-virtio.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-vmware.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios.bin               | Bin 38400 -> 38400 bytes
 roms/seabios                      |   2 +-
 11 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.9.3
#1 lore raw

[Qemu-devel] [PULL 1/1] update seabios to master snapshot

seabios 1.12 release is planned for november.

update seabios to a master branch snapshot so it gets more testing and to make the delta smaller when updating to -final during freeze.

git shortlog rel-1.11.2..14221cd86e
===================================

Gerd Hoffmann (12):
optionrom: enable non-vga display devices
cbvga: factor out cbvga_setup_modes()
qemu: add bochs-display support
cbvga_setup_modes: use real mode number instead of 0x140
cbvga_list_modes: don't list current mode twice
cbvga_set_mode: disable clearmem in windows x86 emulator.
bochs_display_setup: return error on failure
pmm: use tmp zone on oom
vgasrc: add allocate_pmm()
qemu: add qemu ramfb support
cbvga_set_mode: refine clear display logic pretty boot menu entry for cdrom drives

Jing Liu (3):
pci: fix the return value for truncated capability
pci: clean up the debug message for pci capability found
pci: recognize RH PCI legacy bridge resource reservation capability

Kevin O'Connor (8):
docs: Add sercon-port to Runtime_config.md documentation
paravirt: Only enable sercon in NOGRAPHIC mode if no other console specified
shadow: Don't invoke a shutdown on reboot unless in a reboot loop
build: Use git describe --always
docs: Update Download.md to use git clone via https
ssdt: Fix building of legacy acpi tables on current iasl compiler
docs: Update download file link
sdcard: Increase SDHCI_POWER_ON_TIME to 5ms

Marc-André Lureau (4):
x86: add readq()
tpm: generalize init_timeout()
tpm: use get_tpm_version() callback
tpm: add TPM CRB device support

Marcel Apfelbaum (1):
pci: fix 'io hints' capability for RedHat PCI bridges

Matt DeVillier (2):
nvme: fix I/O queue length calculation overflow SeaVGABios/cbvga: Fix bpp for coreboot framebuffer

Nikolay Nikolov (11):
floppy: Introduce the floppy_dor_read() function
floppy: Introduce floppy_dor_mask()
floppy: Introduce FLOPPY_DOR_XXX constants
floppy: Preserve motor and drive sel bits when resetting the floppy controller
floppy: Reset the floppy motor count in floppy_drive_pio()
floppy: Use timer_check() in floppy_wait_irq()
floppy: hold the DOR reset bit low for 4 microseconds, when resetting
floppy: Execute a SPECIFY command after sensing the media type
floppy: Support up to 4 floppy drives when turning on the floppy motor
floppy: Wait for the floppy motor to reach a stable speed, after starting
floppy: Send 4 sense interrupt commands during controller initialization

Paul Menzel (1):
docs/Download: Use more secure HTTPS URLs where possible

Stefan Berger (5):
tpm: Add support for TPM2 ACPI table
tpm: Wait for tpmRegValidSts flag on CRB interface before probing
tpm: revert return values for successful/failed CRB probing
tpm: when CRB is active, select, lock it, and check addresses
tpm: Request access to locality 0

Stephen Douthit (3):
tpm: Refactor duplicated wait code in tis_wait_sts() & crb_wait_reg()
tpm: Wait for interface startup when probing
tpm: Handle unimplemented TIS_REG_IFACE_ID in tis_get_tpm_version()

---
 pc-bios/bios-256k.bin             | Bin 262144 -> 262144 bytes
 pc-bios/bios.bin                  | Bin 131072 -> 131072 bytes
 pc-bios/vgabios-bochs-display.bin | Bin 27648 -> 27648 bytes
 pc-bios/vgabios-cirrus.bin        | Bin 38400 -> 38400 bytes
 pc-bios/vgabios-qxl.bin           | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-ramfb.bin         | Bin 28160 -> 28160 bytes
 pc-bios/vgabios-stdvga.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-virtio.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios-vmware.bin        | Bin 38912 -> 38912 bytes
 pc-bios/vgabios.bin               | Bin 38400 -> 38400 bytes
 roms/seabios                      |   2 +-
 11 files changed, 1 insertion(+), 1 deletion(-)
pc-bios/bios-256k.bin binary +0 -0
index 6ffa6ec524bf4a3d001a68f951f2a56b95f8acbd..72801adc430d83a9ebb4959314015257ac6cb7fe 100644
GIT binary patch
pc-bios/bios.bin binary +0 -0
index afa450c4a002b2af86e6d80cf13713036c4d2e2e..2bb57341a0f446afd9ed9dc06268f8d9bffb24f0 100644
GIT binary patch
pc-bios/vgabios-bochs-display.bin binary +0 -0
index 6021d9b1991b45bc2b4b3e525aa01e425153a2ff..9796e666222b41797fc7d35b03454e23d5faa7d6 100644
GIT binary patch
pc-bios/vgabios-cirrus.bin binary +0 -0
index c1ec6b62982a1525263f123bc47d5a92c7d5ab48..fbd66aa959540562b8071bd888f4bdd045b9c3ec 100644
GIT binary patch
pc-bios/vgabios-qxl.bin binary +0 -0
index 2529ac954d72ad15fbf0feee1515e07353736928..e5645fa8af97db2c8d3e6e081614e836163acbe1 100644
GIT binary patch
pc-bios/vgabios-ramfb.bin binary +0 -0
index 30a124538fc17cc483ce0bf35f71db6371533f72..5b65e9084e133f5f7f51990ea8bbbe30ad6a9b73 100644
GIT binary patch
pc-bios/vgabios-stdvga.bin binary +0 -0
index 2d868321c735c1e1eafcbd1e9404aa815a027087..5818f6d6686cc621388d9cbb24e8a0468cc194b4 100644
GIT binary patch
pc-bios/vgabios-virtio.bin binary +0 -0
index 8188eabb18378056c18e09ef91adff6293405e36..67359653478605bc0af39921ae0b8eda25854a79 100644
GIT binary patch
pc-bios/vgabios-vmware.bin binary +0 -0
index 58afa79d2f98e86f2a752376f71df4fd9f82ee99..b76947a12820a69b54e3b55c31311bcef86b8ec6 100644
GIT binary patch
pc-bios/vgabios.bin binary +0 -0
index 136c94520c0a32f37d4bb82284837e51afc1fec3..729aecc426dade9ef5266cdd3c1ded1717dce98d 100644
GIT binary patch
roms/seabios +1 -1
index f9626ccb91..14221cd86e 160000
@@ -1 +1 @@
-Subproject commit f9626ccb91e771f990fbb2da92e427a399d7d918
+Subproject commit 14221cd86eadba82255fdc55ed174d401c7a0a04
Signature · 1 line
2.9.3
#8 lore raw
In reply to Gerd Hoffmann
Quoted 12 lines · Gerd Hoffmann

The following changes since commit 7d56239f159afc2e7bd42623947e56ba48f37836:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20181102' into staging (2018-11-02 17:17:12 +0000)

are available in the git repository at:

git://git.kraxel.org/qemu tags/seabios-20181106-pull-request

for you to fetch changes up to 0b8f74488e50f98b04e63157f85fde8a13f8d6aa:

update seabios to master snapshot (2018-11-06 12:23:58 +0100)

Quoted 7 lines

----------------------------------------------------------------
seabios update for 3.1

----------------------------------------------------------------

Gerd Hoffmann (1):
update seabios to master snapshot

Applied, thanks.

-- PMM

#2 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

In reply to Gerd Hoffmann
Quoted 20 lines · Gerd Hoffmann

seabios 1.12 release is planned for november.

update seabios to a master branch snapshot so it gets more testing and to make the delta smaller when updating to -final during freeze.

git shortlog rel-1.11.2..14221cd86e
===================================

[...]

Paul Menzel (1):
docs/Download: Use more secure HTTPS URLs where possible

Stefan Berger (5):
tpm: Add support for TPM2 ACPI table
tpm: Wait for tpmRegValidSts flag on CRB interface before probing
tpm: revert return values for successful/failed CRB probing
tpm: when CRB is active, select, lock it, and check addresses
tpm: Request access to locality 0

Quoted 6 lines

Stephen Douthit (3):
tpm: Refactor duplicated wait code in tis_wait_sts() & crb_wait_reg()
tpm: Wait for interface startup when probing
tpm: Handle unimplemented TIS_REG_IFACE_ID in tis_get_tpm_version()

Thanks for taking the latest version. If this works out well, would it be possible to use this version of Seabios also for QEMU 3.0 stable? I am asking primarily due to the TPM patches and the fact that QEMU 3.0 is packaged in F29, with the CRB port missing in Seabios...

   Stefan

#3 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

Hi,

Quoted 6 lines
Quoted 1 line

Thanks for taking the latest version. If this works out well, would it be possible to use this version of Seabios also for QEMU 3.0 stable? I am asking primarily due to the TPM patches and the fact that QEMU 3.0 is packaged in F29, with the CRB port missing in Seabios...

Fedora doesn't use the precompiled binary anyway,
so that wouldn't help ...

cheers,
Gerd

#4 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

In reply to Gerd Hoffmann

Hi Gerd,

Quoted 4 lines · Gerd Hoffmann

seabios 1.12 release is planned for november.

update seabios to a master branch snapshot so it gets more testing and to make the delta smaller when updating to -final during freeze.

I just bisected a performance regression for TCG-based x86 emulation to this commit.

The issue is that after this patch, tlb_flush() gets called *way* more often -- e.g. ~90,000 instead of ~400 times in the first second or so when booting.

Steps to reproduce:

1. Add this debug print:

accel/tcg/cputlb.c +6 -0
@@ -183,6 +183,12 @@ void tlb_flush_by_mmuidx(CPUState *cpu, uint16_td)
 
 void tlb_flush(CPUState *cpu)
 {
+    static int count;
+
+    count++;
+    if (!(count % 100)) {
+        printf("%s: %d\n", __func__, count);
+    }
     tlb_flush_by_mmuidx(cpu, ALL_MMUIDX_BITS);
 }
 

2. build QEMU

3. invoke with:

  $ x86_64-softmmu/qemu-system-x86_64 -nographic

You should then see many "tlb_flush: N" lines, with N reaching ~90,000 before the SeaBIOS banner comes out.

Note that before this patch, you should only see N == ~400 before reaching the banner.

How can I bisect seabios? I can't find a recipe to generate the .bin files included in this commit.

Thanks,

Emilio

#5 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

Hi,

Quoted 2 lines

How can I bisect seabios? I can't find a recipe to generate the .bin files included in this commit.

"make -C roms bios" will build it, using the roms/seabios submodule.

HTH,
Gerd

#6 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

Quoted 4 lines · Gerd Hoffmann
Quoted 2 lines

How can I bisect seabios? I can't find a recipe to generate the .bin files included in this commit.

"make -C roms bios" will build it, using the roms/seabios submodule.

Thanks! This helped.

The regression was introduced between 1.11 and 1.12 by:
96060ad ("tpm: Wait for interface startup when probing", 2018-03-02)

Fortunately, the issue is fixed right after the 1.12 tag by:
42efebd ("tpm: Check for TPM related ACPI tables before attempting hw

            probe", 2018-11-27)

Are there any further seabios updates planned for 4.0? Would be nice to get this fix in.

Thanks,

Emilio

#7 lore raw

Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot

Quoted 11 lines · Emilio G. Cota
Quoted 4 lines · Gerd Hoffmann
Quoted 2 lines

How can I bisect seabios? I can't find a recipe to generate the .bin files included in this commit.

"make -C roms bios" will build it, using the roms/seabios submodule.

Thanks! This helped.

The regression was introduced between 1.11 and 1.12 by:
96060ad ("tpm: Wait for interface startup when probing", 2018-03-02)

Quoted 6 lines

Fortunately, the issue is fixed right after the 1.12 tag by:
42efebd ("tpm: Check for TPM related ACPI tables before attempting hw

            probe", 2018-11-27)

Are there any further seabios updates planned for 4.0? Would be nice to get this fix in.

Created 1.12-stable branch and cherry-picked this fix. We'll do a 1.12.1 stable release in time for qemu 4.0.

cheers,
Gerd