1. 20 1月, 2014 1 次提交
    • C
      KVM: s390: Fix memory access error detection · 699bde3b
      Christian Borntraeger 提交于
      Seems that commit 210b1607
      (KVM: s390: Removed SIE_INTERCEPT_UCONTROL) lost a hunk when we
      reworked our patch queue to rework the async_fp code. We now
      ignore faults on the sie instruction (guest accesses non-existing
      memory) instead of sending a fault into the guest. This leads to
      hang situations with the old virtio transport that checks for
      descriptor memory after guest memory. Instead of bailing out this
      code now goes wild...
      Lets re-add the check.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      699bde3b
  2. 12 12月, 2013 5 次提交
  3. 28 11月, 2013 9 次提交
  4. 25 11月, 2013 4 次提交
  5. 20 11月, 2013 2 次提交
    • H
      s390/mm: optimize copy_page · dba6bb60
      Heiko Carstens 提交于
      Always use the mvcl instruction to copy a page instead of mvpg or a
      couple of mvc instructions.
      Copying a huge page is 25% faster this way. Also bypass caches when
      copying pages since only parts of a page will be used afterwards.
      Especially when copying a huge page this would kick everything out
      of the L1 and L2 data caches on a zEC12 machine.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      dba6bb60
    • H
      s390/signal: always restore saved runtime instrumentation psw bit · aa7e04b3
      Hendrik Brueckner 提交于
      Commit "s390: fix handling of runtime instrumentation psw bit" (5ebf250d)
      changed the behavior of setting the runtime instrumentation psw bit.  This
      commit restores the original logic:
      
      1. When returning from the signal handler, the runtime instrumentation psw bit
         is restored to its saved state.
      2. If the runtime instrumentation psw bit is enabled during the signal handler,
         it is always turned off when leaving the signal handler.  The saved state
         is restored as described in 1.  That also implies that turning on runtime
         instrumentation in the signal handler is only effective while running in the
         signal context.
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      aa7e04b3
  6. 15 11月, 2013 11 次提交
  7. 14 11月, 2013 2 次提交
  8. 13 11月, 2013 2 次提交
  9. 09 11月, 2013 1 次提交
  10. 05 11月, 2013 1 次提交
    • H
      crypto: s390 - Fix aes-cbc IV corruption · f262f0f5
      Herbert Xu 提交于
      The cbc-aes-s390 algorithm incorrectly places the IV in the tfm
      data structure.  As the tfm is shared between multiple threads,
      this introduces a possibility of data corruption.
      
      This patch fixes this by moving the parameter block containing
      the IV and key onto the stack (the block is 48 bytes long).
      
      The same bug exists elsewhere in the s390 crypto system and they
      will be fixed in subsequent patches.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      f262f0f5
  11. 04 11月, 2013 1 次提交
    • M
      s390/mm,tlb: correct tlb flush on page table upgrade · 10607864
      Martin Schwidefsky 提交于
      The IDTE instruction used to flush TLB entries for a specific address
      space uses the address-space-control element (ASCE) to identify
      affected TLB entries. The upgrade of a page table adds a new top
      level page table which changes the ASCE. The TLB entries associated
      with the old ASCE need to be flushed and the ASCE for the address space
      needs to be replaced synchronously on all CPUs which currently use it.
      The concept of a lazy ASCE update with an exception handler is broken.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      10607864
  12. 31 10月, 2013 1 次提交