qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a9047e: hw/arm/boot: Set PC correctly when lo


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a9047e: hw/arm/boot: Set PC correctly when loading AArch64...
Date: Mon, 04 Aug 2014 08:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a9047ec3f6ab56295cba5b07e0d46cded9e2a7ff
      
https://github.com/qemu/qemu/commit/a9047ec3f6ab56295cba5b07e0d46cded9e2a7ff
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/arm/boot.c

  Log Message:
  -----------
  hw/arm/boot: Set PC correctly when loading AArch64 ELF files

The code in do_cpu_reset() correctly handled AArch64 CPUs
when running Linux kernels, but was missing code in the
branch of the if() that deals with loading ELF files.
Correctly jump to the ELF entry point on reset rather than
leaving the reset PC at zero.

Reported-by: Christopher Covington <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Tested-by: Christopher Covington <address@hidden>
Cc: address@hidden


  Commit: fab46932393366792b438c078b48c196e9d35a1a
      
https://github.com/qemu/qemu/commit/fab46932393366792b438c078b48c196e9d35a1a
  Author: Andrew Jones <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: formatting: memory map

Add some spacing and zeros to make it easier to read and
modify the map. This patch has no functional changes. The
review looks ugly, but it's actually pretty easy to confirm
all the addresses are as they should be - thanks to the new
formatting ;-)

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


  Commit: 9db11cef8c557ccc6e0a3e7eca786b197eed5f59
      
https://github.com/qemu/qemu/commit/9db11cef8c557ccc6e0a3e7eca786b197eed5f59
  Author: Peter Crosthwaite <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/sd/sdhci.c

  Log Message:
  -----------
  sd: sdhci: Fix ADMA dma_memory_read access

This dma_memory_read was giving too big a size when begin was non-zero.
This could cause segfaults in some circumstances. Fix.

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


  Commit: 9208b9617f18b56ba4eb32928ae8f6439ba38a24
      
https://github.com/qemu/qemu/commit/9208b9617f18b56ba4eb32928ae8f6439ba38a24
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/internals.h
    M target-arm/kvm64.c
    M target-arm/op_helper.c

  Log Message:
  -----------
  target-arm: A64: Break out aarch64_save/restore_sp

Break out code to save/restore AArch64 SP into functions.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Greg Bellows <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 98ea5615ab24b21991d68b61bc91427fab273817
      
https://github.com/qemu/qemu/commit/98ea5615ab24b21991d68b61bc91427fab273817
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/op_helper.c

  Log Message:
  -----------
  target-arm: A64: Respect SPSEL in ERET SP restore

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Greg Bellows <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: f151b123a35ff36085fb765a7a16373644711df1
      
https://github.com/qemu/qemu/commit/f151b123a35ff36085fb765a7a16373644711df1
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/helper-a64.c

  Log Message:
  -----------
  target-arm: A64: Respect SPSEL when taking exceptions

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Greg Bellows <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 2f0180c51bfbd00b35d02149b831734f04c12d44
      
https://github.com/qemu/qemu/commit/2f0180c51bfbd00b35d02149b831734f04c12d44
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/helper-a64.c
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: Make far_el1 an array

No functional change.
Prepares for future additions of the EL2 and 3 versions of this reg.

Reviewed-by: Greg Bellows <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: f2c30f42f506ea884de22f79d9da43867a327b2a
      
https://github.com/qemu/qemu/commit/f2c30f42f506ea884de22f79d9da43867a327b2a
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

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

  Log Message:
  -----------
  target-arm: Add ESR_EL2 and 3

Reviewed-by: Greg Bellows <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 63b60551a7a4846de2f1f41dd37296fa1571d27e
      
https://github.com/qemu/qemu/commit/63b60551a7a4846de2f1f41dd37296fa1571d27e
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

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

  Log Message:
  -----------
  target-arm: Add FAR_EL2 and 3

Reviewed-by: Greg Bellows <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: cdcf14057d780cdbb1f89f8c5fc11a1a9184b5b1
      
https://github.com/qemu/qemu/commit/cdcf14057d780cdbb1f89f8c5fc11a1a9184b5b1
  Author: Stefan Weil <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: Fix bit test in sp_el0_access

Static code analyzers complain about a dubious & operation used for a
boolean value. The code does not test the PSTATE_SP bit as it should.

Cc: Peter Maydell <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: dcd82c118c891571d2d7db5b4ec84d9cf3ea49b3
      
https://github.com/qemu/qemu/commit/dcd82c118c891571d2d7db5b4ec84d9cf3ea49b3
  Author: Alex Bennée <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: don't hardcode mask values in arm_cpu_handle_mmu_fault

Otherwise we break quickly when we change TARGET_PAGE_SIZE.

Signed-off-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: dbb1fb277ca12acd577403575aa6a2f119ab79ea
      
https://github.com/qemu/qemu/commit/dbb1fb277ca12acd577403575aa6a2f119ab79ea
  Author: Alex Bennée <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: A64: fix TLB flush instructions

According to the ARM ARM we weren't correctly flushing the TLB entries
where bits 63:56 didn't match bit 55 of the virtual address. This
exposed a problem when we switched QEMU's internal TARGET_PAGE_BITS to
12 for aarch64.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 69f87f713069f1f70f86cb65883f7d43e3aa21de
      
https://github.com/qemu/qemu/commit/69f87f713069f1f70f86cb65883f7d43e3aa21de
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-04 (Mon, 04 Aug 2014)

  Changed paths:
    M hw/arm/boot.c
    M hw/arm/virt.c
    M hw/sd/sdhci.c
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/helper-a64.c
    M target-arm/helper.c
    M target-arm/internals.h
    M target-arm/kvm64.c
    M target-arm/op_helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140804' 
into staging

target-arm queue:
 * Set PC correctly when loading AArch64 ELF files
 * sdhci: Fix ADMA dma_memory_read access
 * some more foundational work for EL2/EL3 support
 * fix bugs which reveal themselves if the TARGET_PAGE_SIZE
   is not set to 1K

# gpg: Signature made Mon 04 Aug 2014 14:51:34 BST using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"

* remotes/pmaydell/tags/pull-target-arm-20140804:
  target-arm: A64: fix TLB flush instructions
  target-arm: don't hardcode mask values in arm_cpu_handle_mmu_fault
  target-arm: Fix bit test in sp_el0_access
  target-arm: Add FAR_EL2 and 3
  target-arm: Add ESR_EL2 and 3
  target-arm: Make far_el1 an array
  target-arm: A64: Respect SPSEL when taking exceptions
  target-arm: A64: Respect SPSEL in ERET SP restore
  target-arm: A64: Break out aarch64_save/restore_sp
  sd: sdhci: Fix ADMA dma_memory_read access
  hw/arm/virt: formatting: memory map
  hw/arm/boot: Set PC correctly when loading AArch64 ELF files

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


Compare: https://github.com/qemu/qemu/compare/cc11a0623ab4...69f87f713069

reply via email to

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