1. 03 2月, 2017 1 次提交
    • J
      KVM: MIPS/T&E: Implement CP0_EBase register · 7801bbe1
      James Hogan 提交于
      The CP0_EBase register is a standard feature of MIPS32r2, so we should
      always have been implementing it properly. However the register value
      was ignored and wasn't exposed to userland.
      
      Fix the emulation of exceptions and interrupts to use the value stored
      in guest CP0_EBase, and fix the masks so that the top 3 bits (rather
      than the standard 2) are fixed, so that it is always in the guest KSeg0
      segment.
      
      Also add CP0_EBASE to the KVM one_reg interface so it can be accessed by
      userland, also allowing the CPU number field to be written (which isn't
      permitted by the guest).
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: "Radim Krčmář" <rkrcmar@redhat.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: linux-mips@linux-mips.org
      Cc: kvm@vger.kernel.org
      7801bbe1
  2. 14 1月, 2017 1 次提交
  3. 13 1月, 2017 1 次提交
  4. 11 1月, 2017 1 次提交
  5. 09 1月, 2017 1 次提交
  6. 04 1月, 2017 1 次提交
  7. 03 1月, 2017 2 次提交
  8. 30 12月, 2016 2 次提交
  9. 28 12月, 2016 4 次提交
  10. 27 12月, 2016 1 次提交
  11. 21 12月, 2016 3 次提交
    • D
      net: hix5hd2_gmac: fix compatible strings name · f7ca8e3b
      Dongpo Li 提交于
      The SoC hix5hd2 compatible string has the suffix "-gmac" and
      we should not change its compatible string.
      So we should name all the compatible string with the suffix "-gmac".
      Creating a new name suffix "-gemac" is unnecessary.
      
      We also add another SoC compatible string in dt binding documentation
      and describe which generic version the SoC belongs to.
      
      Fixes: d0fb6ba7 ("net: hix5hd2_gmac: add generic compatible string")
      Signed-off-by: NDongpo Li <lidongpo@hisilicon.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f7ca8e3b
    • J
      dt: bindings: net: use boolean dt properties for eee broken modes · 308d3165
      jbrunet 提交于
      The patches regarding eee-broken-modes was merged before all people
      involved could find an agreement on the best way to move forward.
      
      While we agreed on having a DT property to mark particular modes as broken,
      the value used for eee-broken-modes mapped the phy register in very direct
      way. Because of this, the concern is that it could be used to implement
      configuration policies instead of describing a broken HW.
      
      In the end, having a boolean property for each mode seems to be preferred
      over one bit field value mapping the register (too) directly.
      
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      308d3165
    • M
      ima: define a canonical binary_runtime_measurements list format · d68a6fe9
      Mimi Zohar 提交于
      The IMA binary_runtime_measurements list is currently in platform native
      format.
      
      To allow restoring a measurement list carried across kexec with a
      different endianness than the targeted kernel, this patch defines
      little-endian as the canonical format.  For big endian systems wanting
      to save/restore the measurement list from a system with a different
      endianness, a new boot command line parameter named "ima_canonical_fmt"
      is defined.
      
      Considerations: use of the "ima_canonical_fmt" boot command line option
      will break existing userspace applications on big endian systems
      expecting the binary_runtime_measurements list to be in platform native
      format.
      
      Link: http://lkml.kernel.org/r/1480554346-29071-10-git-send-email-zohar@linux.vnet.ibm.comSigned-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
      Acked-by: NDmitry Kasatkin <dmitry.kasatkin@gmail.com>
      Cc: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Andreas Steffen <andreas.steffen@strongswan.org>
      Cc: Josh Sklar <sklar@linux.vnet.ibm.com>
      Cc: Dave Young <dyoung@redhat.com>
      Cc: Vivek Goyal <vgoyal@redhat.com>
      Cc: Baoquan He <bhe@redhat.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d68a6fe9
  12. 20 12月, 2016 2 次提交
  13. 19 12月, 2016 4 次提交
  14. 17 12月, 2016 1 次提交
  15. 16 12月, 2016 7 次提交
  16. 15 12月, 2016 8 次提交