qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 73a25e: alpha: cleanup cpu type name composit


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 73a25e: alpha: cleanup cpu type name composition
Date: Mon, 30 Oct 2017 04:16:17 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 73a25e8340a2d86cb86b202c331fd1d6591256ab
      
https://github.com/qemu/qemu/commit/73a25e8340a2d86cb86b202c331fd1d6591256ab
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/alpha/cpu.c
    M target/alpha/cpu.h

  Log Message:
  -----------
  alpha: cleanup cpu type name composition

Introduce ALPHA_CPU_TYPE_NAME macro to replace rather ununique
TYPE macro that alpha uses. With new macro it will follow
the same naming convention as other targets.

While at it put scattered TypeInfo into one array which places
type desriptions at one place and reduces code a bit.

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: fb92da8488fd6e1b83e03bc7a315b3bd3aa285d5
      
https://github.com/qemu/qemu/commit/fb92da8488fd6e1b83e03bc7a315b3bd3aa285d5
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/alpha/dp264.c

  Log Message:
  -----------
  alpha: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 3936419121682f66e3ca2c5af0b565b281a5bd3b
      
https://github.com/qemu/qemu/commit/3936419121682f66e3ca2c5af0b565b281a5bd3b
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/cris/cpu.c
    M target/cris/cpu.h

  Log Message:
  -----------
  cris: cleanup cpu type name composition

replace ambiguous TYPE macro with a new CRIS_CPU_TYPE_NAME
and use it consistently in the code.

Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 5eab493d7a01a3650f25f2e396e37fca913cb97e
      
https://github.com/qemu/qemu/commit/5eab493d7a01a3650f25f2e396e37fca913cb97e
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/cris/axis_dev88.c

  Log Message:
  -----------
  cris: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: c6678108ba2c427d2cac19a5e1ec4c5c58e10fcb
      
https://github.com/qemu/qemu/commit/c6678108ba2c427d2cac19a5e1ec4c5c58e10fcb
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/lm32/cpu.c
    M target/lm32/cpu.h

  Log Message:
  -----------
  lm32: cleanup cpu type name composition

introduce LM32_CPU_TYPE_NAME macro and consistently use it
to construct cpu type names. While at it replace dynamic
cpu type name composition with static data.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 201c160e943327305af61e96915bbd982162a758
      
https://github.com/qemu/qemu/commit/201c160e943327305af61e96915bbd982162a758
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/lm32/milkymist.c

  Log Message:
  -----------
  lm32: milkymist: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 6e0f9a23445c72d654bbb6a7c37b00372f1de623
      
https://github.com/qemu/qemu/commit/6e0f9a23445c72d654bbb6a7c37b00372f1de623
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/lm32/lm32_boards.c

  Log Message:
  -----------
  lm32: lm32_boards: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: f61797bd947cff86b12036917b35ebc38628e4df
      
https://github.com/qemu/qemu/commit/f61797bd947cff86b12036917b35ebc38628e4df
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/m68k/cpu.c
    M target/m68k/cpu.h

  Log Message:
  -----------
  m68k: cleanup cpu type name composition

use new M68K_CPU_TYPE_NAME to compose CPU type names
and get rid of intermediate M68kCPUInfo/register_cpu_type()
which is replaced by static TypeInfo array.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 25a20b36a3797f95af9835f715113ee20e8e3ab7
      
https://github.com/qemu/qemu/commit/25a20b36a3797f95af9835f715113ee20e8e3ab7
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/m68k/an5206.c

  Log Message:
  -----------
  m68k: an5206: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: ddbcc16f29d41176769881ca40830015e249c749
      
https://github.com/qemu/qemu/commit/ddbcc16f29d41176769881ca40830015e249c749
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/m68k/mcf5208.c

  Log Message:
  -----------
  m68k: mcf5208: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: a7f981cc9f3e5a99c6690c144ba1d6a77394c39b
      
https://github.com/qemu/qemu/commit/a7f981cc9f3e5a99c6690c144ba1d6a77394c39b
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/moxie/moxiesim.c
    M target/moxie/cpu.c

  Log Message:
  -----------
  moxie: fix qemu-system-moxie failing to start with CLI "-cpu MoxieLite"

It 'works' with default CPU only because of bug in
moxie_cpu_class_by_name() where it treats cpu_model
as type name and default cpu_model also happens to be
type name. But specifying explicitly cpu on CLI,
ex: '-cpu MoxieLite', makes QEMU fail since
moxie_cpu_class_by_name() doesn't traslate cpu_model
to cpu type and fails to find corresponding object class.

Fix moxie_cpu_class_by_name() to do proper
   cpu_model -> cpu type
translation and fix default cpu_model to be cpu_model
instead of being typename.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 0255db239eba48669f93e12974ab3d68ca5d6a13
      
https://github.com/qemu/qemu/commit/0255db239eba48669f93e12974ab3d68ca5d6a13
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/moxie/cpu.c
    M target/moxie/cpu.h

  Log Message:
  -----------
  moxie: cleanup cpu type name composition

introduce MOXIE_CPU_TYPE_NAME macro and consistently use it
to construct cpu type names. While at it replace dynamic
cpu type name composition with static data.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: b2c223571e1a4c0bc4cf559fbc433c0a2b83ae35
      
https://github.com/qemu/qemu/commit/b2c223571e1a4c0bc4cf559fbc433c0a2b83ae35
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/moxie/moxiesim.c

  Log Message:
  -----------
  moxie: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: a677273142a6db7dea6c70ea7076a28c10b93cb7
      
https://github.com/qemu/qemu/commit/a677273142a6db7dea6c70ea7076a28c10b93cb7
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h

  Log Message:
  -----------
  openrisc: cleanup cpu type name composition

use new OPENRISC_CPU_TYPE_NAME to compose CPU type name and get
rid of intermediate OpenRISCCPUInfo/openrisc_cpu_register_types()
which is replaced by static TypeInfo array.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Stafford Horne <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 1498e9706a722773f677599985a0b8b086b4f09d
      
https://github.com/qemu/qemu/commit/1498e9706a722773f677599985a0b8b086b4f09d
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/openrisc/openrisc_sim.c

  Log Message:
  -----------
  openrisc: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Stafford Horne <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 78f60b829a09b23095f84a8de086c8309f7626a9
      
https://github.com/qemu/qemu/commit/78f60b829a09b23095f84a8de086c8309f7626a9
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/sh4/r2d.c

  Log Message:
  -----------
  sh4: r2d: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: b0224788e7dc6d016ccda68959720ea9ab435191
      
https://github.com/qemu/qemu/commit/b0224788e7dc6d016ccda68959720ea9ab435191
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/sh4/shix.c

  Log Message:
  -----------
  sh4: shix: use generic cpu_model parsing

default cpu model 'any' resolves to type TYPE_SH7750R_CPU
in superh_cpu_class_by_name(), so use it directly.

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 974e58d2105f1b728232ce354441f95ff0349388
      
https://github.com/qemu/qemu/commit/974e58d2105f1b728232ce354441f95ff0349388
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/sh4/cpu-qom.h
    M target/sh4/cpu.c
    M target/sh4/cpu.h

  Log Message:
  -----------
  sh4: cleanup cpu type name composition

introduce SUPERH_CPU_TYPE_NAME macro and use it to construct
cpu type names. While at it move cpu type_infos into one
array and register it directly with type_init_from_array()
instead of custom superh_cpu_register_types()

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: d5ebe625569365e83c104f7ef4bbeab282299407
      
https://github.com/qemu/qemu/commit/d5ebe625569365e83c104f7ef4bbeab282299407
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M linux-user/main.c
    M target/sh4/cpu.c

  Log Message:
  -----------
  sh4: simplify superh_cpu_class_by_name()

currently for sh4 cpu_model argument for '-cpu' option
could be either 'cpu model' name or cpu_typename.

however typically '-cpu' takes 'cpu model' name and
cpu type for sh4 target isn't advertised publicly
('-cpu help' prints only 'cpu model' names) so we
shouldn't care about this use case (it's more of a bug).

1. Drop '-cpu cpu_typename' to align with the rest of
   targets.
2. Compose searched for typename from cpu model and use
   it with object_class_by_name() directly instead of
   over-complicated
       object_class_get_list()
       g_slist_find_custom() + superh_cpu_name_compare()

With #1 droped, #2 could be used for both lookups which
simplifies superh_cpu_class_by_name() quite a bit.

Signed-off-by: Igor Mammedov <address@hidden>
Acked-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
[ehabkost: Include fixup sent by Igor]
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 633cd135561636bc2a53b747274bacac747154f5
      
https://github.com/qemu/qemu/commit/633cd135561636bc2a53b747274bacac747154f5
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/sh4/cpu-qom.h
    M target/sh4/cpu.c

  Log Message:
  -----------
  sh4: remove SuperHCPUClass::name field

the field contains upper-cased cpu model name and is used
for printing supported cpu model names for '-cpu help'.

Considering that cpu model lookup in superh_cpu_class_by_name()
is case-insensitive, we can drop upper-casing when
printing supported cpus list and use cpu type directly
to do the same by cutting out SUPERH_CPU_TYPE_SUFFIX from
typename.

It allows to remove SuperHCPUClass::name, which practically
duplicates names defined by TYPE_SH*_CPU definitions and
simplify sh*_class_init()/SuperHCPUClass a bit.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: a5247d761c1ec6b01e7ddf4cdedcff59712f5504
      
https://github.com/qemu/qemu/commit/a5247d761c1ec6b01e7ddf4cdedcff59712f5504
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/xtensa/cpu.c
    M target/xtensa/cpu.h
    M target/xtensa/helper.c

  Log Message:
  -----------
  xtensa: cleanup cpu type name composition

use new XTENSA_CPU_TYPE_NAME to compose CPU type name
to bring xtensa in line with all other targets that
will similar macro.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: d58eeae393f58374a9c656a5d982665d8545068b
      
https://github.com/qemu/qemu/commit/d58eeae393f58374a9c656a5d982665d8545068b
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/xtensa/sim.c

  Log Message:
  -----------
  xtensa: sim: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: f83eb10d79d54c71db14567248ed228c5c3aa444
      
https://github.com/qemu/qemu/commit/f83eb10d79d54c71db14567248ed228c5c3aa444
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/xtensa/xtfpga.c

  Log Message:
  -----------
  xtensa: lx60/lx200/ml605/kc705: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 6a8268664736cf74aa2f034df0dd6cebc3bb23d9
      
https://github.com/qemu/qemu/commit/6a8268664736cf74aa2f034df0dd6cebc3bb23d9
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/unicore32/cpu.c
    M target/unicore32/cpu.h

  Log Message:
  -----------
  unicore32: cleanup cpu type name composition

use new UNICORE32_CPU_TYPE_NAME to compose CPU type
name and get rid of intermediate
   UniCore32CPUInfo/uc32_cpu_register_types()
which is replaced by static TypeInfo array and
type_init_from_array()

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 1aaa63193b307fe42ba714e0615646cec7b37c51
      
https://github.com/qemu/qemu/commit/1aaa63193b307fe42ba714e0615646cec7b37c51
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/unicore32/puv3.c

  Log Message:
  -----------
  unicore32: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: b9ad9d5b2110e4078819626d9a606679656d2498
      
https://github.com/qemu/qemu/commit/b9ad9d5b2110e4078819626d9a606679656d2498
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/tricore/cpu.c
    M target/tricore/cpu.h

  Log Message:
  -----------
  tricore: cleanup cpu type name composition

introduce TRICORE_CPU_TYPE_NAME macro and use it to construct
cpu type names. While at it move cpu type_infos into one
array and register it directly with type_init_from_array()
instead of custom tricore_cpu_register_types()/cpu_register()

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 0f550c5cc7869b3099d55e27f4eb8b7787df5150
      
https://github.com/qemu/qemu/commit/0f550c5cc7869b3099d55e27f4eb8b7787df5150
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/tricore/tricore_testboard.c

  Log Message:
  -----------
  tricore: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 1d4bfc5496387124e56df6fd49481e1821403456
      
https://github.com/qemu/qemu/commit/1d4bfc5496387124e56df6fd49481e1821403456
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M target/sparc/cpu.c
    M target/sparc/cpu.h

  Log Message:
  -----------
  sparc: cleanup cpu type name composition

introduce SPARC_CPU_TYPE_NAME macro and use it to
construct cpu type names.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 585304610178830f3718b7b674a95246e7a13a26
      
https://github.com/qemu/qemu/commit/585304610178830f3718b7b674a95246e7a13a26
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/sparc64/niagara.c
    M hw/sparc64/sparc64.c
    M hw/sparc64/sun4u.c
    M include/hw/sparc/sparc64.h

  Log Message:
  -----------
  sparc: sun4u/sun4v/niagara: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Artyom Tarasenko <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 49cbd887abfaf3269653a292e7ea6c7852832250
      
https://github.com/qemu/qemu/commit/49cbd887abfaf3269653a292e7ea6c7852832250
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/sparc/sun4m.c

  Log Message:
  -----------
  sparc: sparc: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Artyom Tarasenko <address@hidden>
Acked-by: Mark Cave-Ayland <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: e9135ab399efd4aa2edc3da691d211475172e91e
      
https://github.com/qemu/qemu/commit/e9135ab399efd4aa2edc3da691d211475172e91e
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/sparc/leon3.c

  Log Message:
  -----------
  sparc: leon3: use generic cpu_model parsing

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Artyom Tarasenko <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 81491c2846b7a818eb069dbc5f688537e382fc83
      
https://github.com/qemu/qemu/commit/81491c2846b7a818eb069dbc5f688537e382fc83
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/boston.c
    M hw/mips/mips_malta.c

  Log Message:
  -----------
  mips: use object_new() instead of gnew()+object_initialize()

object_initialize() is intended for inplace initialization of
objects, but here it's first allocated with g_new0() and then
initialized with object_initialize(). QEMU already has API
to do this (object_new), so do object creation with suitable
for usecase API.

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: a7519f2b39be7e584c9f5a3100f3842d314a5eb6
      
https://github.com/qemu/qemu/commit/a7519f2b39be7e584c9f5a3100f3842d314a5eb6
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/boston.c
    M hw/mips/cps.c
    M hw/mips/mips_malta.c
    M include/hw/mips/cps.h
    M target/mips/cpu.c
    M target/mips/cpu.h
    M target/mips/translate.c
    M target/mips/translate_init.c

  Log Message:
  -----------
  mips: malta/boston: replace cpu_model with cpu_type

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: e5207b761dc70be45e33faf4b52def00f77b762c
      
https://github.com/qemu/qemu/commit/e5207b761dc70be45e33faf4b52def00f77b762c
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/mips_fulong2e.c

  Log Message:
  -----------
  mips: fulong2e: replace cpu_model with cpu_type

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 3469e656451d1cbb7b5b1baf8639025063800606
      
https://github.com/qemu/qemu/commit/3469e656451d1cbb7b5b1baf8639025063800606
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/mips_jazz.c

  Log Message:
  -----------
  mips: Magnum/Acer Pica 61: replace cpu_model with cpu_type

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Hervé Poussineau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 0fc52fd200446fa74498f60a58f28bc016cfe43e
      
https://github.com/qemu/qemu/commit/0fc52fd200446fa74498f60a58f28bc016cfe43e
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/mips_mipssim.c

  Log Message:
  -----------
  mips: mipssim: replace cpu_model with cpu_type

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 5daab28e0477e9eed0fb8d454276c35853f3e1a2
      
https://github.com/qemu/qemu/commit/5daab28e0477e9eed0fb8d454276c35853f3e1a2
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/mips/mips_r4k.c

  Log Message:
  -----------
  mips: r4k: replace cpu_model with cpu_type

Signed-off-by: Igor Mammedov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: cc001888b78090ed08d05453b5574b3253a143c0
      
https://github.com/qemu/qemu/commit/cc001888b78090ed08d05453b5574b3253a143c0
  Author: Igor Mammedov <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M numa.c

  Log Message:
  -----------
  numa: fixup parsed NumaNodeOptions earlier

numa 'mem' option with suffix or without one is possible
only on CLI/HMP. Instead of fixing up special suffix less
CLI case deep in parse_numa_node() do it earlier right
after option is parsed into NumaNodeOptions with OptVisistor
so that the rest of the code would use valid values in
NumaNodeOptions and won't have to reparse QemuOpts.

It will help to isolate CLI/HMP parts in parse_numa() and
split out parsed NumaNodeOptions processing into separate
function that could be reused by QMP handler where we have
only NumaNodeOptions and don't need any fixups.

While at it reuse qemu_strtosz_MiB() instead of manually
checking for suffixes.

Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: 1a26f46692320f1981c95967e0d5af4443b5f0b1
      
https://github.com/qemu/qemu/commit/1a26f46692320f1981c95967e0d5af4443b5f0b1
  Author: Lan Tianyu <address@hidden>
  Date:   2017-10-27 (Fri, 27 Oct 2017)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  x86: Skip check apic_id_limit for Xen

Xen vIOMMU device model will be in Xen hypervisor. Skip vIOMMU
check for Xen here when vcpu number is more than 255.

Signed-off-by: Lan Tianyu <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>


  Commit: ab752f237d755897735dc755182f60af39cbc5b6
      
https://github.com/qemu/qemu/commit/ab752f237d755897735dc755182f60af39cbc5b6
  Author: Peter Maydell <address@hidden>
  Date:   2017-10-30 (Mon, 30 Oct 2017)

  Changed paths:
    M hw/alpha/dp264.c
    M hw/cris/axis_dev88.c
    M hw/i386/pc.c
    M hw/lm32/lm32_boards.c
    M hw/lm32/milkymist.c
    M hw/m68k/an5206.c
    M hw/m68k/mcf5208.c
    M hw/mips/boston.c
    M hw/mips/cps.c
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_mipssim.c
    M hw/mips/mips_r4k.c
    M hw/moxie/moxiesim.c
    M hw/openrisc/openrisc_sim.c
    M hw/sh4/r2d.c
    M hw/sh4/shix.c
    M hw/sparc/leon3.c
    M hw/sparc/sun4m.c
    M hw/sparc64/niagara.c
    M hw/sparc64/sparc64.c
    M hw/sparc64/sun4u.c
    M hw/tricore/tricore_testboard.c
    M hw/unicore32/puv3.c
    M hw/xtensa/sim.c
    M hw/xtensa/xtfpga.c
    M include/hw/mips/cps.h
    M include/hw/sparc/sparc64.h
    M linux-user/main.c
    M numa.c
    M target/alpha/cpu.c
    M target/alpha/cpu.h
    M target/cris/cpu.c
    M target/cris/cpu.h
    M target/lm32/cpu.c
    M target/lm32/cpu.h
    M target/m68k/cpu.c
    M target/m68k/cpu.h
    M target/mips/cpu.c
    M target/mips/cpu.h
    M target/mips/translate.c
    M target/mips/translate_init.c
    M target/moxie/cpu.c
    M target/moxie/cpu.h
    M target/openrisc/cpu.c
    M target/openrisc/cpu.h
    M target/sh4/cpu-qom.h
    M target/sh4/cpu.c
    M target/sh4/cpu.h
    M target/sparc/cpu.c
    M target/sparc/cpu.h
    M target/tricore/cpu.c
    M target/tricore/cpu.h
    M target/unicore32/cpu.c
    M target/unicore32/cpu.h
    M target/xtensa/cpu.c
    M target/xtensa/cpu.h
    M target/xtensa/helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging

x86/cpu/numa queue, 2017-10-27

# gpg: Signature made Fri 27 Oct 2017 15:17:12 BST
# gpg:                using RSA key 0x2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <address@hidden>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-and-machine-pull-request: (39 commits)
  x86: Skip check apic_id_limit for Xen
  numa: fixup parsed NumaNodeOptions earlier
  mips: r4k: replace cpu_model with cpu_type
  mips: mipssim: replace cpu_model with cpu_type
  mips: Magnum/Acer Pica 61: replace cpu_model with cpu_type
  mips: fulong2e: replace cpu_model with cpu_type
  mips: malta/boston: replace cpu_model with cpu_type
  mips: use object_new() instead of gnew()+object_initialize()
  sparc: leon3: use generic cpu_model parsing
  sparc: sparc: use generic cpu_model parsing
  sparc: sun4u/sun4v/niagara: use generic cpu_model parsing
  sparc: cleanup cpu type name composition
  tricore: use generic cpu_model parsing
  tricore: cleanup cpu type name composition
  unicore32: use generic cpu_model parsing
  unicore32: cleanup cpu type name composition
  xtensa: lx60/lx200/ml605/kc705: use generic cpu_model parsing
  xtensa: sim: use generic cpu_model parsing
  xtensa: cleanup cpu type name composition
  sh4: remove SuperHCPUClass::name field
  ...

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


Compare: https://github.com/qemu/qemu/compare/953e35f69c30...ab752f237d75

reply via email to

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