Lines Matching +full:guest +full:- +full:index +full:- +full:bits

1 .. SPDX-License-Identifier: GPL-2.0
8 - KVM_DEV_TYPE_XIVE POWER9 XIVE Interrupt Controller generation 1
14 Only one XIVE instance may be instantiated. A guest XIVE device
15 requires a POWER9 host and the guest OS should have support for the
23 guest in VMAs populated with a custom VM fault handler.
32 - Interrupt Pending Buffer (IPB)
33 - Current Processor Priority (CPPR)
34 - Notification Source Register (NSR)
40 guest.
49 3. Device pass-through
51 When a device is passed-through into the guest, the source
53 pages exposed to the guest should accommodate this change.
57 mapped into or unmapped from the guest IRQ number space. The KVM
58 device extends these helpers to clear the ESB pages of the guest IRQ
61 interrupt of the device being passed-through or the initial IPI ESB
64 The ESB remapping is fully transparent to the guest and the OS
66 helpers in KVM-PPC.
94 -EINVAL Value greater than KVM_MAX_VCPU_IDS.
95 -EFAULT Invalid user pointer for attr->addr.
96 -EBUSY A vCPU is already connected to the device.
103 Interrupt source number (64-bit)
107 bits: | 63 .... 2 | 1 | 0
110 - type: 0:MSI 1:LSI
111 - level: assertion level in case of an LSI.
116 -E2BIG Interrupt source number is out of range
117 -ENOMEM Could not create a new source block
118 -EFAULT Invalid user pointer for attr->addr.
119 -ENXIO Could not allocate underlying HW interrupt
126 Interrupt source number (64-bit)
130 bits: | 63 .... 33 | 32 | 31 .. 3 | 2 .. 0
133 - priority: 0-7 interrupt priority level
134 - server: CPU number chosen to handle the interrupt
135 - mask: mask flag (unused)
136 - eisn: Effective Interrupt Source Number
141 -ENOENT Unknown source number
142 -EINVAL Not initialized source number
143 -EINVAL Invalid priority
144 -EINVAL Invalid CPU number.
145 -EFAULT Invalid user pointer for attr->addr.
146 -ENXIO CPU event queues not configured or configuration of the
148 -EBUSY No CPU available to serve interrupt
151 4. KVM_DEV_XIVE_GRP_EQ_CONFIG (read-write)
155 EQ descriptor identifier (64-bit)
159 bits: | 63 .... 32 | 31 .. 3 | 2 .. 0
173 - flags: queue flags
177 - qshift: queue size (power of 2)
178 - qaddr: real address of queue
179 - qtoggle: current queue toggle bit
180 - qindex: current queue index
181 - pad: reserved for future use
186 -ENOENT Invalid CPU number
187 -EINVAL Invalid priority
188 -EINVAL Invalid flags
189 -EINVAL Invalid queue size
190 -EINVAL Invalid queue address
191 -EFAULT Invalid user pointer for attr->addr.
192 -EIO Configuration of the underlying HW failed
199 Interrupt source number (64-bit)
204 -ENOENT Unknown source number
205 -EINVAL Not initialized source number
219 KVM_REG_PPC_VP_STATE (2 * 64bits)::
221 bits: | 63 .... 32 | 31 .... 0 |
223 bits: | 127 .......... 64 |
234 flush any in-flight event notification and to stabilize the EQs. At