diff options
author | Haren Myneni <haren@linux.ibm.com> | 2021-06-17 13:37:06 -0700 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-20 21:58:57 +1000 |
commit | 6d0aaf5e0de00491de136f387ebed55604cedebe (patch) | |
tree | 83cefe4e290d8f2785b4f279e3176e5bea025501 /drivers/crypto/nx | |
parent | b22f2d88e435cdada32581ca1f11b9806adf459a (diff) | |
download | linux-6d0aaf5e0de00491de136f387ebed55604cedebe.tar.bz2 |
powerpc/pseries/vas: Setup IRQ and fault handling
NX generates an interrupt when sees a fault on the user space
buffer and the hypervisor forwards that interrupt to OS. Then
the kernel handles the interrupt by issuing H_GET_NX_FAULT hcall
to retrieve the fault CRB information.
This patch also adds changes to setup and free IRQ per each
window and also handles the fault by updating the CSB.
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b8fc66dcb783d06a099a303e5cfc69087bb3357a.camel@linux.ibm.com
Diffstat (limited to 'drivers/crypto/nx')
0 files changed, 0 insertions, 0 deletions