aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2022-02-27 23:51:28 -0800
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-08 00:04:56 +1100
commit278fe1cc2205a05bfd92c794be3d207372b17289 (patch)
treef9d216fdd1993b7519f19e9e69f630ccd9ae2dd5 /arch/powerpc/lib/code-patching.c
parent45f06eac30e5abebecc66e41e7c89d5b4413bac1 (diff)
downloadlinux-278fe1cc2205a05bfd92c794be3d207372b17289.tar.gz
linux-278fe1cc2205a05bfd92c794be3d207372b17289.tar.bz2
linux-278fe1cc2205a05bfd92c794be3d207372b17289.zip
powerpc/pseries/vas: Define global hv_cop_caps struct
The coprocessor capabilities struct is used to get default and QoS capabilities from the hypervisor during init, DLPAR event and migration. So instead of allocating this struct for each event, define global struct and reuse it which allows the migration code to avoid adding an error path. Also disable copy/paste feature flag if any capabilities HCALL is failed. Signed-off-by: Haren Myneni <haren@linux.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Acked-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/57da6a270fcb9308cd57be7c88037029343080f7.camel@linux.ibm.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions