1. 26 Oct, 2021 4 commits
    • Alexander Gordeev's avatar
      s390/pgtable: use physical address for Page-Table Origin · 273cd173
      Alexander Gordeev authored
      Instructions IPTE, IDTE and CRDTE accept Page-Table Origin
      as one of the arguments, but instead the pgtable virtual
      address is passed. Fix that and also update the crdte()
      prototype to conform to csp() and cspg() friends.
      Reviewed-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      273cd173
    • Harald Freudenberger's avatar
      s390/zcrypt: rework of debug feature messages · 3f74eb5f
      Harald Freudenberger authored
      This patch reworks all the debug feature invocations to be
      more uniform. All invocations now use the macro with the
      level already part of the macro name. All messages now start
      with %s filled with __func__ (well there are still some
      exceptions), and some message text has been shortened or
      reworked.
      
      There is no functional code touched with this patch.
      Signed-off-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      3f74eb5f
    • Harald Freudenberger's avatar
      s390/ap: Fix hanging ioctl caused by orphaned replies · 3826350e
      Harald Freudenberger authored
      When a queue is switched to soft offline during heavy load and later
      switched to soft online again and now used, it may be that the caller
      is blocked forever in the ioctl call.
      
      The failure occurs because there is a pending reply after the queue(s)
      have been switched to offline. This orphaned reply is received when
      the queue is switched to online and is accidentally counted for the
      outstanding replies. So when there was a valid outstanding reply and
      this orphaned reply is received it counts as the outstanding one thus
      dropping the outstanding counter to 0. Voila, with this counter the
      receive function is not called any more and the real outstanding reply
      is never received (until another request comes in...) and the ioctl
      blocks.
      
      The fix is simple. However, instead of readjusting the counter when an
      orphaned reply is detected, I check the queue status for not empty and
      compare this to the outstanding counter. So if the queue is not empty
      then the counter must not drop to 0 but at least have a value of 1.
      Signed-off-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      3826350e
    • Vasily Gorbik's avatar
      Merge branch 'fixes' into features · e7456f7a
      Vasily Gorbik authored
      pci and string functions changes on features depend on changes from the
      fixes branch.
      
      * fixes:
        s390: add Alexander Gordeev as reviewer
        s390: fix strrchr() implementation
        vfio-ccw: step down as maintainer
        KVM: s390: remove myself as reviewer
        s390/pci: fix zpci_zdev_put() on reserve
        bpf, s390: Fix potential memory leak about jit_data
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      e7456f7a
  2. 19 Oct, 2021 5 commits
  3. 13 Oct, 2021 1 commit
  4. 12 Oct, 2021 3 commits
  5. 11 Oct, 2021 17 commits
  6. 04 Oct, 2021 10 commits