kernel/Documentation/virt/kvm/arm/get_freqtbl.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

23 lines
987 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0
get_freqtbl support for arm/arm64
=============================
Allows guest to query the frequency(in KHz) table of the current CPU that
the vCPU thread is running on.
* ARM_SMCCC_VENDOR_HYP_KVM_GET_CPUFREQ_TBL_FUNC_ID: 0x86000043
This hypercall uses the SMC32/HVC32 calling convention:
ARM_SMCCC_VENDOR_HYP_KVM_GET_CPUFREQ_TBL_FUNC_ID
============== ======== =====================================
Function ID: (uint32) 0x86000043
Arguments: (uint32) index of the current CPU's frequency table
Return Values: (int32) NOT_SUPPORTED(-1) on error, or
(uint32) Frequency table entry of requested index
in KHz
of current CPU(r1)
Endianness: Must be the same endianness
as the host.
============== ======== =====================================