Skip to content

Commit

Permalink
s390/zcrypt: Fixed reset and interrupt handling of AP queues
Browse files Browse the repository at this point in the history
In case of request timeouts an AP queue reset will be triggered to
recover and reinitialize the AP queue. The previous behavior was an
immediate reset execution regardless of current/pending requests.
Due to newly changed firmware behavior the reset may be delayed, based
on the priority of pending request. The device driver's waiting time
frame was limited, hence it did not received the reset response. As a
consequence interrupts would not be enabled afterwards.

The RAPQ (queue reset) and AQIC (interrupt control) commands will be
treated fully asynchronous now. The device driver will check the reset and
interrupt states periodically, thus it can handle the reinitialization
properly.

Signed-off-by: Ingo Tuchscherer <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
Ingo Tuchscherer authored and Martin Schwidefsky committed Jun 25, 2015
1 parent 3c8e510 commit c50a160
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 200 deletions.
Loading

0 comments on commit c50a160

Please sign in to comment.