Re: [Qemu-devel] [PULL v6 00/42] Machine and x86 queue, 2019-07-05

2019-07-08 Thread Igor Mammedov
On Mon, 8 Jul 2019 10:26:05 +0100
Peter Maydell  wrote:

> On Fri, 5 Jul 2019 at 23:15, Eduardo Habkost  wrote:
> >
> > Changes v5 -> v6:
> > * Rebase and solve conflicts with other pull requests
> >   (for the 4th time)
> > * Included Cascadelake-Server-v2 update
> >
> > Changes v4 -> v5:
> > * Rebase and solve conflicts with commit 374f63f6810a ("Merge 
> > remote-tracking
> >   branch 'remotes/armbru/tags/pull-monitor-2019-07-02-v2' into staging")
> >
> > Changes v3 -> v4:
> > * Fix ppc64 "make check" failure
> >
> > Changes v2 -> v3:
> > * Fix "make check" warnings (Igor Mammedov)
> > * Fix conflicts of "hw/arm: Replace global smp variables with
> >   machine smp properties" with recent arm changes (Eduardo Habkost)
> > * x86 versioned CPU models (Eduardo Habkost)
> > * SnowRidge CPU model (Paul Lai)
> > * Add deprecation information to query-machines (Eduardo Habkost)
> >
> > Changes v1 -> v2:
> > * Fix s390x build failure
> >
> > The following changes since commit d2c5f91ca944aaade642624397e1853801bbc744:
> >
> >   Merge remote-tracking branch 
> > 'remotes/vivier2/tags/trivial-branch-pull-request' into staging (2019-07-05 
> > 16:16:15 +0100)
> >
> > are available in the Git repository at:
> >
> >   git://github.com/ehabkost/qemu.git tags/machine-next-pull-request
> >
> > for you to fetch changes up to af135030e3405af5ce234a9f92cf8cc4e55fec96:
> >
> >   tests: use -numa memdev option in tests instead of legacy 'mem' option 
> > (2019-07-05 17:12:45 -0300)
> >
> > 
> > Machine and x86 queue, 2019-07-05
> >
> > * CPU die topology support (Like Xu)
> > * Deprecation of features (Igor Mammedov):
> >   * 'mem' parameter of '-numa node' option
> >   * implict memory distribution between NUMA nodes
> >   * deprecate -mem-path fallback to anonymous RAM
> > * x86 versioned CPU models (Eduardo Habkost)
> > * SnowRidge CPU model (Paul Lai)
> > * Add deprecation information to query-machines (Eduardo Habkost)
> > * Other i386 fixes
> >  
> 
> 
> Applied, thanks.
> 
> Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
> for any user-visible changes.
Updated "Miscellaneous" + "New deprecated options and features"
with NUMA related changes.

> 
> -- PMM
> 




Re: [Qemu-devel] [PULL v6 00/42] Machine and x86 queue, 2019-07-05

2019-07-08 Thread Peter Maydell
On Fri, 5 Jul 2019 at 23:15, Eduardo Habkost  wrote:
>
> Changes v5 -> v6:
> * Rebase and solve conflicts with other pull requests
>   (for the 4th time)
> * Included Cascadelake-Server-v2 update
>
> Changes v4 -> v5:
> * Rebase and solve conflicts with commit 374f63f6810a ("Merge remote-tracking
>   branch 'remotes/armbru/tags/pull-monitor-2019-07-02-v2' into staging")
>
> Changes v3 -> v4:
> * Fix ppc64 "make check" failure
>
> Changes v2 -> v3:
> * Fix "make check" warnings (Igor Mammedov)
> * Fix conflicts of "hw/arm: Replace global smp variables with
>   machine smp properties" with recent arm changes (Eduardo Habkost)
> * x86 versioned CPU models (Eduardo Habkost)
> * SnowRidge CPU model (Paul Lai)
> * Add deprecation information to query-machines (Eduardo Habkost)
>
> Changes v1 -> v2:
> * Fix s390x build failure
>
> The following changes since commit d2c5f91ca944aaade642624397e1853801bbc744:
>
>   Merge remote-tracking branch 
> 'remotes/vivier2/tags/trivial-branch-pull-request' into staging (2019-07-05 
> 16:16:15 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/ehabkost/qemu.git tags/machine-next-pull-request
>
> for you to fetch changes up to af135030e3405af5ce234a9f92cf8cc4e55fec96:
>
>   tests: use -numa memdev option in tests instead of legacy 'mem' option 
> (2019-07-05 17:12:45 -0300)
>
> 
> Machine and x86 queue, 2019-07-05
>
> * CPU die topology support (Like Xu)
> * Deprecation of features (Igor Mammedov):
>   * 'mem' parameter of '-numa node' option
>   * implict memory distribution between NUMA nodes
>   * deprecate -mem-path fallback to anonymous RAM
> * x86 versioned CPU models (Eduardo Habkost)
> * SnowRidge CPU model (Paul Lai)
> * Add deprecation information to query-machines (Eduardo Habkost)
> * Other i386 fixes
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.

-- PMM



Re: [Qemu-devel] [PULL v6 00/42] Machine and x86 queue, 2019-07-05

2019-07-06 Thread no-reply
Patchew URL: 
https://patchew.org/QEMU/20190705221504.25166-1-ehabk...@redhat.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20190705221504.25166-1-ehabk...@redhat.com
Subject: [Qemu-devel] [PULL v6 00/42] Machine and x86 queue, 2019-07-05

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
8222dd1 tests: use -numa memdev option in tests instead of legacy 'mem' option
17f968f numa: allow memory-less nodes when using memdev as backend
ba5a8f5 numa: Make deprecation warnings conditional on !qtest_enabled()
e7eed65 i386: Add Cascadelake-Server-v2 CPU model
c270e11 docs: Deprecate CPU model runnability guarantees
d148782 i386: Make unversioned CPU models be aliases
212584e i386: Replace -noTSX, -IBRS, -IBPB CPU models with aliases
14bea5f i386: Define -IBRS, -noTSX, -IBRS versions of CPU models
abe39dc i386: Register versioned CPU models
43e890f i386: Get model-id from CPU object on "-cpu help"
86bad9a i386: Add x-force-features option for testing
3764570 qmp: Add "alias-of" field to query-cpu-definitions
2136259 i386: Introduce SnowRidge CPU model
5c64e25 qmp: Add deprecation information to query-machines
d9fca16 vl.c: Add -smp, dies=* command line support and update doc
58066f7 machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse()
e5521eb target/i386: Add CPUID.1F generation support for multi-dies PCMachine
efe9c60 i386: Remove unused host_cpudef variable
c786127 x86/cpu: use FeatureWordArray to define filtered_features
599f2d2 i386: make 'hv-spinlocks' a regular uint32 property
12b504f i386: Fix signedness of hyperv_spinlock_attempts
51b09c1 i386: Don't print warning if phys-bits was set automatically
940f005 deprecate -mem-path fallback to anonymous RAM
b60560d hppa: Delete unused hppa_cpu_list() function
79ffefd numa: deprecate implict memory distribution between nodes
f7fc9c7 numa: deprecate 'mem' parameter of '-numa node' option
4760053 machine: show if CLI option '-numa node, mem' is supported in QAPI 
schema
c445aeb pc: fix possible NULL pointer dereference in 
pc_machine_get_device_memory_region_size()
08979e7 i386: Update new x86_apicid parsing rules with die_offset support
877b166 i386/cpu: Consolidate die-id validity in smp context
6ed8e31 hw/i386: Adjust nr_dies with configured smp_dies for PCMachine
5a48895 i386: Add die-level cpu topology to x86CPU on PCMachine
a468b59 vl.c: Replace smp global variables with smp machine properties
0f5c31d hw: Replace global smp variables with MachineState for all remaining 
archs
f5605f8 hw/arm: Replace global smp variables with machine smp properties
b6ed3fc hw/i386: Replace global smp variables with machine smp properties
90c875c hw/s390x: Replace global smp variables with machine smp properties
ed06b18 hw/riscv: Replace global smp variables with machine smp properties
e180e9c hw/ppc: Replace global smp variables with machine smp properties
99fae98 general: Replace global smp variables with smp machine properties
442604b machine: Refactor smp-related call chains to pass MachineState
b9ea53f hw/boards: Add struct CpuTopology to MachineState

=== OUTPUT BEGIN ===
1/42 Checking commit b9ea53f93d3b (hw/boards: Add struct CpuTopology to 
MachineState)
2/42 Checking commit 442604b2a8f7 (machine: Refactor smp-related call chains to 
pass MachineState)
3/42 Checking commit 99fae98b339d (general: Replace global smp variables with 
smp machine properties)
4/42 Checking commit e180e9c58736 (hw/ppc: Replace global smp variables with 
machine smp properties)
5/42 Checking commit ed06b18ac991 (hw/riscv: Replace global smp variables with 
machine smp properties)
6/42 Checking commit 90c875c003ca (hw/s390x: Replace global smp variables with 
machine smp properties)
7/42 Checking commit b6ed3fcd0057 (hw/i386: Replace global smp variables with 
machine smp properties)
8/42 Checking commit f5605f812d27 (hw/arm: Replace global smp variables with 
machine smp properties)
9/42 Checking commit 0f5c31d7d679 (hw: Replace global smp variables with 
MachineState for all remaining archs)
10/42 Checking commit a468b5935abe (vl.c: Replace smp global variables with smp 
machine properties)
11/42 Checking commit 5a48895d51e5 (i386: Add die-level cpu topology to x86CPU 
on PCMachine)
12/42 Checking commit 6ed8e31874e1 (hw/i386: Adjust nr_dies with configured 
smp_dies for PCMachine)
13/42 Checking commit 877b1661e86d (i386/cpu: Consolidate die-id validity in 
smp context)
14/42 Checking commit 08979e7e3e98 (i386: Update new x86_apicid parsing rules 
with die_offset support)
15/42 Checking commit c445aebbc23b (pc: fix possible NULL pointer dereference 
in pc_machine_get_device_memo

[Qemu-devel] [PULL v6 00/42] Machine and x86 queue, 2019-07-05

2019-07-05 Thread Eduardo Habkost
Changes v5 -> v6:
* Rebase and solve conflicts with other pull requests
  (for the 4th time)
* Included Cascadelake-Server-v2 update

Changes v4 -> v5:
* Rebase and solve conflicts with commit 374f63f6810a ("Merge remote-tracking
  branch 'remotes/armbru/tags/pull-monitor-2019-07-02-v2' into staging")

Changes v3 -> v4:
* Fix ppc64 "make check" failure

Changes v2 -> v3:
* Fix "make check" warnings (Igor Mammedov)
* Fix conflicts of "hw/arm: Replace global smp variables with
  machine smp properties" with recent arm changes (Eduardo Habkost)
* x86 versioned CPU models (Eduardo Habkost)
* SnowRidge CPU model (Paul Lai)
* Add deprecation information to query-machines (Eduardo Habkost)

Changes v1 -> v2:
* Fix s390x build failure

The following changes since commit d2c5f91ca944aaade642624397e1853801bbc744:

  Merge remote-tracking branch 
'remotes/vivier2/tags/trivial-branch-pull-request' into staging (2019-07-05 
16:16:15 +0100)

are available in the Git repository at:

  git://github.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to af135030e3405af5ce234a9f92cf8cc4e55fec96:

  tests: use -numa memdev option in tests instead of legacy 'mem' option 
(2019-07-05 17:12:45 -0300)


Machine and x86 queue, 2019-07-05

* CPU die topology support (Like Xu)
* Deprecation of features (Igor Mammedov):
  * 'mem' parameter of '-numa node' option
  * implict memory distribution between NUMA nodes
  * deprecate -mem-path fallback to anonymous RAM
* x86 versioned CPU models (Eduardo Habkost)
* SnowRidge CPU model (Paul Lai)
* Add deprecation information to query-machines (Eduardo Habkost)
* Other i386 fixes



Queue for Machine Core patches


Eduardo Habkost (15):
  hppa: Delete unused hppa_cpu_list() function
  i386: Don't print warning if phys-bits was set automatically
  i386: Fix signedness of hyperv_spinlock_attempts
  i386: Remove unused host_cpudef variable
  qmp: Add deprecation information to query-machines
  qmp: Add "alias-of" field to query-cpu-definitions
  i386: Add x-force-features option for testing
  i386: Get model-id from CPU object on "-cpu help"
  i386: Register versioned CPU models
  i386: Define -IBRS, -noTSX, -IBRS versions of CPU models
  i386: Replace -noTSX, -IBRS, -IBPB CPU models with aliases
  i386: Make unversioned CPU models be aliases
  docs: Deprecate CPU model runnability guarantees
  i386: Add Cascadelake-Server-v2 CPU model
  numa: Make deprecation warnings conditional on !qtest_enabled()

Igor Mammedov (7):
  pc: fix possible NULL pointer dereference in
pc_machine_get_device_memory_region_size()
  machine: show if CLI option '-numa node,mem' is supported in QAPI
schema
  numa: deprecate 'mem' parameter of '-numa node' option
  numa: deprecate implict memory distribution between nodes
  deprecate -mem-path fallback to anonymous RAM
  numa: allow memory-less nodes when using memdev as backend
  tests: use -numa memdev option in tests instead of legacy 'mem' option

Like Xu (17):
  hw/boards: Add struct CpuTopology to MachineState
  machine: Refactor smp-related call chains to pass MachineState
  general: Replace global smp variables with smp machine properties
  hw/ppc: Replace global smp variables with machine smp properties
  hw/riscv: Replace global smp variables with machine smp properties
  hw/s390x: Replace global smp variables with machine smp properties
  hw/i386: Replace global smp variables with machine smp properties
  hw/arm: Replace global smp variables with machine smp properties
  hw: Replace global smp variables with MachineState for all remaining
archs
  vl.c: Replace smp global variables with smp machine properties
  i386: Add die-level cpu topology to x86CPU on PCMachine
  hw/i386: Adjust nr_dies with configured smp_dies for PCMachine
  i386/cpu: Consolidate die-id validity in smp context
  i386: Update new x86_apicid parsing rules with die_offset support
  target/i386: Add CPUID.1F generation support for multi-dies PCMachine
  machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse()
  vl.c: Add -smp, dies=* command line support and update doc

Paul Lai (1):
  i386: Introduce SnowRidge CPU model

Roman Kagan (1):
  i386: make 'hv-spinlocks' a regular uint32 property

Wei Yang (1):
  x86/cpu: use FeatureWordArray to define filtered_features

 qapi/machine-target.json   |9 +-
 qapi/machine.json  |   17 +-
 include/hw/boards.h|   27 +-
 include/hw/firmware/smbios.h   |5 +-
 include/hw/i386/pc.h   |8 +-
 include/hw/i386/topology.h |   76 +-
 target/hppa/cpu.h  |2 -
 target/i386/cpu-qom.h  |   10 +-
 target/i386/cpu.h  |   36 +-
 accel/kvm/kvm-all.c|4 +-