• Ingo Tuchscherer's avatar
    s390/zcrypt: Fixed reset and interrupt handling of AP queues · c50a160c
    Ingo Tuchscherer authored
    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: default avatarIngo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    c50a160c
ap_bus.h 7.88 KB