1. 17 5月, 2016 1 次提交
  2. 13 5月, 2016 1 次提交
  3. 10 3月, 2016 1 次提交
  4. 01 3月, 2016 1 次提交
  5. 23 2月, 2016 1 次提交
  6. 13 1月, 2016 1 次提交
  7. 21 10月, 2015 2 次提交
  8. 20 10月, 2015 1 次提交
    • C
      s390x: flagify mcic values · b080364a
      Cornelia Huck 提交于
      Instead of using magic values when building the machine check
      interruption code, add some defines as by chapter 11-14 in the PoP.
      
      This should make it easier to catch problems like the missing vector
      register validity bit ("s390x/kvm: Fix vector validity bit in device
      machine checks"), and less hassle should we want to generate machine
      checks beyond the channel reports we currently support.
      Acked-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      b080364a
  9. 07 10月, 2015 2 次提交
  10. 02 10月, 2015 1 次提交
  11. 25 9月, 2015 1 次提交
  12. 11 9月, 2015 1 次提交
  13. 03 9月, 2015 1 次提交
  14. 09 7月, 2015 1 次提交
  15. 17 6月, 2015 8 次提交
  16. 11 6月, 2015 1 次提交
  17. 05 6月, 2015 3 次提交
  18. 27 5月, 2015 4 次提交
  19. 08 5月, 2015 1 次提交
  20. 30 4月, 2015 3 次提交
  21. 16 3月, 2015 1 次提交
  22. 11 3月, 2015 1 次提交
    • E
      cpu: Make cpu_init() return QOM CPUState object · 2994fd96
      Eduardo Habkost 提交于
      Instead of making cpu_init() return CPUArchState, return CPUState.
      
      Changes were made using the Coccinelle semantic patch below.
      
        @@
        typedef CPUState;
        identifier e;
        expression args;
        type CPUArchState;
        @@
        -   e =
        +   cpu =
                cpu_init(args);
        -   if (!e) {
        +   if (!cpu) {
                ...
            }
        -   cpu = ENV_GET_CPU(env);
        +   e = cpu->env_ptr;
      
        @@
        identifier new_env, new_cpu, env, cpu;
        type CPUArchState;
        expression args;
        @@
        -{
        -   CPUState *cpu = ENV_GET_CPU(env);
        -   CPUArchState *new_env = cpu_init(args);
        -   CPUState *new_cpu = ENV_GET_CPU(new_env);
        +{
        +   CPUState *cpu = ENV_GET_CPU(env);
        +   CPUState *new_cpu = cpu_init(args);
        +   CPUArchState *new_env = new_cpu->env_ptr;
            ...
        }
      
        @@
        identifier c, cpu_init_func, cpu_model;
        type StateType, CPUType;
        @@
        -static inline StateType* cpu_init(const char *cpu_model)
        -{
        -   CPUType *c = cpu_init_func(cpu_model);
        (
        -   if (c == NULL) {
        -       return NULL;
        -   }
        -   return &c->env;
        |
        -   if (c) {
        -       return &c->env;
        -   }
        -   return NULL;
        )
        -}
        +#define cpu_init(cpu_model) CPU(cpu_init_func(cpu_model))
      
        @@
        identifier cpu_init_func;
        identifier model;
        @@
        -#define cpu_init(model) (&cpu_init_func(model)->env)
        +#define cpu_init(model) CPU(cpu_init_func(model))
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: Riku Voipio <riku.voipio@iki.fi>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Michael Walle <michael@walle.cc>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Cc: Leon Alrae <leon.alrae@imgtec.com>
      Cc: Anthony Green <green@moxielogic.com>
      Cc: Jia Liu <proljc@gmail.com>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      [AF: Fixed up cpu_copy() manually]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      2994fd96
  23. 10 3月, 2015 2 次提交