[PATCH v3 0/8] target-hppa fixes v3

Helge Deller posted 8 patches 3 years, 8 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200804140056.7690-1-deller@gmx.de
Maintainers: Helge Deller <deller@gmx.de>, Richard Henderson <rth@twiddle.net>
hw/display/artist.c       | 118 +++++++++++++++++++++++---------------
hw/hppa/hppa_hardware.h   |   6 ++
hw/hppa/lasi.c            |   9 +--
hw/hppa/machine.c         |  22 +++++++
pc-bios/hppa-firmware.img | Bin 766136 -> 783192 bytes
roms/seabios-hppa         |   2 +-
6 files changed, 106 insertions(+), 51 deletions(-)
[PATCH v3 0/8] target-hppa fixes v3
Posted by Helge Deller 3 years, 8 months ago
A few late fixes for target-hppa:

* Fix the SeaBIOS-hppa firmware build with gcc-10 on Debian

* Fix the SeaBIOS-hppa firmware to boot NetBSD again

* Fix quite some artist framebuffer out-of-bounds accesses

in addition the SeaBIOS-hppa firmware now includes a version check to prevent
starting when it's incompatible to the emulated qemu hardware.

The patchset can be pulled from
https://github.com/hdeller/qemu-hppa.git target-hppa

Helge

----------------------------------------------------------------
Changes to v2:
* added more Acks by Richard Henderson
* added more artist framebuffer out-of-bounds fixes by
  Philippe Mathieu-Daudé which were reported by Alexander Bulekov
* fix NetBSD boot

Changes to v1:
* added Ack by Richard Henderson for the first patch
* revised out of bounds check based on Richards feedback

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

Helge Deller (3):
      hw/hppa: Sync hppa_hardware.h file with SeaBIOS sources
      seabios-hppa: Update to SeaBIOS hppa version 1
      hw/hppa: Implement proper SeaBIOS version check

Sven Schnelle (1):
      hw/display/artist.c: fix out of bounds check

 hw/display/artist.c       |  18 ++++++------------
 hw/hppa/hppa_hardware.h   |   6 ++++++
 hw/hppa/lasi.c            |   2 --
 hw/hppa/machine.c         |  22 ++++++++++++++++++++++
 pc-bios/hppa-firmware.img | Bin 766136 -> 783144 bytes
 roms/seabios-hppa         |   2 +-
 6 files changed, 35 insertions(+), 15 deletions(-)
--
2.21.3

Helge Deller (5):
  hw/hppa: Sync hppa_hardware.h file with SeaBIOS sources
  seabios-hppa: Update to SeaBIOS hppa version 1
  hw/hppa: Implement proper SeaBIOS version check
  hw/hppa/lasi: Don't abort on invalid IMR value
  hw/display/artist: Prevent out of VRAM buffer accesses

Philippe Mathieu-Daudé (2):
  hw/display/artist: Check offset in draw_line to avoid buffer over-run
  hw/display/artist: Refactor artist_rop8() to avoid buffer over-run

Sven Schnelle (1):
  hw/display/artist.c: fix out of bounds check

 hw/display/artist.c       | 118 +++++++++++++++++++++++---------------
 hw/hppa/hppa_hardware.h   |   6 ++
 hw/hppa/lasi.c            |   9 +--
 hw/hppa/machine.c         |  22 +++++++
 pc-bios/hppa-firmware.img | Bin 766136 -> 783192 bytes
 roms/seabios-hppa         |   2 +-
 6 files changed, 106 insertions(+), 51 deletions(-)

--
2.21.3