summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2022-10-06 22:29:59 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2022-10-18 22:46:18 +1100
commit2147783d6bf0b7ca14c72a25527dc5135bd17f65 (patch)
treee01b83d7e3d8b0fe309d398c84d2e0059eed4b46 /arch/microblaze
parent89ed0b769d6adf30364f60e6b1566961821a9893 (diff)
powerpc/pseries: Use lparcfg to reconfig VAS windows for DLPAR CPU
The hypervisor assigns VAS (Virtual Accelerator Switchboard) windows depends on cores configured in LPAR. The kernel uses OF reconfig notifier to reconfig VAS windows for DLPAR CPU event. In the case of shared CPU mode partition, the hypervisor assigns VAS windows depends on CPU entitled capacity, not based on vcpus. When the user changes CPU entitled capacity for the partition, drmgr uses /proc/ppc64/lparcfg interface to notify the kernel. This patch adds the following changes to update VAS resources for shared mode: - Call vas reconfig windows from lparcfg_write() - Ignore reconfig changes in the VAS notifier Signed-off-by: Haren Myneni <haren@linux.ibm.com> [mpe: Rework error handling, report any errors as EIO] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/efa9c16e4a78dda4567a16f13dabfd73cb4674a2.camel@linux.ibm.com
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions