1. 22 9月, 2016 4 次提交
  2. 08 9月, 2016 13 次提交
  3. 17 8月, 2016 1 次提交
    • C
      KVM: arm/arm64: Change misleading use of is_error_pfn · 9ac71595
      Christoffer Dall 提交于
      When converting a gfn to a pfn, we call gfn_to_pfn_prot, which returns
      various kinds of error values.  It turns out that is_error_pfn() only
      returns true when the gfn was found in a memory slot and could somehow
      not be used, but it does not return true if the gfn does not belong to
      any memory slot.
      
      Change use to is_error_noslot_pfn() which covers both cases.
      
      Note: Since we already check for kvm_is_error_hva(hva) explicitly in the
      caller of this function while holding the kvm->srcu lock protecting the
      memory slots, this should never be a problem, but nevertheless this
      change is warranted as it shows the intention of the code.
      Reported-by: NJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      9ac71595
  4. 12 8月, 2016 1 次提交
  5. 11 8月, 2016 10 次提交
  6. 04 8月, 2016 2 次提交
  7. 03 8月, 2016 8 次提交
  8. 02 8月, 2016 1 次提交