qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 8e3394: PPC: Unify dcbzl code path


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 8e3394: PPC: Unify dcbzl code path
Date: Fri, 01 Feb 2013 08:30:10 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 8e33944f8c648e579a2827ae6f30e4d66ee87f96
      
https://github.com/qemu/qemu/commit/8e33944f8c648e579a2827ae6f30e4d66ee87f96
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M target-ppc/cpu.h
    M target-ppc/helper.h
    M target-ppc/mem_helper.c
    M target-ppc/translate.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  PPC: Unify dcbzl code path

The bit that makes a dcbz instruction a dcbzl instruction was declared as
reserved in ppc32 ISAs. However, hardware simply ignores the bit, making
code valid if it simply invokes dcbzl instead of dcbz even on 750 and G4.

Thus, mark the bit as unreserved so that we properly emulate a simple dcbz
in case we're running on non-G5s.

While at it, also refactor the code to check the 970 special case during
runtime. This way we don't need to differenciate between a 970 dcbz and
any other dcbz anymore. We also allow for future improvements to add e500mc
dcbz handling.

Reported-by: Amadeusz Sławiński <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: cca48a93a9a6c1c95ace89b299d3f9f47adadd6d
      
https://github.com/qemu/qemu/commit/cca48a93a9a6c1c95ace89b299d3f9f47adadd6d
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M target-ppc/mmu_helper.c

  Log Message:
  -----------
  target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 476b6d1619446b9c8f72d7523985ba4fdfeaa405
      
https://github.com/qemu/qemu/commit/476b6d1619446b9c8f72d7523985ba4fdfeaa405
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M target-ppc/translate.c

  Log Message:
  -----------
  target-ppc: Fix build for PPC_DEBUG_DISAS

In r5949 / 76db3ba44ee8db671f804755f13b016eefd13288 (target-ppc: memory
load/store rework) variable little_endian was replaced with ctx.le_mode.
Update the debug code.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: a6f921b0c398c941bb3e17704ffa546849d243de
      
https://github.com/qemu/qemu/commit/a6f921b0c398c941bb3e17704ffa546849d243de
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M target-s390x/helper.c

  Log Message:
  -----------
  target-s390x: Fix debug output (continued)

Since its introduction in d5a439645a5a70fed5431318c3bce9dc2caa950f
(s390x: helper functions for system emulation) the variable name was
raddr. Fix this.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 07cc7d128111958e1079632129b1633cb2a435ec
      
https://github.com/qemu/qemu/commit/07cc7d128111958e1079632129b1633cb2a435ec
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M target-s390x/helper.c

  Log Message:
  -----------
  target-s390x: Fix debug output

Commit 71e470886fb6092504503a5fe41092ace71c096c (target-s390x: fix
style) renamed the cpu_s390x_handle_mmu_fault() argument from _vaddr to
orig_vaddr. Update the debug output code.

Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: f94667336ecf6566e090a895a37bc06da435d686
      
https://github.com/qemu/qemu/commit/f94667336ecf6566e090a895a37bc06da435d686
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M hw/s390x/s390-virtio-bus.c
    M target-s390x/cpu.h
    M target-s390x/helper.c
    M target-s390x/interrupt.c

  Log Message:
  -----------
  target-s390x: Clean up cpu_inject_*() signatures

Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e017ba2b19d (s390:
I/O interrupt and machine check injection.) added functions
cpu_inject_io() and cpu_inject_crw_mchk() with CPUS390XState argument,
claiming consistency with cpu_inject_ext().

This complicates making cpu_interrupt() take a CPUState even more and it
required to pass &cpu->env from some S390CPU-aware call sites already,
creating inconsistency elsewhere. Address that.

This also eliminates the need for CPUS390XState in s390_virtio_irq().

Signed-off-by: Andreas Färber <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 49e158785fa86f04e2d4027dd19719d8b79a4421
      
https://github.com/qemu/qemu/commit/49e158785fa86f04e2d4027dd19719d8b79a4421
  Author: Andreas Färber <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/s390-virtio.c
    M target-s390x/cpu.c
    M target-s390x/cpu.h
    M target-s390x/helper.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()

This prepares for moving the halted field to CPUState.
Most call sites can already supply S390CPU, for some env becomes unused.

Signed-off-by: Andreas Färber <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: ba2e28e8a20cf78ea4f64fbf84055f969013f9f7
      
https://github.com/qemu/qemu/commit/ba2e28e8a20cf78ea4f64fbf84055f969013f9f7
  Author: Orit Wasserman <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M Makefile.objs
    M savevm.c
    A xbzrle.c

  Log Message:
  -----------
  Move XBZRLE encoding code to a separate file to allow testing

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: 21e3cd295b52b3ac1528262b8639f2e896cd9467
      
https://github.com/qemu/qemu/commit/21e3cd295b52b3ac1528262b8639f2e896cd9467
  Author: Orit Wasserman <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M tests/Makefile
    A tests/test-xbzrle.c

  Log Message:
  -----------
  Add XBZRLE testing

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Eric Blake <address@hidden>


  Commit: dbca1b3773185af0413e750f26d04b0110cff107
      
https://github.com/qemu/qemu/commit/dbca1b3773185af0413e750f26d04b0110cff107
  Author: Orit Wasserman <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M qmp-commands.hx

  Log Message:
  -----------
  Fix example for query-migrate-capabilities

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>


  Commit: 1b1fdfeae68c61786a474b02601fbba6040fc5a4
      
https://github.com/qemu/qemu/commit/1b1fdfeae68c61786a474b02601fbba6040fc5a4
  Author: Orit Wasserman <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M arch_init.c

  Log Message:
  -----------
  Allow XBZRLE decoding without enabling the capability

Before this fix we couldn't load a guest from
XBZRLE compressed file.

For example:
The user activated the XBZRLE capability
The user run migrate -d "exec:gzip -c > vm.gz"
The user won't be able to load vm.gz and get an error.

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>


  Commit: a31ca017aaf9074c1bb636b3ddaceb40f994375f
      
https://github.com/qemu/qemu/commit/a31ca017aaf9074c1bb636b3ddaceb40f994375f
  Author: Orit Wasserman <address@hidden>
  Date:   2013-01-31 (Thu, 31 Jan 2013)

  Changed paths:
    M hmp.c

  Log Message:
  -----------
  Fix error message in migrate_set_capability HMP command

Signed-off-by: Orit Wasserman <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>


  Commit: fabb60424d68b7c3af1be447a1f48c5b9ffe5123
      
https://github.com/qemu/qemu/commit/fabb60424d68b7c3af1be447a1f48c5b9ffe5123
  Author: Anthony Liguori <address@hidden>
  Date:   2013-02-01 (Fri, 01 Feb 2013)

  Changed paths:
    M target-ppc/cpu.h
    M target-ppc/helper.h
    M target-ppc/mem_helper.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging

# By Andreas Färber (2) and Alexander Graf (1)
# Via Alexander Graf
* agraf/ppc-for-upstream:
  target-ppc: Fix build for PPC_DEBUG_DISAS
  target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS
  PPC: Unify dcbzl code path


  Commit: e205842bd91fbd15655ff40a4282b1ffcbc301b1
      
https://github.com/qemu/qemu/commit/e205842bd91fbd15655ff40a4282b1ffcbc301b1
  Author: Anthony Liguori <address@hidden>
  Date:   2013-02-01 (Fri, 01 Feb 2013)

  Changed paths:
    M hw/s390x/ipl.c
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/s390-virtio.c
    M target-s390x/cpu.c
    M target-s390x/cpu.h
    M target-s390x/helper.c
    M target-s390x/interrupt.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  Merge remote-tracking branch 'agraf/s390-for-upstream' into staging

# By Andreas Färber
# Via Alexander Graf
* agraf/s390-for-upstream:
  target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()
  target-s390x: Clean up cpu_inject_*() signatures
  target-s390x: Fix debug output
  target-s390x: Fix debug output (continued)


  Commit: 5dea9a694ffa6fdd19ba5ce265c619686c14df1b
      
https://github.com/qemu/qemu/commit/5dea9a694ffa6fdd19ba5ce265c619686c14df1b
  Author: Anthony Liguori <address@hidden>
  Date:   2013-02-01 (Fri, 01 Feb 2013)

  Changed paths:
    M Makefile.objs
    M arch_init.c
    M hmp.c
    M qmp-commands.hx
    M savevm.c
    M tests/Makefile
    A tests/test-xbzrle.c
    A xbzrle.c

  Log Message:
  -----------
  Merge remote-tracking branch 'quintela/migration.next' into staging

# By Orit Wasserman
# Via Juan Quintela
* quintela/migration.next:
  Fix error message in migrate_set_capability HMP command
  Allow XBZRLE decoding without enabling the capability
  Fix example for query-migrate-capabilities
  Add XBZRLE testing
  Move XBZRLE encoding code to a separate file to allow testing


Compare: https://github.com/qemu/qemu/compare/8a55ebf01507...5dea9a694ffa

reply via email to

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