qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d87636: microblaze: s3adsp: Instantiate CPU u


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d87636: microblaze: s3adsp: Instantiate CPU using QOM
Date: Sun, 21 Jun 2015 17:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d87636b18f8de901e76bedd9c7f55d3eaed924ee
      
https://github.com/qemu/qemu/commit/d87636b18f8de901e76bedd9c7f55d3eaed924ee
  Author: Peter Crosthwaite <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_s3adsp1800_mmu.c

  Log Message:
  -----------
  microblaze: s3adsp: Instantiate CPU using QOM

Instantiate and realise the CPU directly, rather than using
cpu_mb_init. Microblazes cpu_model argument is a dummy so remove the
default cpu_model set logic.

Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 53432dc9ea37d3be4c8efc3023c2382e9da5334a
      
https://github.com/qemu/qemu/commit/53432dc9ea37d3be4c8efc3023c2382e9da5334a
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M target-microblaze/op_helper.c

  Log Message:
  -----------
  target-microblaze: Fix up indentation

Fix up the incorrect indentation level in the helper_stackprot() function.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 8bac22423e4c3b70082dd6c1b492ccf21f3b5a0c
      
https://github.com/qemu/qemu/commit/8bac22423e4c3b70082dd6c1b492ccf21f3b5a0c
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h

  Log Message:
  -----------
  target-microblaze: Preserve the pvr registers during reset

Move the Microblaze PVR registers to the end of the CPUMBState
and preserve them during reset. This is similar to what the
QEMU ARM model does with some of it's registers.

This allows the Microblaze PVR registers to only be set once
at realise instead of constantly at reset.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 9aaaa181949e4a23ca298fb7006e2d8bac842e92
      
https://github.com/qemu/qemu/commit/9aaaa181949e4a23ca298fb7006e2d8bac842e92
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

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

  Log Message:
  -----------
  target-microblaze: Allow the stack protection to be disabled

Microblaze stack protection is configurable and isn't always enabled.
This patch allows the stack protection to be disabled from the
CPU properties.

Signed-off-by: Alistair Francis <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: f27183abaaaf48e9d1f8469c7e99a987444f4410
      
https://github.com/qemu/qemu/commit/f27183abaaaf48e9d1f8469c7e99a987444f4410
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

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

  Log Message:
  -----------
  target-microblaze: Tidy up the base-vectors property

Rename the "xlnx.base-vectors" string to "base-vectors" and
move the base_vectors variable into the cfg struct.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 4e5d45ae5756123b3b7000c8b0b3d3a9ea4737da
      
https://github.com/qemu/qemu/commit/4e5d45ae5756123b3b7000c8b0b3d3a9ea4737da
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/translate.c

  Log Message:
  -----------
  target-microblaze: Convert use-fpu to a CPU property

Originally the use-fpu PVR bits were manually set for each machine. This
is a hassle and difficult to read, instead set them based on the CPU
properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: f44c475cb6ded298486a589c4205ab70e485b48c
      
https://github.com/qemu/qemu/commit/f44c475cb6ded298486a589c4205ab70e485b48c
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M target-microblaze/cpu.c

  Log Message:
  -----------
  target-microblaze: Disable stack protection by default

Stack protection is not available when the MMU is enabled.
As the MMU is enabled by default, disable stack protection
by default.

Signed-off-by: Alistair Francis <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: be67e9ab9740d5a80e5c37bfd35247a4e449bc5a
      
https://github.com/qemu/qemu/commit/be67e9ab9740d5a80e5c37bfd35247a4e449bc5a
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

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

  Log Message:
  -----------
  target-microblaze: Rename the usefpu variable

Rename the usefpu variable to use_fpu.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 714461237083c1eadcb9d686f8ce4088737c1d0a
      
https://github.com/qemu/qemu/commit/714461237083c1eadcb9d686f8ce4088737c1d0a
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

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

  Log Message:
  -----------
  target-microblaze: Convert use-mmu to a CPU property

Originally the use-mmu PVR bits were manually set for each machine. This
is a hassle and difficult to read, instead set them based on the CPU
properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: a6c3ed24748f06742413e174167b0faa7030c244
      
https://github.com/qemu/qemu/commit/a6c3ed24748f06742413e174167b0faa7030c244
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c

  Log Message:
  -----------
  target-microblaze: Convert dcache-writeback to a CPU property

Originally  the dcache-writeback PVR bits were manually set for each machine.
This is a hassle and difficult to read, instead set them based on the CPU
properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: a88bbb006a523deabb90245a283d1914abd34e3e
      
https://github.com/qemu/qemu/commit/a88bbb006a523deabb90245a283d1914abd34e3e
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/cpu.h

  Log Message:
  -----------
  target-microblaze: Convert endi to a CPU property

Originally the endi PVR bits were manually set for each machine. This
is a hassle and difficult to read, instead set them based on the CPU
properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 72e38754853443830152a3cfe586db1d9b15e8fe
      
https://github.com/qemu/qemu/commit/72e38754853443830152a3cfe586db1d9b15e8fe
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c

  Log Message:
  -----------
  target-microblaze: Convert version_mask to a CPU property

Originally the version_mask PVR bits were manually set for each
machine. This is a hassle and difficult to read, instead set them
based on the CPU properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 6fad9e986b82c7c7ed7cfa0cc3ee38b3510a5432
      
https://github.com/qemu/qemu/commit/6fad9e986b82c7c7ed7cfa0cc3ee38b3510a5432
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

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

  Log Message:
  -----------
  target-microblaze: Convert pvr-full to a CPU property

Originally the pvr-full PVR bits were manually set for each machine. This
is a hassle and difficult to read, instead set them based on the CPU
properties.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: a87310a62d1885b8f6d6b5b30227cbd9792d2c3c
      
https://github.com/qemu/qemu/commit/a87310a62d1885b8f6d6b5b30227cbd9792d2c3c
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_ml605_mmu.c

  Log Message:
  -----------
  ml605_mmu: Move the hardcoded values to the init function

Move the hard coded register values to the init function.
This also allows the entire reset function to be deleted, as
PVR registers are now preserved on reset.

The hardcoded PVR0 values can be removed as they are setting
the endianness and stack protection, which is already done
or invalid.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 033af8e9aaba1994c4816cea5828aaddc383a907
      
https://github.com/qemu/qemu/commit/033af8e9aaba1994c4816cea5828aaddc383a907
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M hw/microblaze/petalogix_s3adsp1800_mmu.c

  Log Message:
  -----------
  s3adsp1800: Remove the hardcoded values from the reset

Remove the hardcoded values from the machine specific reset
function, as the same values are already set in the standard
MicroBlaze reset.

This also allows the entire reset function to be deleted, as
PVR registers are now preserved on reset.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: ad7020a7e7b27d468ecc2aacb04ba4eb09017074
      
https://github.com/qemu/qemu/commit/ad7020a7e7b27d468ecc2aacb04ba4eb09017074
  Author: Alistair Francis <address@hidden>
  Date:   2015-06-21 (Sun, 21 Jun 2015)

  Changed paths:
    M target-microblaze/cpu.c

  Log Message:
  -----------
  target-microblaze: Remove dead code

This code is already being run in the mb_cpu_realizefn()
function. As PVR registers are preserved on reset this
code is not required.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


Compare: https://github.com/qemu/qemu/compare/799810fb2810...ad7020a7e7b2

reply via email to

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