Skip to content

pc: inform SeaBIOS where 64-bit PCI hole begins

Igor Mammedov qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 8 repliesIn review
  2. v22 patches 12 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

* rebased on top of current master (1.7-rc0), wich includes dependency "memory: Change MemoryRegion priorities from unsigned to signed"
* s/pcimem64-minimum-address/reserved-memory-end/ per Michael suggestion

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pc: map PCI address space as catchall region for not mapped addresseshw/i386/pc.c hw/i386/pc_piix.c hw/pci-host/piix.c +3 more+17 -741 reply
2/2pc: add 'etc/reserved-memory-end' fw_cfg interface for SeaBIOShw/i386/pc.c hw/pci-host/piix.c hw/pci-host/q35.c +1 more+19 -48 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchLaszlo Ersek
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH for-1.8 0/2 v3] pc: inform SeaBIOS where 64-bit PCI hole begins

* simplify PCI address space mapping into system address space, replacing code duplication in piix/q53 PCs with a helper function

* add fw_cfg 'etc/reserved-memory-end' to allow QEMU reserve additional address space before 64-bit PCI hole. Which will be need for reserving memory hotplug region in highmem.

v3:
* rebased on top of current master (1.7-rc0), wich includes dependency "memory: Change MemoryRegion priorities from unsigned to signed"
* s/pcimem64-minimum-address/reserved-memory-end/ per Michael suggestion

v2:
* use negative priority to map PCI address space under RAM memory regions which allows simplify code by removing pci_hole & pci_hole64 memory region aliases

Igor Mammedov (1):
pc: add 'etc/reserved-memory-end' fw_cfg interface for SeaBIOS

Michael S. Tsirkin (1):
pc: map PCI address space as catchall region for not mapped addresses

 hw/i386/pc.c              | 28 ++++++++++++++++------------
 hw/i386/pc_piix.c         |  2 --
 hw/pci-host/piix.c        | 27 +++++----------------------
 hw/pci-host/q35.c         | 28 ++++++----------------------
 include/hw/i386/pc.h      | 15 +++------------
 include/hw/pci-host/q35.h |  2 --
 6 files changed, 30 insertions(+), 72 deletions(-)
Signature · 1 line
1.8.3.1