Seabios 20181106 patches
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
[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
pc-bios/bios.bin binary +0 -0
pc-bios/vgabios-bochs-display.bin binary +0 -0
pc-bios/vgabios-cirrus.bin binary +0 -0
pc-bios/vgabios-qxl.bin binary +0 -0
pc-bios/vgabios-ramfb.bin binary +0 -0
pc-bios/vgabios-stdvga.bin binary +0 -0
pc-bios/vgabios-virtio.bin binary +0 -0
pc-bios/vgabios-vmware.bin binary +0 -0
pc-bios/vgabios.bin binary +0 -0
roms/seabios +1 -1
@@ -1 +1 @@ -Subproject commit f9626ccb91e771f990fbb2da92e427a399d7d918 +Subproject commit 14221cd86eadba82255fdc55ed174d401c7a0a04
Signature · 1 line
2.9.3
Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot
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 possibleStefan 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 intis_wait_sts()&crb_wait_reg()
tpm: Wait for interface startup when probing
tpm: Handle unimplementedTIS_REG_IFACE_IDintis_get_tpm_version()Signed-off-by Gerd Hoffmann <[email protected]>
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
Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot
Hi,
Quoted 6 lines
Quoted 1 line
Signed-off-by Gerd Hoffmann <[email protected]>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
Re: [Qemu-devel] [PULL 1/1] update seabios to master snapshot
In reply to Gerd HoffmannHi 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
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
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
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 hwprobe", 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
Peter Maydell
AppliedQuoted 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/qemutags/seabios-20181106-pull-requestfor 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