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:Saravana Kannan <saravanak@google.com> Signed-off-by:
Saravana Kannan <saravanak@google.com> Signed-off-by:
David 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:
Masami Hiramatsu <mhiramat@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4236482 Reviewed-by:
Suleiman Souhlal <suleiman@chromium.org>
Loading
Please sign in to comment