qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 6ac0d8: ich9: add disable_s3, disable_s4, s4_


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 6ac0d8: ich9: add disable_s3, disable_s4, s4_val propertie...
Date: Tue, 27 Jan 2015 08:00:07 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6ac0d8d44c0966225b200cc25f8c5270f1191ec0
      
https://github.com/qemu/qemu/commit/6ac0d8d44c0966225b200cc25f8c5270f1191ec0
  Author: Amit Shah <address@hidden>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M hw/acpi/ich9.c
    M include/hw/acpi/ich9.h

  Log Message:
  -----------
  ich9: add disable_s3, disable_s4, s4_val properties

PIIX4 has disable_s3 and disable_s4 properties to enable or disable PM
functions.  Add such properties to the ICH9 chipset as well for the Q35
machine type.

S3 / S4 are not guaranteed to always work (needs work in the guest as
well as QEMU for things to work properly), and disabling advertising of
these features ensures guests don't go into zombie state if something
isn't working right.

The defaults are kept the same as in PIIX4: both S3 and S4 are enabled
by default.

These can be disabled via the cmdline:

  ... -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1

Note: some guests can fake hibernation by writing a hibernate image and
doing a shutdown instead of S4 if S4 isn't available; there's nothing we
can do guests to stop doing this, and this patch can't affect that
functionality.

Signed-off-by: Amit Shah <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>


  Commit: 7828d75045380ac659f2ad85fb5fec9bbb0746ac
      
https://github.com/qemu/qemu/commit/7828d75045380ac659f2ad85fb5fec9bbb0746ac
  Author: Don Koch <address@hidden>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M hw/pci/pci.c
    M trace-events

  Log Message:
  -----------
  Add some trace calls to pci.c.

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


  Commit: 27fb9688f9162515901ebf29e3879788fd326ea7
      
https://github.com/qemu/qemu/commit/27fb9688f9162515901ebf29e3879788fd326ea7
  Author: Alexander Graf <address@hidden>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M hw/pci/pcie_host.c
    M include/hw/pci/pcie_host.h

  Log Message:
  -----------
  pci: Split pcie_host_mmcfg_map()

The mmcfg space is a memory region that allows access to PCI config space
in the PCIe world. To maintain abstraction layers, I would like to expose
the mmcfg space as a sysbus mmio region rather than have it mapped straight
into the system's memory address space though.

So this patch splits the initialization of the mmcfg space from the actual
mapping, allowing us to only have an mmfg memory region without the map.

Signed-off-by: Alexander Graf <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Claudio Fontana <address@hidden>


  Commit: 6d4e4cb9985e24557abcf3932a0e7f8f6ab3c1d2
      
https://github.com/qemu/qemu/commit/6d4e4cb9985e24557abcf3932a0e7f8f6ab3c1d2
  Author: Igor Mammedov <address@hidden>
  Date:   2015-01-26 (Mon, 26 Jan 2015)

  Changed paths:
    M hw/i386/acpi-dsdt-cpu-hotplug.dsl

  Log Message:
  -----------
  pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled

ACPI parser in XP considers PNP0A06 devices of CPU and
memory hotplug as duplicates. Adding unique _UID
to CPU hotplug device fixes BSOD.

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


  Commit: 215d8d130be605c1927c764b027047c0ae0c6122
      
https://github.com/qemu/qemu/commit/215d8d130be605c1927c764b027047c0ae0c6122
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/SSDT

  Log Message:
  -----------
  acpi-test: update expected DSDT

Previous patch
    pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
changed DSDT, update expected test files.

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


  Commit: e909c16d924c0dbb852de3c0dd3d9cb5213b90c5
      
https://github.com/qemu/qemu/commit/e909c16d924c0dbb852de3c0dd3d9cb5213b90c5
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/acpi-dsdt.hex.generated
    M hw/i386/q35-acpi-dsdt.hex.generated

  Log Message:
  -----------
  acpi: update generated hex files

Previous patch
    pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
changed DSDT, update hex files for non-iasl builds.

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


  Commit: 6d848641b7a4da92840fb2f5c240d1668f5a9281
      
https://github.com/qemu/qemu/commit/6d848641b7a4da92840fb2f5c240d1668f5a9281
  Author: Igor Mammedov <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: build_append_nameseg(): add padding if necessary

According to ACPI spec NameSeg shorter than 4 characters
must be padded up to 4 characters with "_" symbol.
ACPI 5.0:  20.2.2 "Name Objects Encoding"

Do it in build_append_nameseg() so that caller shouldn't know
or care about it.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Claudio Fontana <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 71f4be25d476c2865688da1e568257313cc2e511
      
https://github.com/qemu/qemu/commit/71f4be25d476c2865688da1e568257313cc2e511
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

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

  Log Message:
  -----------
  bios-tables-test: split piix4 and q35 tests

This makes it clear which one is failing.

Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: John Snow <address@hidden>


  Commit: 91d5c57a2e98845c02cda026f3f6a88cb5e14225
      
https://github.com/qemu/qemu/commit/91d5c57a2e98845c02cda026f3f6a88cb5e14225
  Author: Cornelia Huck <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/scsi/virtio-scsi.c
    M hw/virtio/dataplane/vring.c

  Log Message:
  -----------
  virtio: fix feature bit checks

Several places check against the feature bit number instead of against
the feature bit. Fix them.

Cc: address@hidden
Reported-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 0058ae1d9483f5f96c7798e2ae51cce42c69abfb
      
https://github.com/qemu/qemu/commit/0058ae1d9483f5f96c7798e2ae51cce42c69abfb
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/bios-linker-loader.c
    R hw/i386/bios-linker-loader.h
    A include/hw/acpi/bios-linker-loader.h

  Log Message:
  -----------
  bios-linker-loader: move header to common location

Will be usable by MIPS, ARM.

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


  Commit: 09852232ee131d0bfa5bdf7f44a806158a5c8711
      
https://github.com/qemu/qemu/commit/09852232ee131d0bfa5bdf7f44a806158a5c8711
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/acpi/Makefile.objs
    A hw/acpi/bios-linker-loader.c
    M hw/i386/Makefile.objs
    R hw/i386/bios-linker-loader.c

  Log Message:
  -----------
  bios-linker-loader: move source to common location

There are plans to use bios linker by MIPS, ARM.

It's only used by ACPI ATM, so put it in hw/acpi
and make it depend on CONFIG_ACPI.

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


  Commit: 744c6d474791ff3ad5c2f08edc732564199fd146
      
https://github.com/qemu/qemu/commit/744c6d474791ff3ad5c2f08edc732564199fd146
  Author: Eduardo Habkost <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/smbios.c

  Log Message:
  -----------
  smbios: Fix dimm size calculation when RAM is multiple of 16GB

The Memory Device size calculation logic is broken when the RAM size is
a multiple of 16GB, making the size of the last entry be 0 instead of
16GB. Fix the logic to handle that case correctly.

Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>


  Commit: 07d01c9c1929e43216005fcc8eccea75776ee0d2
      
https://github.com/qemu/qemu/commit/07d01c9c1929e43216005fcc8eccea75776ee0d2
  Author: Eduardo Habkost <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/smbios.c

  Log Message:
  -----------
  smbios: Don't report unknown CPU speed (fix SVVP regression)

SVVP requires processor speed on Type 4 structures to not be unknown.
This was fixed in SeaBIOS 0.5.0 (in 2009), but the bug was reintroduced
in QEMU 2.1.

Revert to old behavior and report CPU speed as 2000 MHz instead of
unknown.

Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>


  Commit: 759048ac20174b34fa7a593f4da2e7fed34e599c
      
https://github.com/qemu/qemu/commit/759048ac20174b34fa7a593f4da2e7fed34e599c
  Author: Bharata B Rao <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: Fix DIMMs capacity calculation

pc_existing_dimms_capacity() is returning DIMMs count rather than capacity.
Fix this to return the capacity. Also consider only realized devices for
capacity calculation.

Signed-off-by: Bharata B Rao <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 9967c94957f60c2d1cadbe0bfd4373a13fb1a226
      
https://github.com/qemu/qemu/commit/9967c94957f60c2d1cadbe0bfd4373a13fb1a226
  Author: Bharata B Rao <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/pc.c
    M hw/mem/pc-dimm.c
    M include/hw/mem/pc-dimm.h

  Log Message:
  -----------
  pc-dimm: Make pc_existing_dimms_capacity global

Move pc_existing_dimms_capacity() to pc-dimm.c since it would be needed
by PowerPC memory hotplug code too.

Signed-off-by: Bharata B Rao <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>


  Commit: 37153450436f58449ce7e41d13a23821611e889e
      
https://github.com/qemu/qemu/commit/37153450436f58449ce7e41d13a23821611e889e
  Author: Bharata B Rao <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/i386/pc.c
    M hw/mem/pc-dimm.c
    M include/hw/mem/pc-dimm.h

  Log Message:
  -----------
  pc-dimm: Add Error argument to pc_existing_dimms_capacity

Now that pc_existing_dimms_capacity() is an API, include Error pointer
as an argument and modify the caller appropriately.

Suggested-by: Igor Mammedov <address@hidden>
Signed-off-by: Bharata B Rao <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>


  Commit: b00c92e3ef59b78f6029d66353aaf995ceaa6605
      
https://github.com/qemu/qemu/commit/b00c92e3ef59b78f6029d66353aaf995ceaa6605
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M hw/acpi/Makefile.objs
    A hw/acpi/bios-linker-loader.c
    M hw/acpi/ich9.c
    M hw/i386/Makefile.objs
    M hw/i386/acpi-build.c
    M hw/i386/acpi-dsdt-cpu-hotplug.dsl
    M hw/i386/acpi-dsdt.hex.generated
    R hw/i386/bios-linker-loader.c
    R hw/i386/bios-linker-loader.h
    M hw/i386/pc.c
    M hw/i386/q35-acpi-dsdt.hex.generated
    M hw/i386/smbios.c
    M hw/mem/pc-dimm.c
    M hw/pci/pci.c
    M hw/pci/pcie_host.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/dataplane/vring.c
    A include/hw/acpi/bios-linker-loader.h
    M include/hw/acpi/ich9.h
    M include/hw/mem/pc-dimm.h
    M include/hw/pci/pcie_host.h
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/SSDT
    M tests/bios-tables-test.c
    M trace-events

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

pci, pc, virtio fixes and cleanups

A bunch of fixes all over the place.  Also, beginning to generalize acpi build
code for reuse by ARM.

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

# gpg: Signature made Tue 27 Jan 2015 13:12:25 GMT 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:
  pc-dimm: Add Error argument to pc_existing_dimms_capacity
  pc-dimm: Make pc_existing_dimms_capacity global
  pc: Fix DIMMs capacity calculation
  smbios: Don't report unknown CPU speed (fix SVVP regression)
  smbios: Fix dimm size calculation when RAM is multiple of 16GB
  bios-linker-loader: move source to common location
  bios-linker-loader: move header to common location
  virtio: fix feature bit checks
  bios-tables-test: split piix4 and q35 tests
  acpi: build_append_nameseg(): add padding if necessary
  acpi: update generated hex files
  acpi-test: update expected DSDT
  pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled
  pci: Split pcie_host_mmcfg_map()
  Add some trace calls to pci.c.
  ich9: add disable_s3, disable_s4, s4_val properties

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


Compare: https://github.com/qemu/qemu/compare/7baef630732a...b00c92e3ef59

reply via email to

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