1. 21 6月, 2019 2 次提交
  2. 18 6月, 2019 4 次提交
  3. 17 6月, 2019 3 次提交
    • M
      tests/rebuild-expected-aml.sh: blow out difflist · 5f6b3561
      Michael S. Tsirkin 提交于
      As expected files have been updated, make sure we
      do not forget to remove them from the allowed
      diff list.
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      5f6b3561
    • M
      q35: update DSDT · 500eb6db
      Michael S. Tsirkin 提交于
      update expected files and drop them from allowed diff list.
      
      Fixes: 4a441836 ("q35: fix mmconfig and PCI0._CRS")
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      500eb6db
    • G
      q35: fix mmconfig and PCI0._CRS · 4a441836
      Gerd Hoffmann 提交于
      This patch changes the handling of the mmconfig area.  Thanks to the
      pci(e) expander devices we already have the logic to exclude address
      ranges from PCI0._CRS.  We can simply add the mmconfig address range
      to the list get it excluded as well.
      
      With that in place we can go with a fixed pci hole which covers the
      whole area from the end of (low) ram to the ioapic.
      
      This will make the whole logic alot less fragile.  No matter where the
      firmware places the mmconfig xbar, things should work correctly.  The
      guest also gets a bit more PCI address space (seabios boot):
      
          # cat /proc/iomem
          [ ... ]
          7ffdd000-7fffffff : reserved
          80000000-afffffff : PCI Bus 0000:00            <<-- this is new
          b0000000-bfffffff : PCI MMCONFIG 0000 [bus 00-ff]
            b0000000-bfffffff : reserved
          c0000000-febfffff : PCI Bus 0000:00
            f8000000-fbffffff : 0000:00:01.0
          [ ... ]
      
      So this is a guest visible change.
      
      Cc: László Érsek <lersek@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NIgor Mammedov <imammedo@redhat.com>
      Message-Id: <20190607073429.3436-1-kraxel@redhat.com>
      4a441836
  4. 14 6月, 2019 9 次提交
  5. 13 6月, 2019 18 次提交
  6. 12 6月, 2019 4 次提交
    • M
      Supply missing header guards · f91005e1
      Markus Armbruster 提交于
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190604181618.19980-5-armbru@redhat.com>
      f91005e1
    • M
      Clean up a few header guard symbols · 37677d7d
      Markus Armbruster 提交于
      Commit 58ea30f5 "Clean up header guards that don't match their file
      name" messed up contrib/elf2dmp/qemu_elf.h and
      tests/migration/migration-test.h.
      
      It missed target/cris/opcode-cris.h and
      tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h
      due to the scripts/clean-header-guards.pl bug fixed in the previous
      commit.
      
      Commit a8b991b5 "Clean up ill-advised or unusual header guards"
      missed include/hw/xen/io/ring.h for the same reason.
      
      Commit 3979fca4 "disas: Rename include/disas/bfd.h back to
      include/disas/dis-asm.h" neglected to update the guard symbol for the
      rename.
      
      Commit a331c6d7 "semihosting: implement a semihosting console"
      created include/hw/semihosting/console.h with an ill-advised guard
      symbol.
      
      Clean them up.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190604181618.19980-4-armbru@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Tested-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      37677d7d
    • M
      Normalize position of header guard · 0553d895
      Markus Armbruster 提交于
      This is the common header guard idiom:
      
          /*
           * File comment
           */
      
          #ifndef GUARD_SYMBOL_H
          #define GUARD_SYMBOL_H
      
          ... actual contents ...
      
          #endif
      
      A few of our headers have some #include before the guard.
      target/tilegx/spr_def_64.h has #ifndef __DOXYGEN__ outside the guard.
      A few more have the #define elsewhere.
      
      Change them to match the common idiom.  For spr_def_64.h, that means
      dropping #ifndef __DOXYGEN__.  While there, rename guard symbols to
      make scripts/clean-header-guards.pl happy.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190604181618.19980-2-armbru@redhat.com>
      [Rebased with conflicts resolved automatically]
      0553d895
    • M
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster 提交于
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326