Commit 9bb3d3cb authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Chromeos LUCI
Browse files

CHROMIUM: KVM: arm64: Add support for the KVM uclamp service



Implement the hypervisor side of the KVM uclamp interface.

This service allows guest to set its uclamp value to the vCPU tasks
in the host. The caller must specify the uclamp value in the range of
0-1024, and uclamp.min must be smaller than uclamp.max.
The uclamp value is agressively used if the host kernel runs with
the EAS and schedutil. Thus this hypercall will be good for such
case.

BUG=b:230005239
BUG=b:230582047
UPSTREAM-TASK=b:256983979
TEST=Installed and run autologin.py.

Signed-off-by: default avatarMasami Hiramatsu <mhiramat@google.com>
Change-Id: If5a492cbde81511f3c98d8c49671e295402127fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3848980


Commit-Queue: Suleiman Souhlal <suleiman@chromium.org>
Reviewed-by: default avatarJoel Fernandes <joelaf@google.com>
parent da965b78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment