qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] deb2db: target-arm: Use the right MMU index i


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] deb2db: target-arm: Use the right MMU index in arm_regime_...
Date: Fri, 15 Jan 2016 09:00:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: deb2db996cbb9470b39ae1e383791ef34c4eb3c2
      
https://github.com/qemu/qemu/commit/deb2db996cbb9470b39ae1e383791ef34c4eb3c2
  Author: Alvise Rigo <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

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

  Log Message:
  -----------
  target-arm: Use the right MMU index in arm_regime_using_lpae_format

arm_regime_using_lpae_format checks whether the LPAE extension is used
for stage 1 translation regimes. MMU indexes not exclusively of a stage 1
regime won't work with this method.

In case of ARMMMUIdx_S12NSE0 or ARMMMUIdx_S12NSE1, offset these values
by ARMMMUIdx_S1NSE0 to get the right index indicating a stage 1
translation regime.

Rename also the function to arm_s1_regime_using_lpae_format and update
the comments to reflect the change.

Signed-off-by: Alvise Rigo <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: dc3b89ef87dc0ecd5ba435c155ad8511b848d909
      
https://github.com/qemu/qemu/commit/dc3b89ef87dc0ecd5ba435c155ad8511b848d909
  Author: Alistair Francis <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M hw/arm/xlnx-ep108.c
    M hw/arm/xlnx-zynqmp.c
    M include/hw/arm/xlnx-zynqmp.h

  Log Message:
  -----------
  xlnx-zynqmp: Add support for high DDR memory regions

The Xilinx ZynqMP SoC and EP108 board supports three memory regions:
 - A 2GB region starting at 0
 - A 32GB region starting at 32GB
 - A 256GB region starting at 768GB

This patch adds support for the first two memory regions, which is
automatically created based on the size specified by the QEMU memory
command line argument.

On hardware the physical memory region is one continuous region, it is then
mapped into the three different regions by the DDRC. As we don't model the
DDRC this is done at startup by QEMU. The board creates the memory region and
then passes that memory region to the SoC. The SoC then maps the memory
regions.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: f1cd483004da30a905ee6cf5d3268181f6c13e1a
      
https://github.com/qemu/qemu/commit/f1cd483004da30a905ee6cf5d3268181f6c13e1a
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M qapi-schema.json

  Log Message:
  -----------
  qapi-schema: dump-guest-memory: Improve text

dump-guest-memory is supported by more than just x86, however
the paging option is not.

(No functional change.)

Signed-off-by: Andrew Jones <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: b09afd58e4cb61a854c34040a12962e5b6f05ca5
      
https://github.com/qemu/qemu/commit/b09afd58e4cb61a854c34040a12962e5b6f05ca5
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M qom/cpu.c
    M target-ppc/arch_dump.c
    M target-ppc/cpu-qom.h
    M target-ppc/translate_init.c
    M target-s390x/arch_dump.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c

  Log Message:
  -----------
  dump: qemunotes aren't commonly needed

Only one of three architectures implementing qmp-dump-guest-memory write
qemu notes. And, another architecture (arm/aarch64) is coming, which
won't use them either. Make the common implementation truly common.

(No functional change.)

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


  Commit: 8161befdd15ddc5a8bb9e807ff1ac5907c594688
      
https://github.com/qemu/qemu/commit/8161befdd15ddc5a8bb9e807ff1ac5907c594688
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump-arch.h
    M include/sysemu/dump.h

  Log Message:
  -----------
  dump: allow target to set the page size

This is necessary for targets that don't have TARGET_PAGE_SIZE ==
real-target-page-size. The target should set the page size to the
correct one, if known, or, if not known, to the maximum page size
it supports.

(No functional change.)

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


  Commit: b6e05aa473b52e049654fae834453232e6b6e798
      
https://github.com/qemu/qemu/commit/b6e05aa473b52e049654fae834453232e6b6e798
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M dump.c
    M include/sysemu/dump-arch.h
    M include/sysemu/dump.h

  Log Message:
  -----------
  dump: allow target to set the physical base

crash assumes the physical base in the kdump subheader of
makedumpfile formatted dumps is correct. Zero is not correct
for all architectures, so allow it to be changed.

(No functional change.)

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


  Commit: da2b91409ffe33f0a59acff1843ce1758325f2ec
      
https://github.com/qemu/qemu/commit/da2b91409ffe33f0a59acff1843ce1758325f2ec
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M target-arm/Makefile.objs
    A target-arm/arch_dump.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c

  Log Message:
  -----------
  target-arm: support QMP dump-guest-memory

Add the support needed for creating prstatus elf notes. This
allows us to use QMP dump-guest-memory.

Signed-off-by: Andrew Jones <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
[PMM: moved setting of cpu::write_elf64_note inside !CONFIG_USER_ONLY
 ifdef to avoid compile failure for linux-user build]
Signed-off-by: Peter Maydell <address@hidden>


  Commit: bada8e4470a4fe57c67688a49bf18a2cee654ef5
      
https://github.com/qemu/qemu/commit/bada8e4470a4fe57c67688a49bf18a2cee654ef5
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M target-arm/arch_dump.c

  Log Message:
  -----------
  target-arm: dump-guest-memory: add prfpreg notes for aarch64

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


  Commit: 7d68e47f1280f911df0ea87051d70a4ee52d701d
      
https://github.com/qemu/qemu/commit/7d68e47f1280f911df0ea87051d70a4ee52d701d
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M include/elf.h

  Log Message:
  -----------
  elf: add arm note types

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


  Commit: ade0d0c0d3a0444c626ec5f46ef75af7395236f6
      
https://github.com/qemu/qemu/commit/ade0d0c0d3a0444c626ec5f46ef75af7395236f6
  Author: Andrew Jones <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M target-arm/arch_dump.c

  Log Message:
  -----------
  target-arm: dump-guest-memory: add vfp notes for arm

gdb won't actually dump these with 'info all-registers' since
it first tries to confirm that it should by checking the VFP
hwcap in the .auxv note. Well, we don't generate an .auxv note.

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


  Commit: 67736a25f86595c8ae174a21d965af5a027884c9
      
https://github.com/qemu/qemu/commit/67736a25f86595c8ae174a21d965af5a027884c9
  Author: Shannon Zhao <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M hw/arm/virt-acpi-build.c

  Log Message:
  -----------
  ARM: virt: Don't generate RTC ACPI device when using UEFI

When booting the VM with UEFI, UEFI takes ownership of the RTC hardware.
While UEFI can use libfdt to disable the RTC device node in the DTB that
it passes to the OS, it cannot modify AML. Therefore, we won't generate
the RTC ACPI device at all when using UEFI.

Signed-off-by: Shannon Zhao <address@hidden>
Acked-by: Ard Biesheuvel <address@hidden>
Reviewed-by: Laszlo Ersek <address@hidden>
Reviewed-by: Andrew Jones <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 5a57acb66f19ee52723aa05b8afbbc41c3e9ec99
      
https://github.com/qemu/qemu/commit/5a57acb66f19ee52723aa05b8afbbc41c3e9ec99
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-15 (Fri, 15 Jan 2016)

  Changed paths:
    M dump.c
    M hw/arm/virt-acpi-build.c
    M hw/arm/xlnx-ep108.c
    M hw/arm/xlnx-zynqmp.c
    M include/elf.h
    M include/hw/arm/xlnx-zynqmp.h
    M include/sysemu/dump-arch.h
    M include/sysemu/dump.h
    M qapi-schema.json
    M qom/cpu.c
    M target-arm/Makefile.objs
    A target-arm/arch_dump.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/helper.c
    M target-arm/internals.h
    M target-arm/op_helper.c
    M target-ppc/arch_dump.c
    M target-ppc/cpu-qom.h
    M target-ppc/translate_init.c
    M target-s390x/arch_dump.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c

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

target-arm queue:
 * use the right MMU index when handling unaligned accesses
 * xlnx-zynqmp: Add support for high DDR memory regions
 * target-arm: support QMP dump-guest-memory
 * ARM: virt: Don't generate RTC ACPI device when using UEFI

# gpg: Signature made Fri 15 Jan 2016 15:16:19 GMT using RSA key ID 14360CDE
# gpg: Good signature from "Peter Maydell <address@hidden>"
# gpg:                 aka "Peter Maydell <address@hidden>"
# gpg:                 aka "Peter Maydell <address@hidden>"

* remotes/pmaydell/tags/pull-target-arm-20160115:
  ARM: virt: Don't generate RTC ACPI device when using UEFI
  target-arm: dump-guest-memory: add vfp notes for arm
  elf: add arm note types
  target-arm: dump-guest-memory: add prfpreg notes for aarch64
  target-arm: support QMP dump-guest-memory
  dump: allow target to set the physical base
  dump: allow target to set the page size
  dump: qemunotes aren't commonly needed
  qapi-schema: dump-guest-memory: Improve text
  xlnx-zynqmp: Add support for high DDR memory regions
  target-arm: Use the right MMU index in arm_regime_using_lpae_format

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


Compare: https://github.com/qemu/qemu/compare/f02ccf536937...5a57acb66f19

reply via email to

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