diff options
author | Haren Myneni <haren@linux.ibm.com> | 2022-03-01 02:12:41 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-07 14:04:55 +0100 |
commit | 1fe3a33ba0a37e7aa0df0acbe31d5dda7610c16e (patch) | |
tree | fb5cf814fac1ae3be7e278f5b3c6139d40fc467f /arch/powerpc/include/asm/checksum.h | |
parent | powerpc/pseries/vas: Save PID in pseries_vas_window struct (diff) | |
download | linux-1fe3a33ba0a37e7aa0df0acbe31d5dda7610c16e.tar.xz linux-1fe3a33ba0a37e7aa0df0acbe31d5dda7610c16e.zip |
powerpc/vas: Add paste address mmap fault handler
The user space opens VAS windows and issues NX requests by pasting
CRB on the corresponding paste address mmap. When the system lost
credits due to core removal, the kernel has to close the window in
the hypervisor and make the window inactive by unmapping this paste
address. Also the OS has to handle NX request page faults if the user
space issue NX requests.
This handler maps the new paste address with the same VMA when the
window is active again (due to core add with DLPAR). Otherwise
returns paste failure.
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/3956e1c1fdfde69127055ff1c0256c7d71104030.camel@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/checksum.h')
0 files changed, 0 insertions, 0 deletions