qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 288d33: hostmem: set MPOL_MF_MOVE


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 288d33: hostmem: set MPOL_MF_MOVE
Date: Mon, 25 Aug 2014 12:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 288d3322022d6ad646407f3ca6f1a6a746565b9a
      
https://github.com/qemu/qemu/commit/288d3322022d6ad646407f3ca6f1a6a746565b9a
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2014-08-20 (Wed, 20 Aug 2014)

  Changed paths:
    M backends/hostmem.c

  Log Message:
  -----------
  hostmem: set MPOL_MF_MOVE

When memory is allocated on a wrong node, MPOL_MF_STRICT
doesn't move it - it just fails the allocation.
A simple way to reproduce the failure is with mlock=on
realtime feature.

The code comment actually says: "ensure policy won't be ignored"
so setting MPOL_MF_MOVE seems like a better way to do this.

Cc: address@hidden
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9f6b2f1c6497adcce4dec9b3bd1f1e78877a03dd
      
https://github.com/qemu/qemu/commit/9f6b2f1c6497adcce4dec9b3bd1f1e78877a03dd
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci/pci_bridge.c

  Log Message:
  -----------
  pci_bridge: manually destroy memory regions within PCIBridgeWindows

The regions are destroyed and recreated on configuration space accesses.
We need to destroy them before the containing PCIBridgeWindows object
is freed.

Reported-by: Gonglei <address@hidden>
Reported-by: Knut Omang <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: fa365d7cd11185237471823a5a33d36765454e16
      
https://github.com/qemu/qemu/commit/fa365d7cd11185237471823a5a33d36765454e16
  Author: Gonglei <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/acpi/pcihp.c

  Log Message:
  -----------
  pcihp: fix possible array out of bounds

Prevent out-of-bounds array access on
acpi_pcihp_pci_status.

Signed-off-by: Gonglei <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Cc: address@hidden
Reviewed-by: Marcel Apfelbaum <address@hidden>


  Commit: 927766c7d34275ecf586020cc5305e377cc4af10
      
https://github.com/qemu/qemu/commit/927766c7d34275ecf586020cc5305e377cc4af10
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc: reserve more memory for ACPI for new machine types

commit 868270f23d8db2cce83e4f082fe75e8625a5fbf9
    acpi-build: tweak acpi migration limits
broke kernel loading with -kernel/-initrd: it doubled
the size of ACPI tables but did not reserve
enough memory.

As a result, issues on boot and halt are observed.

Fix this up by doubling reserved memory for new machine types.

Cc: address@hidden
Reported-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 711b20b479aa96e26324371f10aff514681ea24c
      
https://github.com/qemu/qemu/commit/711b20b479aa96e26324371f10aff514681ea24c
  Author: Stefan Berger <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    M hw/i386/acpi-defs.h
    A hw/i386/ssdt-tpm.dsl
    M hw/tpm/tpm_tis.h
    A include/hw/acpi/tpm.h
    M include/sysemu/tpm.h

  Log Message:
  -----------
  Add ACPI tables for TPM

Add an SSDT ACPI table for the TPM device.
Add a TCPA table for BIOS logging area when a TPM is being used.

The latter follows this spec here:

http://www.trustedcomputinggroup.org/files/static_page_files/DCD4188E-1A4B-B294-D050A155FB6F7385/TCG_ACPIGeneralSpecification_PublicReview.pdf

This patch has Michael Tsirkin's patches folded in.

Signed-off-by: Stefan Berger <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>


  Commit: cec391d752801d1b8b30de2fb1b2dab29ad7e38c
      
https://github.com/qemu/qemu/commit/cec391d752801d1b8b30de2fb1b2dab29ad7e38c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    A hw/i386/ssdt-tpm.hex.generated

  Log Message:
  -----------
  ssdt-tpm: add generated hex file to git

Needed for systems without IASL.

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: ec70b46babac79efc249c8780cafeae97d1c3059
      
https://github.com/qemu/qemu/commit/ec70b46babac79efc249c8780cafeae97d1c3059
  Author: Knut Omang <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci/pcie.c

  Log Message:
  -----------
  pcie: Fix incorrect write to the ari capability next function field

PCI_ARI_CAP_NFN, a macro for reading next function was used instead of
the intended write.

Signed-off-by: Knut Omang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 821be9dbb220389eaa6857705e1df9e64888138f
      
https://github.com/qemu/qemu/commit/821be9dbb220389eaa6857705e1df9e64888138f
  Author: Knut Omang <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci-bridge/ioh3420.c
    M hw/pci-bridge/xio3130_downstream.c
    M hw/pci/pcie.c
    M include/hw/pci/pcie.h

  Log Message:
  -----------
  pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_*

Rename helper functions to make a clearer distinction between
the PCIe capability/control register feature ARI forwarding and a
device that supports the ARI feature via an ARI extended PCIe capability.

Signed-off-by: Knut Omang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0f9b1771ccc65873a8376c81200a437aa58c2f6d
      
https://github.com/qemu/qemu/commit/0f9b1771ccc65873a8376c81200a437aa58c2f6d
  Author: Knut Omang <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci-bridge/ioh3420.c

  Log Message:
  -----------
  ioh3420: Remove obsoleted, unused ioh3420_init function

Signed-off-by: Knut Omang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: a74b87027065fdacdadc906c236b001419df7c91
      
https://github.com/qemu/qemu/commit/a74b87027065fdacdadc906c236b001419df7c91
  Author: Knut Omang <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci-bridge/ioh3420.c

  Log Message:
  -----------
  ioh3420: Enable ARI forwarding

Signed-off-by: Knut Omang <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 187de915e8d06aaf82be206aebc551c82bf0670c
      
https://github.com/qemu/qemu/commit/187de915e8d06aaf82be206aebc551c82bf0670c
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M hw/pci/pcie.c

  Log Message:
  -----------
  pcie: fix trailing whitespace

Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: a44a12b78a7e9a3dc59e5b10b09a0bc934c693f1
      
https://github.com/qemu/qemu/commit/a44a12b78a7e9a3dc59e5b10b09a0bc934c693f1
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M backends/hostmem.c
    M hw/acpi/pcihp.c
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    M hw/i386/acpi-defs.h
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    A hw/i386/ssdt-tpm.dsl
    A hw/i386/ssdt-tpm.hex.generated
    M hw/pci-bridge/ioh3420.c
    M hw/pci-bridge/xio3130_downstream.c
    M hw/pci/pci_bridge.c
    M hw/pci/pcie.c
    M hw/tpm/tpm_tis.h
    A include/hw/acpi/tpm.h
    M include/hw/i386/pc.h
    M include/hw/pci/pcie.h
    M include/sysemu/tpm.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

pci, pc fixes, features

A bunch of bugfixes - these will make sense for 2.1.1

ACPI support for TPM and partial ARI support for PCIE.

Signed-off-by: Michael S. Tsirkin <address@hidden>

# gpg: Signature made Sun 24 Aug 2014 23:16:35 BST using RSA key ID D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>"
# gpg:                 aka "Michael S. Tsirkin <address@hidden>"

* remotes/mst/tags/for_upstream:
  pcie: fix trailing whitespace
  ioh3420: Enable ARI forwarding
  ioh3420: Remove obsoleted, unused ioh3420_init function
  pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_*
  pcie: Fix incorrect write to the ari capability next function field
  ssdt-tpm: add generated hex file to git
  Add ACPI tables for TPM
  pc: reserve more memory for ACPI for new machine types
  pcihp: fix possible array out of bounds
  pci_bridge: manually destroy memory regions within PCIBridgeWindows
  hostmem: set MPOL_MF_MOVE

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/3dd359c2d34c...a44a12b78a7e

reply via email to

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