1. 23 Feb, 2016 1 commit
  2. 15 Jun, 2015 1 commit
  3. 24 Oct, 2014 1 commit
  4. 19 Aug, 2014 2 commits
    • Christoffer Dall's avatar
      arm/virt: Use PSCI v0.2 function IDs in the DT when KVM uses PSCI v0.2 · 863714ba
      Christoffer Dall authored
      The current code supplies the PSCI v0.1 function IDs in the DT even when
      KVM uses PSCI v0.2.
      
      This will break guest kernels that only support PSCI v0.1 as they will
      use the IDs provided in the DT.  Guest kernels with PSCI v0.2 support
      are not affected by this patch, because they ignore the function IDs in
      the device tree and rely on the architecture definition.
      
      Define QEMU versions of the constants and check that they correspond to
      the Linux defines on Linux build hosts.  After this patch, both guest
      kernels with PSCI v0.1 support and guest kernels with PSCI v0.2 should
      work.
      
      Tested on TC2 for 32-bit and APM Mustang for 64-bit (aarch64 guest
      only).  Both cases tested with 3.14 and linus/master and verified I
      could bring up 2 cpus with both guest kernels.  Also tested 32-bit with
      a 3.14 host kernel with only PSCI v0.1 and both guests booted here as
      well.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: 's avatarChristoffer Dall <christoffer.dall@linaro.org>
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      863714ba
    • Christoffer Dall's avatar
      target-arm: Rename QEMU PSCI v0.1 definitions · a65c9c17
      Christoffer Dall authored
      The function IDs for PSCI v0.1 are exported by KVM and defined as
      KVM_PSCI_FN_<something>.  To build using these defines in non-KVM code,
      QEMU defines these IDs locally and check their correctness against the
      KVM headers when those are available.
      
      However, the naming scheme used for QEMU (almost) clashes with the PSCI
      v0.2 definitions from Linux so to avoid unfortunate naming when we
      introduce local PSCI v0.2 defines, rename the current local defines with
      QEMU_ prependend and clearly identify the PSCI version as v0.1 in the
      defines.
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: 's avatarChristoffer Dall <christoffer.dall@linaro.org>
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      a65c9c17
  5. 20 Feb, 2014 1 commit
  6. 04 Jan, 2014 1 commit
  7. 10 Dec, 2013 3 commits