qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d19587: tests: acpi: report names of expected


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d19587: tests: acpi: report names of expected files in ver...
Date: Tue, 07 Jun 2016 08:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d19587db9e8b87f845494bcb903ccdb2509beb42
      
https://github.com/qemu/qemu/commit/d19587db9e8b87f845494bcb903ccdb2509beb42
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  tests: acpi: report names of expected files in verbose mode

print expected file name if it doesn't exists if
verbose mode is enabled*. It helps to avoid running
bios-tables-test under debugger to figure out missing
file name.

*)
verbose mode is enabled if "V" env. variable is set

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


  Commit: e8977414a2148c75d2ecf69da8860a7e334cb814
      
https://github.com/qemu/qemu/commit/e8977414a2148c75d2ecf69da8860a7e334cb814
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_debug()

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


  Commit: 7bc6fd24646fc0c2927c3ab255b8b09ed42e67ee
      
https://github.com/qemu/qemu/commit/7bc6fd24646fc0c2927c3ab255b8b09ed42e67ee
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M include/hw/acpi/aml-build.h

  Log Message:
  -----------
  acpi: add aml_refof()

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


  Commit: 86958d2dddd0c21a4a6602e418bc7818e5a4a964
      
https://github.com/qemu/qemu/commit/86958d2dddd0c21a4a6602e418bc7818e5a4a964
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc: acpi: remove AML for empty/not used GPE handlers

ACPI spec requires GPE handlers only for GPE events
that hardware implements.
So remove AML for not supported by QEMU device model
events.

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


  Commit: 7c2991fa115eae8d54e544d6231ee81844d6c8e3
      
https://github.com/qemu/qemu/commit/7c2991fa115eae8d54e544d6231ee81844d6c8e3
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/cpu_hotplug_acpi_table.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/cpu_hotplug.h

  Log Message:
  -----------
  pc: acpi: consolidate CPU hotplug AML

move the former SSDT part of CPU hoplug close to DSDT part.
AML is only moved but there isn't any functional change.

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


  Commit: 8edf77e497deb35024a6318a7f568d1e117bdb49
      
https://github.com/qemu/qemu/commit/8edf77e497deb35024a6318a7f568d1e117bdb49
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc: acpi: consolidate \GPE._E02 with the rest of CPU hotplug AML

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


  Commit: a630bb314c1f3108f391d19e1a20e07ea3c9edd2
      
https://github.com/qemu/qemu/commit/a630bb314c1f3108f391d19e1a20e07ea3c9edd2
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/cpu_hotplug_acpi_table.c
    M include/hw/acpi/cpu_hotplug.h

  Log Message:
  -----------
  pc: acpi: cpu-hotplug: make AML CPU_foo defines local to 
cpu_hotplug_acpi_table.c

now as those defines are used only locally inside of
cpu_hotplug_acpi_table.c, move them out of header file.

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


  Commit: 96e3e12bff14a16e27072619f571bc7b400145c3
      
https://github.com/qemu/qemu/commit/96e3e12bff14a16e27072619f571bc7b400145c3
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/cpu_hotplug.c
    M hw/acpi/cpu_hotplug_acpi_table.c
    M hw/acpi/ich9.c
    M hw/acpi/piix4.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/cpu_hotplug.h

  Log Message:
  -----------
  pc: acpi: mark current CPU hotplug functions as legacy

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


  Commit: 672a28722758bd4754a1bb31ee497b5d007d1be6
      
https://github.com/qemu/qemu/commit/672a28722758bd4754a1bb31ee497b5d007d1be6
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/Makefile.objs
    M hw/acpi/cpu_hotplug.c
    R hw/acpi/cpu_hotplug_acpi_table.c

  Log Message:
  -----------
  pc: acpi: consolidate legacy CPU hotplug in one file

Since AML part of CPU hotplug is tightly coupled with
its hardware part (IO port layout/protocol), move
build_legacy_cpu_hotplug_aml() to cpu_hotplug.c
and remove empty cpu_hotplug_acpi_table.c

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


  Commit: ebd8ea82441020f2781928b17f37ed9a0d2e4250
      
https://github.com/qemu/qemu/commit/ebd8ea82441020f2781928b17f37ed9a0d2e4250
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc: acpi: simplify build_legacy_cpu_hotplug_aml() signature

since IO block used by CPU hotplug is fixed size and
initialized it the same file as build_legacy_cpu_hotplug_aml()
just use ACPI_GPE_PROC_LEN directly instead of passing
it around in several files.

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


  Commit: 76bdd24ec05d9b8d41582a10602e6cf350541c6b
      
https://github.com/qemu/qemu/commit/76bdd24ec05d9b8d41582a10602e6cf350541c6b
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc: acpi: cpuhp-legacy: switch ProcessorID to possible_cpus idx

In legacy cpu-hotplug ProcessorID == APIC ID is used
in MADT and cpu-hotplug AML. It was fine as both
are 8bit and unique. Spec depricated Processor()
with corresponding ProcessorID and advises to use
Device() and UID instead of it.

However UID is just 32bit and it can't fit ARM's
arch_id(MPIDR) which is 64bit. Also in case of
sparse arch_id() distribution, managment/lookup
of maps by arch_id(APIC ID/MPIDR) becomes complex
and expensive.

In preparation to common CPU hotplug with ARM
and to simplify lookup in possible_cpus[] map
switch ProcessorID to possible_cpus index in
MADT.

Legacy cpu-hotplug considerations:
HW interface of it is APIC ID based bitmask so
it's impossible to change, also CPON package in
AML also APIC ID based as well all the methods.

To avoid massive rewrite of AML keep is so and
just break assumption that ProcessorID == APIC ID,
ammending CPU_MAT_METHOD to accept APIC ID and
possible_cpus index, it needs them both to patch
MADT entry template. Also switch to possible_cpus
index Processor(ProcessorID) AML.
That way changes to MADT/AML are minimal and kept
inside AML/MADT not affecting external interfaces.

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


  Commit: 53c400a6ac37a3ed112c0577896a857d49029807
      
https://github.com/qemu/qemu/commit/53c400a6ac37a3ed112c0577896a857d49029807
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  tests: acpi: update tables with consolidated legacy cpu-hotplug AML

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


  Commit: 15139b8ef0ea3d9dd35965bdd5d4f564ffa6e9e1
      
https://github.com/qemu/qemu/commit/15139b8ef0ea3d9dd35965bdd5d4f564ffa6e9e1
  Author: Corey Minyard <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/ipmi/ipmi.c
    M hw/ipmi/isa_ipmi_bt.c
    M hw/ipmi/isa_ipmi_kcs.c
    M include/hw/ipmi/ipmi.h

  Log Message:
  -----------
  ipmi: rework the fwinfo to be fetched from the interface

Instead of scanning IPMI devices from a fwinfo list, allow
the fwinfo to be fetched from the IPMI interface class.
Then the code looking for IPMI fwinfo can scan devices on a
bus and look for ones that implement the IPMI class.

This will let the ACPI scope be defined by the calling
code so the IPMI code doesn't have to know the scope.

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


  Commit: 6d42eefad8ead3dd8a1fc887efb9a017a35319fc
      
https://github.com/qemu/qemu/commit/6d42eefad8ead3dd8a1fc887efb9a017a35319fc
  Author: Corey Minyard <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  pc: Postpone SMBIOS table installation to post machine init

This is the same place that the ACPI SSDT table gets added, so that
devices can add themselves to the SMBIOS table.

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


  Commit: eaf23bf794c749c621a5605c1076a16e3d81e12b
      
https://github.com/qemu/qemu/commit/eaf23bf794c749c621a5605c1076a16e3d81e12b
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/acpi_interface.c
    M hw/acpi/core.c
    M hw/acpi/piix4.c
    M hw/isa/lpc_ich9.c
    M include/hw/acpi/acpi.h
    M include/hw/acpi/acpi_dev_interface.h

  Log Message:
  -----------
  acpi: extend ACPI interface to provide send_event hook

send_event() hook will allow to send ACPI event in
a target specific way (GPE or GPIO based impl.)
it will also simplify proxy wrappers in piix4pm/ich9
that access ACPI regs and SCI which are part of
piix4pm/lcp_ich9 devices and call acpi_foo() API directly.

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


  Commit: 0058c0823815d33c96f4f26106dbd713c76280e1
      
https://github.com/qemu/qemu/commit/0058c0823815d33c96f4f26106dbd713c76280e1
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/cpu_hotplug.c
    M hw/acpi/ich9.c
    M hw/acpi/memory_hotplug.c
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M hw/isa/lpc_ich9.c
    M include/hw/acpi/cpu_hotplug.h
    M include/hw/acpi/ich9.h
    M include/hw/acpi/memory_hotplug.h
    M include/hw/acpi/pcihp.h

  Log Message:
  -----------
  pc: use AcpiDeviceIfClass.send_event to issue GPE events

it reduces number of args passed in handlers by 1 and
a number of used proxy wrappers saving ~20LOC.
Also it allows to make cpu/mem hotplug code more
universal as it would allow ARM to reuse it without
rewrite by providing its own send_event callback
to trigger events usiong GPIO instead of GPE
as fixed hadrware ACPI model doen't have GPE at all.

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


  Commit: 0e9b9edae7bebfd31fdbead4ccbbce03876a7edd
      
https://github.com/qemu/qemu/commit/0e9b9edae7bebfd31fdbead4ccbbce03876a7edd
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/acpi/nvdimm.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/aml-build.h
    M include/hw/acpi/bios-linker-loader.h
    M include/hw/mem/nvdimm.h

  Log Message:
  -----------
  acpi: convert linker from GArray to BIOSLinker structure

Patch just changes type of of linker variables to
a structure, there aren't any functional changes.

Converting linker to a structure will allow to extend
it functionality in follow up patch adding sanity blob
checks.

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


  Commit: ad9671b8700ac491564d964f79ee9d1f106756ae
      
https://github.com/qemu/qemu/commit/ad9671b8700ac491564d964f79ee9d1f106756ae
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/acpi/nvdimm.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/bios-linker-loader.h
    M include/hw/mem/nvdimm.h

  Log Message:
  -----------
  acpi: simplify bios_linker API by removing redundant 'table' argument

'table' argument in bios_linker_add_foo() commands is
a data blob of one of files also passed to the same API.
So instead of passing blob in every API call, add and keep
file name association with related blob at bios_linker_loader_alloc()
time.

And find blob by name looking up allocated file entries
inside of bios_linker_add_foo() commands.

It will:
 - make API less confusing,
 - enforce calling bios_linker_loader_alloc() before
   calling any bios_linker_add_foo()
 - make sure that blob is the correct one, i.e.
   associated with the right file name

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


  Commit: 8cc87c3179f3988cf870ae4e637123770bdf82f1
      
https://github.com/qemu/qemu/commit/8cc87c3179f3988cf870ae4e637123770bdf82f1
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  acpi: cleanup bios_linker_loader_cleanup()

bios_linker_loader_cleanup() is called only from one place
and returned value is immediately freed wich makes returning
pointer from bios_linker_loader_cleanup() useless.

Cleanup bios_linker_loader_cleanup() by freeing
data there so that caller won't have to free it.

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


  Commit: 9774ccf7cdb8bfbf024eff02b22f754a49d99df8
      
https://github.com/qemu/qemu/commit/9774ccf7cdb8bfbf024eff02b22f754a49d99df8
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  tpm: apci: cleanup TCPA table initialization

At the time build_tpm_tcpa() is called the tcpalog size is
always 0, so log_area_start_address which is actually offset
from the start of ACPI_BUILD_TPMLOG_FILE is always 0.

Also as 'TCPA' is allocated 0 filled, there is no point
in calculating always 0 log_area_start_address and set
tcpa->log_area_start_address to it since the field should
always point to start of ACPI_BUILD_TPMLOG_FILE.
Make code easier to read dropping not needed offset
calculations.
While at that move tcpalog allocation closer to the code
that defines its size.

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


  Commit: 4678124bb9bfb49e93b83f95c4d2feeb443ea38b
      
https://github.com/qemu/qemu/commit/4678124bb9bfb49e93b83f95c4d2feeb443ea38b
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/acpi/nvdimm.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/bios-linker-loader.h

  Log Message:
  -----------
  acpi: make bios_linker_loader_add_pointer() API offset based

cleanup bios_linker_loader_add_pointer() API by switching
arguments to taking offsets relative to corresponding files
instead of doing pointer arithmetic on behalf of user which
were confusing.

Also make offset inside of source file explicit in API
so that user won't have to manually set it in
destination file blob and while at it add additional
boundary checks.

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


  Commit: 28213cb6a61a724e2cb1e3a76d2bb17aa0ce9b36
      
https://github.com/qemu/qemu/commit/28213cb6a61a724e2cb1e3a76d2bb17aa0ce9b36
  Author: Igor Mammedov <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M include/hw/acpi/bios-linker-loader.h

  Log Message:
  -----------
  acpi: make bios_linker_loader_add_checksum() API offset based

It should help to make clear that bios_linker works in terms
of offsets within a file. Also it should prevent mistakes
where user passes as arguments pointers to unrelated to file blobs.

While at it, considering that it's a ACPI checksum and
it's initial value must be 0, move checksum field zeroing
into bios_linker_loader_add_checksum() instead of doing it
at every call site manually before bios_linker_loader_add_checksum()
is called.

In addition add extra boundary checks.

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


  Commit: 3c3e88a814ef4eb8b2f8bf81863baec24838d998
      
https://github.com/qemu/qemu/commit/3c3e88a814ef4eb8b2f8bf81863baec24838d998
  Author: Xiao Guangrong <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc-dimm: get memory region from ->get_memory_region()

Curretly, the memory region of backed memory is all directly
mapped to guest's address space, however, it will be not true
for nvdimm device if we introduce nvdimm label which only can
be indirectly accessed by ACPI DSM method

Also it improves the comments a bit to reflect this fact

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


  Commit: 9f318f8f7e689b9653b42bac73047f9719a1f34e
      
https://github.com/qemu/qemu/commit/9f318f8f7e689b9653b42bac73047f9719a1f34e
  Author: Xiao Guangrong <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

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

  Log Message:
  -----------
  pc-dimm: introduce realize callback

nvdimm needs to  check if the backend memory is large enough to contain
label data and init its memory region when the device is realized, so
introduce realize callback which is called after common dimm has been
realize

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


  Commit: c02d7030c3c538312c7f464cb79b72c29a20df74
      
https://github.com/qemu/qemu/commit/c02d7030c3c538312c7f464cb79b72c29a20df74
  Author: Greg Kurz <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/virtio/vhost.c
    M include/hw/virtio/virtio-access.h
    M target-arm/cpu.h
    M target-ppc/cpu.h

  Log Message:
  -----------
  virtio: move bi-endian target support to a single location

Paolo's recent cpu.h cleanups broke legacy virtio for ppc64 LE guests (and
arm BE guests as well, even if I have not verified that). Especially, commit
"33c11879fd42 qemu-common: push cpu.h inclusion out of qemu-common.h" has
the side-effect of silently hiding the TARGET_IS_BIENDIAN macro from the
virtio memory accessors, and thus fully disabling support of endian changing
targets.

To be sure this cannot happen again, let's gather all the bi-endian bits
where they belong in include/hw/virtio/virtio-access.h.

The changes in hw/virtio/vhost.c are safe because vhost_needs_vring_endian()
is not called on a hot path and non bi-endian targets will return false
anyway.

While here, also rename TARGET_IS_BIENDIAN to be more precise: it is only for
legacy virtio and bi-endian guests.

Signed-off-by: Greg Kurz <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Acked-by: Cédric Le Goater <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>


  Commit: 79cecb3520606c55f427752c0a7a4add8afe2413
      
https://github.com/qemu/qemu/commit/79cecb3520606c55f427752c0a7a4add8afe2413
  Author: Peter Maydell <address@hidden>
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
    M hw/acpi/Makefile.objs
    M hw/acpi/acpi_interface.c
    M hw/acpi/aml-build.c
    M hw/acpi/bios-linker-loader.c
    M hw/acpi/core.c
    M hw/acpi/cpu_hotplug.c
    R hw/acpi/cpu_hotplug_acpi_table.c
    M hw/acpi/ich9.c
    M hw/acpi/memory_hotplug.c
    M hw/acpi/nvdimm.c
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M hw/arm/virt-acpi-build.c
    M hw/i386/acpi-build.c
    M hw/i386/pc.c
    M hw/ipmi/ipmi.c
    M hw/ipmi/isa_ipmi_bt.c
    M hw/ipmi/isa_ipmi_kcs.c
    M hw/isa/lpc_ich9.c
    M hw/mem/pc-dimm.c
    M hw/virtio/vhost.c
    M include/hw/acpi/acpi.h
    M include/hw/acpi/acpi_dev_interface.h
    M include/hw/acpi/aml-build.h
    M include/hw/acpi/bios-linker-loader.h
    M include/hw/acpi/cpu_hotplug.h
    M include/hw/acpi/ich9.h
    M include/hw/acpi/memory_hotplug.h
    M include/hw/acpi/pcihp.h
    M include/hw/ipmi/ipmi.h
    M include/hw/mem/nvdimm.h
    M include/hw/mem/pc-dimm.h
    M include/hw/virtio/virtio-access.h
    M target-arm/cpu.h
    M target-ppc/cpu.h
    M tests/acpi-test-data/pc/DSDT
    M tests/acpi-test-data/pc/DSDT.bridge
    M tests/acpi-test-data/q35/DSDT
    M tests/acpi-test-data/q35/DSDT.bridge
    M tests/bios-tables-test.c

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

pc, pci, virtio: new features, cleanups, fixes

This includes some infrastructure for ipmi smbios tables.
Beginning of acpi hotplug rework by Igor for supporting >255 CPUs.
Misc cleanups and fixes.

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

# gpg: Signature made Tue 07 Jun 2016 13:55:22 BST
# gpg:                using RSA key 0x281F0DB8D28D5469
# gpg: Good signature from "Michael S. Tsirkin <address@hidden>"
# gpg:                 aka "Michael S. Tsirkin <address@hidden>"

* remotes/mst/tags/for_upstream: (25 commits)
  virtio: move bi-endian target support to a single location
  pc-dimm: introduce realize callback
  pc-dimm: get memory region from ->get_memory_region()
  acpi: make bios_linker_loader_add_checksum() API offset based
  acpi: make bios_linker_loader_add_pointer() API offset based
  tpm: apci: cleanup TCPA table initialization
  acpi: cleanup bios_linker_loader_cleanup()
  acpi: simplify bios_linker API by removing redundant 'table' argument
  acpi: convert linker from GArray to BIOSLinker structure
  pc: use AcpiDeviceIfClass.send_event to issue GPE events
  acpi: extend ACPI interface to provide send_event hook
  pc: Postpone SMBIOS table installation to post machine init
  ipmi: rework the fwinfo to be fetched from the interface
  tests: acpi: update tables with consolidated legacy cpu-hotplug AML
  pc: acpi: cpuhp-legacy: switch ProcessorID to possible_cpus idx
  pc: acpi: simplify build_legacy_cpu_hotplug_aml() signature
  pc: acpi: consolidate legacy CPU hotplug in one file
  pc: acpi: mark current CPU hotplug functions as legacy
  pc: acpi: cpu-hotplug: make AML CPU_foo defines local to 
cpu_hotplug_acpi_table.c
  pc: acpi: consolidate \GPE._E02 with the rest of CPU hotplug AML
  ...

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


Compare: https://github.com/qemu/qemu/compare/d5aebef884ca...79cecb352060

reply via email to

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