1. 02 7月, 2018 1 次提交
  2. 20 10月, 2017 1 次提交
  3. 06 10月, 2017 1 次提交
    • D
      s390x/tcg: add basic MSA features · 7705c750
      David Hildenbrand 提交于
      The STFLE bits for the MSA (extension) facilities simply indicate that
      the respective instructions can be executed. The QUERY subfunction can then
      be used to identify which features exactly are available.
      
      Availability of subfunctions can also vary on real hardware. For now, we
      simply implement a CPU model without any available subfunctions except
      QUERY (which is always around).
      
      As all MSA functions behave quite similarly, we can use one translation
      handler for now. Prepare the code for implementation of actual subfunctions.
      
      At least MSA is helpful for now, as older Linux kernels require this
      facility when compiled for a z9 model. Allow to enable the facilities
      for the qemu cpu model.
      Signed-off-by: NDavid Hildenbrand <david@redhat.com>
      Message-Id: <20170920153016.3858-4-david@redhat.com>
      Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      7705c750
  4. 31 8月, 2017 1 次提交
  5. 25 7月, 2017 3 次提交
  6. 16 3月, 2017 1 次提交
  7. 21 12月, 2016 1 次提交
    • T
      Move target-* CPU file into a target/ folder · fcf5ef2a
      Thomas Huth 提交于
      We've currently got 18 architectures in QEMU, and thus 18 target-xxx
      folders in the root folder of the QEMU source tree. More architectures
      (e.g. RISC-V, AVR) are likely to be included soon, too, so the main
      folder of the QEMU sources slowly gets quite overcrowded with the
      target-xxx folders.
      To disburden the main folder a little bit, let's move the target-xxx
      folders into a dedicated target/ folder, so that target-xxx/ simply
      becomes target/xxx/ instead.
      
      Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part]
      Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part]
      Acked-by: Michael Walle <michael@walle.cc> [lm32 part]
      Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part]
      Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part]
      Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part]
      Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part]
      Acked-by: Richard Henderson <rth@twiddle.net> [alpha part]
      Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part]
      Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part]
      Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [cris&microblaze part]
      Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      fcf5ef2a
  8. 06 10月, 2016 1 次提交
    • P
      rules.mak: quiet-command: Split command name and args to print · 0bdb12c7
      Peter Maydell 提交于
      The quiet-command make rule currently takes two arguments:
      the command and arguments to run, and a string to print if
      the V flag is not set (ie we are not being verbose).
      By convention, the string printed is of the form
      "  NAME   some args". Unfortunately to get nicely lined up
      output all the strings have to agree about what column the
      arguments should start in, which means that if we add a
      new quiet-command usage which wants a slightly longer CMD
      name then we either put up with misalignment or change
      every quiet-command string.
      
      Split the quiet-mode string into two, the "NAME" and
      the "same args" part, and use printf(1) to format the
      string automatically. This means we only need to change
      one place if we want to support a longer maximum name.
      
      In particular, we can now print 7-character names lined
      up properly (they are needed for the OSX "SETTOOL" invocation).
      
      Change all the uses of quiet-command to the new syntax.
      (Any which are missed or inadvertently reintroduced
      via later merges will result in slightly misformatted
      quiet output rather than disaster.)
      
      A few places in the pc-bios/ makefiles are updated to use
      "BUILD", "SIGN" and "STRIP" rather than "Building",
      "Signing" and "Stripping" for consistency and to keep them
      below 7 characters. Module .mo links now print "LD" rather
      than the nonstandard "LD -r".
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1475598441-27908-1-git-send-email-peter.maydell@linaro.org
      0bdb12c7
  9. 06 9月, 2016 3 次提交
    • M
      s390x/cpumodel: generate CPU feature lists for CPU models · dced7eec
      Michael Mueller 提交于
      This patch introduces the helper "gen-features" which allows to generate
      feature list definitions at compile time. Its flexibility is better and the
      error-proneness is lower when compared to static programming time added
      statements.
      
      The helper includes "target-s390x/cpu_features.h" to be able to use named
      facility bits instead of numbers. The generated defines will be used for
      the definition of CPU models.
      
      We generate feature lists for each HW generation and GA for EC models. BC
      models are always based on a EC version and have no separate definitions.
      
      Base features: Features we expect to be always available in sane setups.
      Migration safe - will never change. Can be seen as "minimum features
      required for a CPU model".
      
      Default features: Features we expect to be stable and around in latest
      setups (e.g. having KVM support) - not migration safe.
      
      Max features: All supported features that are theoretically allowed for a
      CPU model. Exceeding these features could otherwise produce problems with
      IBC (instruction blocking controls) in KVM.
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      [generate base, default and models. renaming and cleanup]
      Message-Id: <20160905085244.99980-6-dahi@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      dced7eec
    • M
      s390x/cpumodel: introduce CPU features · 78241744
      Michael Mueller 提交于
      The patch introduces s390x CPU features (most of them refered to as
      facilities) along with their discription and some functions that will be
      helpful when working with the features later on.
      
      Please note that we don't introduce all known CPU features, only the
      ones currently supported by KVM + QEMU. We don't want to enable later
      on blindly any facilities, for which we don't know yet if we need QEMU
      support to properly support them (e.g. migrate additional state when
      active). We can update QEMU later on.
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      [reworked to include non-stfle features, added definitions]
      Message-Id: <20160905085244.99980-5-dahi@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      78241744
    • D
      s390x/cpumodel: "host" and "qemu" as CPU subclasses · 41868f84
      David Hildenbrand 提交于
      This patch introduces two CPU models, "host" and "qemu".
      "qemu" is used as default when running under TCG. "host" is used
      as default when running under KVM. "host" cannot be used without KVM.
      "host" is not migration-safe. They both inherit from the base s390x CPU,
      which is turned into an abstract class.
      
      This patch also changes CPU creation to take care of the passed CPU string
      and reuses common code parse_features() function for that purpose. Unknown
      CPU definitions are now reported. The "-cpu ?" and "query-cpu-definition"
      commands are changed to list all CPU subclasses automatically, including
      migration-safety and whether static.
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Message-Id: <20160905085244.99980-3-dahi@linux.vnet.ibm.com>
      [CH: fix up self-assignments in s390_cpu_list, as spotted by clang]
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      41868f84
  10. 18 2月, 2015 1 次提交
  11. 10 10月, 2014 1 次提交
  12. 30 7月, 2013 1 次提交
  13. 27 7月, 2013 1 次提交
  14. 01 2月, 2013 1 次提交
  15. 30 1月, 2013 1 次提交
  16. 10 9月, 2012 10 次提交
  17. 15 8月, 2012 1 次提交
  18. 07 6月, 2012 3 次提交