1. 29 Mar, 2022 9 commits
  2. 21 Mar, 2022 8 commits
  3. 18 Mar, 2022 3 commits
  4. 15 Mar, 2022 2 commits
  5. 14 Mar, 2022 6 commits
  6. 11 Mar, 2022 9 commits
  7. 09 Mar, 2022 3 commits
    • Marc Zyngier's avatar
      Merge branch kvm-arm64/psci-1.1 into kvmarm-master/next · 9872e6bc
      Marc Zyngier authored
      * kvm-arm64/psci-1.1:
        : .
        : Limited PSCI-1.1 support from Will Deacon:
        :
        : This small series exposes the PSCI SYSTEM_RESET2 call to guests, which
        : allows the propagation of a "reset_type" and a "cookie" back to the VMM.
        : Although Linux guests only ever pass 0 for the type ("SYSTEM_WARM_RESET"),
        : the vendor-defined range can be used by a bootloader to provide additional
        : information about the reset, such as an error code.
        : .
        KVM: arm64: Really propagate PSCI SYSTEM_RESET2 arguments to userspace
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      9872e6bc
    • Will Deacon's avatar
      KVM: arm64: Really propagate PSCI SYSTEM_RESET2 arguments to userspace · 9d3e7b7c
      Will Deacon authored
      Commit d43583b8 ("KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the
      guest") hooked up the SYSTEM_RESET2 PSCI call for guests but failed to
      preserve its arguments for userspace, instead overwriting them with
      zeroes via smccc_set_retval(). As Linux only passes zeroes for these
      arguments, this appeared to be working for Linux guests. Oh well.
      
      Don't call smccc_set_retval() for a SYSTEM_RESET2 heading to userspace
      and instead set X0 (and only X0) explicitly to PSCI_RET_INTERNAL_FAILURE
      just in case the vCPU re-enters the guest.
      
      Fixes: d43583b8 ("KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the guest")
      Reported-by: default avatarAndrew Walbran <qwandor@google.com>
      Signed-off-by: default avatarWill Deacon <will@kernel.org>
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      Link: https://lore.kernel.org/r/20220309181308.982-1-will@kernel.org
      9d3e7b7c
    • Marc Zyngier's avatar
      Merge branch kvm-arm64/misc-5.18 into kvmarm-master/next · 7297a8bc
      Marc Zyngier authored
      * kvm-arm64/misc-5.18:
        : .
        : Misc fixes for KVM/arm64 5.18:
        :
        : - Drop unused kvm parameter to kvm_psci_version()
        :
        : - Implement CONFIG_DEBUG_LIST at EL2
        :
        : - Make CONFIG_ARM64_ERRATUM_2077057 default y
        :
        : - Only do the interrupt dance if we have exited because of an interrupt
        :
        : - Remove traces of 32bit ARM host support from the documentation
        : .
        Documentation: KVM: Update documentation to indicate KVM is arm64-only
        KVM: arm64: Only open the interrupt window on exit due to an interrupt
        KVM: arm64: Enable Cortex-A510 erratum 2077057 by default
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      7297a8bc