powerpc/pseries/vas: Use QoS credits from the userspace
Bugzilla: http://bugzilla.redhat.com/2075175
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45296302
Tested: I did sanity boot testing on power 9 system (ibm-p9b-31).
commit 57831bfb5e78777dc399e351ed68ef77c3aee385 Author: Haren Myneni haren@linux.ibm.com Date: Sat Mar 19 02:28:09 2022 -0700
powerpc/pseries/vas: Use QoS credits from the userspace
The user can change the QoS credits dynamically with the
management console interface which notifies OS with sysfs. After
returning from the OS interface successfully, the management
console updates the hypervisor. Since the VAS capabilities in
the hypervisor is not updated when the OS gets the update,
the kernel is using the old total credits value from the
hypervisor. Fix this issue by using the new QoS credits
from the userspace instead of depending on VAS capabilities
from the hypervisor.
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/76d156f8af1e03cc09369d68e0bfad0c40031bcc.camel@linux.ibm.com
Signed-off-by: Steve Best sbest@redhat.com
Edited by Steve Best