qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 52f590: move MemMapEntry


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 52f590: move MemMapEntry
Date: Thu, 01 Oct 2020 08:45:34 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 52f5903a27f3bf862aced027dfce4444eed4e2fe
      
https://github.com/qemu/qemu/commit/52f5903a27f3bf862aced027dfce4444eed4e2fe
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/arm/sbsa-ref.c
    M include/exec/hwaddr.h
    M include/hw/arm/virt.h

  Log Message:
  -----------
  move MemMapEntry

It is defined twice already.  Move to a common header file to
remove duplication and make it available to everybody.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-2-kraxel@redhat.com


  Commit: 5b85eabe68f9e75d85e0c0db3b9eade75e7217f0
      
https://github.com/qemu/qemu/commit/5b85eabe68f9e75d85e0c0db3b9eade75e7217f0
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    A hw/pci-host/gpex-acpi.c
    M hw/pci-host/meson.build
    M include/hw/pci-host/gpex.h

  Log Message:
  -----------
  acpi: add acpi_dsdt_add_gpex

Add helper function to generate dsdt aml code for the gpex pci host.
Largely copied from arm/virt.  Configuration is handled by passing
a config struct instead of looked up from memory map.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-3-kraxel@redhat.com


  Commit: 06d2dd4911a9d2b7c8ac20f834cfdc2a950a13c2
      
https://github.com/qemu/qemu/commit/06d2dd4911a9d2b7c8ac20f834cfdc2a950a13c2
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/arm/virt-acpi-build.c

  Log Message:
  -----------
  arm: use acpi_dsdt_add_gpex

Fill gpex config struct from memory map, then call the new
acpi_dsdt_add_gpex helper function.  No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-4-kraxel@redhat.com


  Commit: ebf187757048e972eea1054cb1b5b54a3e47356b
      
https://github.com/qemu/qemu/commit/ebf187757048e972eea1054cb1b5b54a3e47356b
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/hw/i386/microvm.h

  Log Message:
  -----------
  microvm: add irq table

Add a comment with a table listing the IRQs,
both legacy pc and microvm side-by-side.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-5-kraxel@redhat.com


  Commit: 24db877ab6e6dc999016f1f29e59c7eb1539f5d3
      
https://github.com/qemu/qemu/commit/24db877ab6e6dc999016f1f29e59c7eb1539f5d3
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/Kconfig
    M hw/i386/acpi-microvm.c
    M hw/i386/microvm.c
    M include/hw/i386/microvm.h

  Log Message:
  -----------
  microvm: add pcie support

Uses the existing gpex device which is also used as pcie host bridge on
arm/aarch64.  For now only a 32bit mmio window and no ioport support.

It is disabled by default, use "-machine microvm,pcie=on" to enable.
ACPI support must be enabled too because the bus is declared in the
DSDT table.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-6-kraxel@redhat.com


  Commit: 8c2d9f9a38aa3237e16722e36e5a6b53a43fc7db
      
https://github.com/qemu/qemu/commit/8c2d9f9a38aa3237e16722e36e5a6b53a43fc7db
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/microvm.c

  Log Message:
  -----------
  microvm/pcie: add 64bit mmio window

Place the 64bit window at the top of the physical address space, assign
25% of the avaiable address space.  Force cpu.host-phys-bits=on for
microvm machine typs so this actually works reliable.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-7-kraxel@redhat.com


  Commit: 928dda43017681555a4f63196435881dbf7459ca
      
https://github.com/qemu/qemu/commit/928dda43017681555a4f63196435881dbf7459ca
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests/acpi: allow updates for expected data files

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-8-kraxel@redhat.com


  Commit: fe1e5cc805586d1f3e558e2a46f952d6e46c5cb0
      
https://github.com/qemu/qemu/commit/fe1e5cc805586d1f3e558e2a46f952d6e46c5cb0
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    A tests/data/acpi/microvm/DSDT.pcie

  Log Message:
  -----------
  tests/acpi: add empty tests/data/acpi/microvm/DSDT.pcie file

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-9-kraxel@redhat.com


  Commit: 62b61b85527ad4460559142dc4a5cfad502a5b01
      
https://github.com/qemu/qemu/commit/62b61b85527ad4460559142dc4a5cfad502a5b01
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests/acpi: factor out common microvm test setup

... into new test_acpi_microvm_prepare helper

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-10-kraxel@redhat.com


  Commit: 18bb73b3273d0c55ce1db1f8ab123d3d53506c7b
      
https://github.com/qemu/qemu/commit/18bb73b3273d0c55ce1db1f8ab123d3d53506c7b
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests/acpi: add microvm pcie test

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-11-kraxel@redhat.com


  Commit: 55c2f967c19fdbf6b19e32938ae2b3dd70389be8
      
https://github.com/qemu/qemu/commit/55c2f967c19fdbf6b19e32938ae2b3dd70389be8
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/pci-host/gpex-acpi.c

  Log Message:
  -----------
  acpi/gpex: no reason to use a method for _CRS

... just to return something which is constant anyway.

-            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
-            {
-                Return (ResourceTemplate ()
-                {
-                    WordBusNumber (ResourceProducer, MinFixed, MaxFixed, 
PosDecode,
[ ... ]

+            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
+            {
+                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
[ ... ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-12-kraxel@redhat.com


  Commit: 7f6c3d1a574bddcda6931eb00287089998725f71
      
https://github.com/qemu/qemu/commit/7f6c3d1a574bddcda6931eb00287089998725f71
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/data/acpi/microvm/DSDT.pcie
    M tests/data/acpi/virt/DSDT
    M tests/data/acpi/virt/DSDT.memhp
    M tests/data/acpi/virt/DSDT.numamem
    M tests/qtest/bios-tables-test-allowed-diff.h

  Log Message:
  -----------
  tests/acpi: update expected data files

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20200928104256.9241-13-kraxel@redhat.com


  Commit: b23317eec4715aa62de9a6e5490a01122c8eef0e
      
https://github.com/qemu/qemu/commit/b23317eec4715aa62de9a6e5490a01122c8eef0e
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M hw/arm/sbsa-ref.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/Kconfig
    M hw/i386/acpi-microvm.c
    M hw/i386/microvm.c
    A hw/pci-host/gpex-acpi.c
    M hw/pci-host/meson.build
    M include/exec/hwaddr.h
    M include/hw/arm/virt.h
    M include/hw/i386/microvm.h
    M include/hw/pci-host/gpex.h
    A tests/data/acpi/microvm/DSDT.pcie
    M tests/data/acpi/virt/DSDT
    M tests/data/acpi/virt/DSDT.memhp
    M tests/data/acpi/virt/DSDT.numamem
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/microvm-20200930-pull-request' into staging

microvm: add pcie support.

# gpg: Signature made Wed 30 Sep 2020 18:48:41 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/microvm-20200930-pull-request:
  tests/acpi: update expected data files
  acpi/gpex: no reason to use a method for _CRS
  tests/acpi: add microvm pcie test
  tests/acpi: factor out common microvm test setup
  tests/acpi: add empty tests/data/acpi/microvm/DSDT.pcie file
  tests/acpi: allow updates for expected data files
  microvm/pcie: add 64bit mmio window
  microvm: add pcie support
  microvm: add irq table
  arm: use acpi_dsdt_add_gpex
  acpi: add acpi_dsdt_add_gpex
  move MemMapEntry

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/37a712a0f969...b23317eec471



reply via email to

[Prev in Thread] Current Thread [Next in Thread]