<!DOCTYPE html>
<html lang="en" data-content_root="../../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>KVM/arm64-specific hypercalls exposed to guests — The Linux Kernel documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=3918102e" />
<script src="../../../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<link rel="next" title="Paravirtualized time support for arm64" href="pvtime.html" />
<link rel="prev" title="Internal ABI between the kernel and HYP" href="hyp-abi.html" />
<link rel="stylesheet" href="../../../_static/custom.css" type="text/css" />
</head><body>
<div class="document">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../../../index.html">
<img class="logo" src="../../../_static/logo.svg" alt="Logo of The Linux Kernel"/>
</a></p>
<h1 class="logo"><a href="../../../index.html">The Linux Kernel</a></h1>
<p class="blurb">6.18.50</p>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
<p>
<h3 class="kernel-toc-contents">Contents</h3>
<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked>
<label class="kernel-toc-title" for="kernel-toc-toggle"></label>
<div class="kerneltoc" id="kerneltoc">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../process/development-process.html">Development process</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../process/submitting-patches.html">Submitting patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../process/code-of-conduct.html">Code of conduct</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../maintainer/index.html">Maintainer handbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../process/index.html">All development-process docs</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../core-api/index.html">Core API</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../driver-api/index.html">Driver APIs</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../../subsystem-apis.html">Subsystems</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../../../subsystem-apis.html#core-subsystems">Core subsystems</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../subsystem-apis.html#human-interfaces">Human interfaces</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../subsystem-apis.html#networking-interfaces">Networking interfaces</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../../subsystem-apis.html#storage-interfaces">Storage interfaces</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../../../subsystem-apis.html#other-subsystems">Other subsystems</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="../../../accounting/index.html">Accounting</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../cpu-freq/index.html">CPUFreq - CPU frequency and voltage scaling code in the Linux(TM) kernel</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../edac/index.html">EDAC Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../fpga/index.html">FPGA</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../i2c/index.html">I2C/SMBus Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../iio/index.html">Industrial I/O</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../pcmcia/index.html">PCMCIA</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../spi/index.html">Serial Peripheral Interface (SPI)</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../w1/index.html">1-Wire Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../watchdog/index.html">Watchdog Support</a></li>
<li class="toctree-l3 current"><a class="reference internal" href="../../index.html">Virtualization Support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../hwmon/index.html">Hardware Monitoring</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../accel/index.html">Compute Accelerators</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../security/index.html">Security Documentation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../crypto/index.html">Crypto API</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../bpf/index.html">BPF Documentation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../usb/index.html">USB support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../PCI/index.html">PCI Bus Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../misc-devices/index.html">Assorted Miscellaneous Devices Documentation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../peci/index.html">PECI Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../wmi/index.html">WMI Subsystem</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../../tee/index.html">TEE Subsystem</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../../locking/index.html">Locking</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../process/license-rules.html">Licensing rules</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../doc-guide/index.html">Writing documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../dev-tools/index.html">Development tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../dev-tools/testing-overview.html">Testing guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../kernel-hacking/index.html">Hacking guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../trace/index.html">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../fault-injection/index.html">Fault injection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../livepatch/index.html">Livepatching</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../rust/index.html">Rust</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../admin-guide/index.html">Administration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../kbuild/index.html">Build system</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../admin-guide/reporting-issues.html">Reporting issues</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../tools/index.html">Userspace tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../userspace-api/index.html">Userspace API</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../firmware-guide/index.html">Firmware</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../devicetree/index.html">Firmware and Devicetree</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../arch/index.html">CPU architectures</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../staging/index.html">Unsorted documentation</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../translations/index.html">Translations</a></li>
</ul>
</div>
<script type="text/javascript"> <!--
var sbar = document.getElementsByClassName("sphinxsidebar")[0];
let currents = document.getElementsByClassName("current")
if (currents.length) {
sbar.scrollTop = currents[currents.length - 1].offsetTop;
}
--> </script>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../../../_sources/virt/kvm/arm/hypercalls.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
</div>
</div>
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="kvm-arm64-specific-hypercalls-exposed-to-guests">
<h1>KVM/arm64-specific hypercalls exposed to guests<a class="headerlink" href="#kvm-arm64-specific-hypercalls-exposed-to-guests" title="Link to this heading">¶</a></h1>
<p>This file documents the KVM/arm64-specific hypercalls which may be
exposed by KVM/arm64 to guest operating systems. These hypercalls are
issued using the HVC instruction according to version 1.1 of the Arm SMC
Calling Convention (DEN0028/C):</p>
<p><a class="reference external" href="https://developer.arm.com/docs/den0028/c">https://developer.arm.com/docs/den0028/c</a></p>
<p>All KVM/arm64-specific hypercalls are allocated within the “Vendor
Specific Hypervisor Service Call” range with a UID of
<code class="docutils literal notranslate"><span class="pre">28b46fb6-2ec5-11e9-a9ca-4b564d003a74</span></code>. This UID should be queried by the
guest using the standard “Call UID” function for the service range in
order to determine that the KVM/arm64-specific hypercalls are available.</p>
<section id="arm-smccc-vendor-hyp-kvm-features-func-id">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_VENDOR_HYP_KVM_FEATURES_FUNC_ID</span></code><a class="headerlink" href="#arm-smccc-vendor-hyp-kvm-features-func-id" title="Link to this heading">¶</a></h2>
<p>Provides a discovery mechanism for other KVM/arm64 hypercalls.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Mandatory for the KVM/arm64 UID</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC32</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0x86000000</p></td>
</tr>
<tr class="row-even"><td><p>Arguments:</p></td>
<td colspan="3"><p>None</p></td>
</tr>
<tr class="row-odd"><td rowspan="4"><p>Return Values:</p></td>
<td><p>(uint32)</p></td>
<td><p>R0</p></td>
<td><p>Bitmap of available function numbers 0-31</p></td>
</tr>
<tr class="row-even"><td><p>(uint32)</p></td>
<td><p>R1</p></td>
<td><p>Bitmap of available function numbers 32-63</p></td>
</tr>
<tr class="row-odd"><td><p>(uint32)</p></td>
<td><p>R2</p></td>
<td><p>Bitmap of available function numbers 64-95</p></td>
</tr>
<tr class="row-even"><td><p>(uint32)</p></td>
<td><p>R3</p></td>
<td><p>Bitmap of available function numbers 96-127</p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-vendor-hyp-kvm-ptp-func-id">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_VENDOR_HYP_KVM_PTP_FUNC_ID</span></code><a class="headerlink" href="#arm-smccc-vendor-hyp-kvm-ptp-func-id" title="Link to this heading">¶</a></h2>
<p>See <a class="reference internal" href="ptp_kvm.html"><span class="doc">PTP_KVM support for arm/arm64</span></a></p>
</section>
<section id="arm-smccc-kvm-func-hyp-meminfo">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_HYP_MEMINFO</span></code><a class="headerlink" href="#arm-smccc-kvm-func-hyp-meminfo" title="Link to this heading">¶</a></h2>
<p>Query the memory protection parameters for a pKVM protected virtual machine.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; pKVM protected guests only.</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000002</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>Arguments:</p></td>
<td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td><p>Return Values:</p></td>
<td><p>(int64)</p></td>
<td><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">INVALID_PARAMETER</span> <span class="pre">(-3)</span></code> on error, else
memory protection granule in bytes</p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-kvm-func-mem-share">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_MEM_SHARE</span></code><a class="headerlink" href="#arm-smccc-kvm-func-mem-share" title="Link to this heading">¶</a></h2>
<p>Share a region of memory with the KVM host, granting it read, write and execute
permissions. The size of the region is equal to the memory protection granule
advertised by <code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_HYP_MEMINFO</span></code>.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; pKVM protected guests only.</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000003</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>Arguments:</p></td>
<td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>Base IPA of memory region to share</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td rowspan="2"><p>Return Values:</p></td>
<td rowspan="2"><p>(int64)</p></td>
<td rowspan="2"><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">SUCCESS</span> <span class="pre">(0)</span></code></p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">INVALID_PARAMETER</span> <span class="pre">(-3)</span></code></p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-kvm-func-mem-unshare">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_MEM_UNSHARE</span></code><a class="headerlink" href="#arm-smccc-kvm-func-mem-unshare" title="Link to this heading">¶</a></h2>
<p>Revoke access permission from the KVM host to a memory region previously shared
with <code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_MEM_SHARE</span></code>. The size of the region is equal to the
memory protection granule advertised by <code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_HYP_MEMINFO</span></code>.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; pKVM protected guests only.</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000004</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>Arguments:</p></td>
<td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>Base IPA of memory region to unshare</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td rowspan="2"><p>Return Values:</p></td>
<td rowspan="2"><p>(int64)</p></td>
<td rowspan="2"><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">SUCCESS</span> <span class="pre">(0)</span></code></p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">INVALID_PARAMETER</span> <span class="pre">(-3)</span></code></p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-kvm-func-mmio-guard">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_MMIO_GUARD</span></code><a class="headerlink" href="#arm-smccc-kvm-func-mmio-guard" title="Link to this heading">¶</a></h2>
<p>Request that a given memory region is handled as MMIO by the hypervisor,
allowing accesses to this region to be emulated by the KVM host. The size of the
region is equal to the memory protection granule advertised by
<code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_KVM_FUNC_HYP_MEMINFO</span></code>.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; pKVM protected guests only.</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000007</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>Arguments:</p></td>
<td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>Base IPA of MMIO memory region</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td rowspan="2"><p>Return Values:</p></td>
<td rowspan="2"><p>(int64)</p></td>
<td rowspan="2"><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">SUCCESS</span> <span class="pre">(0)</span></code></p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">INVALID_PARAMETER</span> <span class="pre">(-3)</span></code></p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-vendor-hyp-kvm-discover-impl-ver-func-id">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_VENDOR_HYP_KVM_DISCOVER_IMPL_VER_FUNC_ID</span></code><a class="headerlink" href="#arm-smccc-vendor-hyp-kvm-discover-impl-ver-func-id" title="Link to this heading">¶</a></h2>
<p>Request the target CPU implementation version information and the number of target
implementations for the Guest VM.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; KVM/ARM64 Guests only</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000040</p></td>
</tr>
<tr class="row-even"><td><p>Arguments:</p></td>
<td colspan="3"><p>None</p></td>
</tr>
<tr class="row-odd"><td rowspan="7"><p>Return Values:</p></td>
<td rowspan="2"><p>(int64)</p></td>
<td rowspan="2"><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">SUCCESS</span> <span class="pre">(0)</span></code></p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">NOT_SUPPORTED</span> <span class="pre">(-1)</span></code></p></td>
</tr>
<tr class="row-odd"><td rowspan="3"><p>(uint64)</p></td>
<td rowspan="3"><p>R1</p></td>
<td><p>Bits [63:32] Reserved/Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>Bits [31:16] Major version</p></td>
</tr>
<tr class="row-odd"><td><p>Bits [15:0] Minor version</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Number of target implementations</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
</tbody>
</table>
</section>
<section id="arm-smccc-vendor-hyp-kvm-discover-impl-cpus-func-id">
<h2><code class="docutils literal notranslate"><span class="pre">ARM_SMCCC_VENDOR_HYP_KVM_DISCOVER_IMPL_CPUS_FUNC_ID</span></code><a class="headerlink" href="#arm-smccc-vendor-hyp-kvm-discover-impl-cpus-func-id" title="Link to this heading">¶</a></h2>
<p>Request the target CPU implementation information for the Guest VM. The Guest kernel
will use this information to enable the associated errata.</p>
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>Presence:</p></td>
<td colspan="3"><p>Optional; KVM/ARM64 Guests only</p></td>
</tr>
<tr class="row-even"><td><p>Calling convention:</p></td>
<td colspan="3"><p>HVC64</p></td>
</tr>
<tr class="row-odd"><td><p>Function ID:</p></td>
<td><p>(uint32)</p></td>
<td colspan="2"><p>0xC6000041</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>Arguments:</p></td>
<td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>selected implementation index</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>Reserved / Must be zero</p></td>
</tr>
<tr class="row-odd"><td rowspan="5"><p>Return Values:</p></td>
<td rowspan="2"><p>(int64)</p></td>
<td rowspan="2"><p>R0</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">SUCCESS</span> <span class="pre">(0)</span></code></p></td>
</tr>
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">INVALID_PARAMETER</span> <span class="pre">(-3)</span></code></p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R1</p></td>
<td><p>MIDR_EL1 of the selected implementation</p></td>
</tr>
<tr class="row-even"><td><p>(uint64)</p></td>
<td><p>R2</p></td>
<td><p>REVIDR_EL1 of the selected implementation</p></td>
</tr>
<tr class="row-odd"><td><p>(uint64)</p></td>
<td><p>R3</p></td>
<td><p>AIDR_EL1 of the selected implementation</p></td>
</tr>
</tbody>
</table>
</section>
</section>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©The kernel development community.
|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
& <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
|
<a href="../../../_sources/virt/kvm/arm/hypercalls.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>