summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/vmalloc.h
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2022-03-01 02:12:41 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-07 14:04:55 +0100
commit1fe3a33ba0a37e7aa0df0acbe31d5dda7610c16e (patch)
treefb5cf814fac1ae3be7e278f5b3c6139d40fc467f /arch/powerpc/include/asm/vmalloc.h
parentpowerpc/pseries/vas: Save PID in pseries_vas_window struct (diff)
downloadlinux-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/vmalloc.h')
0 files changed, 0 insertions, 0 deletions