Lines Matching +full:rx +full:- +full:shared

1 .. SPDX-License-Identifier: GPL-2.0
35 'hypercall-instructions'. This property contains at most 4 opcodes that make
43 r0 - volatile
53 r12 - volatile
56 Hypercall definitions are shared in generic code, so the same hypercall numbers
73 To enable communication between the hypervisor and guest there is a new shared
75 map this shared page using the KVM hypercall KVM_HC_PPC_MAP_MAGIC_PAGE.
80 applicable to the target. For now, we always map the page to -4096. This way we
84 ld rX, -4096(0)
133 - MSR_EE
134 - MSR_RI
142 respectively on 32-bit systems with an added offset of 4 to accommodate for big
147 also act on the shared page. So calling privileged instructions still works as
153 mfmsr rX ld rX, magic_page->msr
154 mfsprg rX, 0 ld rX, magic_page->sprg0
155 mfsprg rX, 1 ld rX, magic_page->sprg1
156 mfsprg rX, 2 ld rX, magic_page->sprg2
157 mfsprg rX, 3 ld rX, magic_page->sprg3
158 mfsrr0 rX ld rX, magic_page->srr0
159 mfsrr1 rX ld rX, magic_page->srr1
160 mfdar rX ld rX, magic_page->dar
161 mfdsisr rX lwz rX, magic_page->dsisr
163 mtmsr rX std rX, magic_page->msr
164 mtsprg 0, rX std rX, magic_page->sprg0
165 mtsprg 1, rX std rX, magic_page->sprg1
166 mtsprg 2, rX std rX, magic_page->sprg2
167 mtsprg 3, rX std rX, magic_page->sprg3
168 mtsrr0 rX std rX, magic_page->srr0
169 mtsrr1 rX std rX, magic_page->srr1
170 mtdar rX std rX, magic_page->dar
171 mtdsisr rX stw rX, magic_page->dsisr
175 mtmsrd rX, 0 b <special mtmsr section>
176 mtmsr rX b <special mtmsr section>
178 mtmsrd rX, 1 b <special mtmsrd section>
181 mtsrin rX, rY b <special mtsrin section>
212 PAPR hypercalls are needed to run server PowerPC PAPR guests (-M pseries in QEMU).
219 Mac-on-Linux is another user of KVM on PowerPC, which has its own hypercall (long