Commit b4dcbd97 authored by David Dai's avatar David Dai Committed by Chromeos LUCI
Browse files

CHROMIUM: BACKPORT: FROMLIST: kvm: arm64: Add support for util_hint service



This service allows guests to send the utilization of workoads on its vCPUs
to the host. Utilization is represented as an arbitrary value of 0-1024
where 1024 represents the highest performance point normalized for
frequency and architecture across all CPUs. This hint is used by
the host for scheduling vCPU threads and deciding CPU frequency.

Co-developed-by: default avatarSaravana Kannan <saravanak@google.com>
Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Signed-off-by: default avatarDavid Dai <davidai@google.com>
(am from https://patchwork.kernel.org/patch/13194984/)
(also found at https://lore.kernel.org/r/20230330224348.1006691-4-davidai@google.com

)

Conflicts:
   arch/arm64/include/uapi/asm/kvm.h
   arch/arm64/kvm/hypercalls.c
   include/linux/arm-smccc.h
   tools/arch/arm64/include/uapi/asm/kvm.h

BUG=b:249685960
TEST=Build
UPSTREAM-TASK=b:256983979

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


Reviewed-by: default avatarSuleiman Souhlal <suleiman@chromium.org>
parent 41b7aa33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment