kernel/Documentation/virt/kvm/arm/util_hint.rst
sevki c9e1dba412 chore(ci): setup github actions and workflows
setup CI/CD for kernel development
- added CodeQL for code scanning
- every pr is built as an image and is available for
  30days on https://oklinux.dev
- tagged and released on github for now

Signed-off-by: sevki <s@sevki.io>
2024-03-15 21:46:24 +00:00

22 lines
863 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0
Util_hint support for arm64
============================
Util_hint is used for sharing the utilization value from the guest
to the host.
* ARM_SMCCC_HYP_KVM_UTIL_HINT_FUNC_ID: 0x86000042
This hypercall using the SMC32/HVC32 calling convention:
ARM_SMCCC_HYP_KVM_UTIL_HINT_FUNC_ID
============== ========= ============================
Function ID: (uint32) 0x86000042
Arguments: (uint32) util value(0-1024) where 1024 represents
the highest performance point normalized
across all CPUs
Return values: (int32) NOT_SUPPORTED(-1) on error.
Endianness: Must be the same endianness
as the host.
============== ======== ============================