Home
last modified time | relevance | path

Searched full:hv (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/openbmc/qemu/docs/system/i386/
H A Dhyperv.rst40 ``hv-relaxed``
45 ``hv-vapic``
50 ``hv-spinlocks`` = xxx
55 ``hv-vpindex``
58 hv-synic, hv-stimer and other enlightenments which require the guest to know its
62 ``hv-runtime``
68 ``hv-crash``
77 ``hv-time``
85 ``hv-synic``
94 Requires: ``hv-vpindex``
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtest_vxlan_under_vrf.sh16 # | | veth-hv | | | | veth-hv | |
39 # | hv-1 netns | | hv-2 netns |
49 ip link del veth-hv-1 2>/dev/null || true
52 for ns in hv-1 hv-2 vm-1 vm-2; do
65 ip link add veth-hv-1 type veth peer name veth-hv-2
66 setup-hv-networking() {
67 hv=$1
69 ip netns add hv-$hv
70 ip link set veth-hv-$hv netns hv-$hv
71 ip -netns hv-$hv link set veth-hv-$hv name veth0
[all …]
H A Dtest_vxlan_vnifiltering.sh43 # | hv-1 netns +--------|------------+ |
47 # | hv-2 netns +--------|-------------+ |
151 ip netns exec hv-1 ping -c 1 -W 1 $1 &>/dev/null
153 ip netns exec hv-1 ping -c 1 -W 1 $2 &>/dev/null
167 ip link del veth-hv-1 2>/dev/null || true
170 for ns in hv-1 hv-2 vm-11 vm-21 vm-12 vm-22 vm-31 vm-32; do
177 setup-hv-networking() {
178 hv=$1
184 ip netns add hv-$hv
185 ip link set veth-hv-$hv netns hv-$hv
[all …]
/openbmc/linux/drivers/gpu/drm/hyperv/
H A Dhyperv_drm_modeset.c26 struct hyperv_drm_device *hv = to_hv(fb->dev); in hyperv_blit_to_vram_rect() local
27 struct iosys_map dst = IOSYS_MAP_INIT_VADDR_IOMEM(hv->vram); in hyperv_blit_to_vram_rect()
30 if (!drm_dev_enter(&hv->dev, &idx)) in hyperv_blit_to_vram_rect()
55 struct hyperv_drm_device *hv = to_hv(connector->dev); in hyperv_connector_get_modes() local
61 drm_set_preferred_mode(connector, hv->preferred_width, in hyperv_connector_get_modes()
62 hv->preferred_height); in hyperv_connector_get_modes()
79 static inline int hyperv_conn_init(struct hyperv_drm_device *hv) in hyperv_conn_init() argument
81 drm_connector_helper_add(&hv->connector, &hyperv_connector_helper_funcs); in hyperv_conn_init()
82 return drm_connector_init(&hv->dev, &hv->connector, in hyperv_conn_init()
87 static int hyperv_check_size(struct hyperv_drm_device *hv, int w, int h, in hyperv_check_size() argument
[all …]
H A Dhyperv_drm_drv.c70 static int hyperv_setup_vram(struct hyperv_drm_device *hv, in hyperv_setup_vram() argument
73 struct drm_device *dev = &hv->dev; in hyperv_setup_vram()
80 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram()
82 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram()
94 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
95 if (!hv->vram) { in hyperv_setup_vram()
101 hv->fb_base = hv->mem->start; in hyperv_setup_vram()
105 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
112 struct hyperv_drm_device *hv; in hyperv_vmbus_probe() local
116 hv = devm_drm_dev_alloc(&hdev->device, &hyperv_driver, in hyperv_vmbus_probe()
[all …]
H A Dhyperv_drm_proto.c199 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_sendpacket() local
211 drm_err_ratelimited(&hv->dev, "Unable to send packet via vmbus; error %d\n", ret); in hyperv_sendpacket()
218 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_negotiate_version() local
219 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; in hyperv_negotiate_version()
220 struct drm_device *dev = &hv->dev; in hyperv_negotiate_version()
230 t = wait_for_completion_timeout(&hv->wait, VMBUS_VSP_TIMEOUT); in hyperv_negotiate_version()
241 hv->synthvid_version = ver; in hyperv_negotiate_version()
250 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_update_vram_location() local
251 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; in hyperv_update_vram_location()
252 struct drm_device *dev = &hv->dev; in hyperv_update_vram_location()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dhyperv.c15 struct hyperv_test_pages *hv = addr_gva2hva(vm, hv_pages_gva); in vcpu_alloc_hyperv_test_pages() local
18 hv->vp_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
19 hv->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
20 hv->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
23 hv->partition_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
24 hv->partition_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
25 hv->partition_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
28 hv->enlightened_vmcs = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
29 hv->enlightened_vmcs_hva = addr_gva2hva(vm, (uintptr_t)hv->enlightened_vmcs); in vcpu_alloc_hyperv_test_pages()
30 hv->enlightened_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)hv->enlightened_vmcs); in vcpu_alloc_hyperv_test_pages()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/tegra/
H A Dnvidia,tegra186-pmc.yaml89 hdmi-dp0, hdmi-dp1, pex-cntrl, sdmmc2-hv, sdmmc4, cam, dsib,
90 dsic, dsid, csic, csid, csie, dsif, spi, ufs, dmic-hv, edp,
91 sdmmc1-hv, sdmmc3-hv, conn, audio-hv, ao-hv
101 spi, ufs, csig, csih, edp, sdmmc1-hv, sdmmc3-hv, conn,
102 audio-hv, ao-hv
130 except for ao-hv. Following pads have software configurable
131 signaling voltages: sdmmc2-hv, dmic-hv, sdmmc1-hv, sdmmc3-hv,
132 audio-hv, ao-hv.
172 pins = "sdmmc1-hv";
177 pins = "sdmmc1-hv";
/openbmc/linux/arch/x86/kvm/
H A Dhyperv.c111 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); in synic_update_vector() local
140 hv->synic_auto_eoi_used++; in synic_update_vector()
142 hv->synic_auto_eoi_used--; in synic_update_vector()
150 !!hv->synic_auto_eoi_used); in synic_update_vector()
338 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); in kvm_hv_syndbg_complete_userspace() local
341 hv->hv_syndbg.control.status = in kvm_hv_syndbg_complete_userspace()
570 struct kvm_hv *hv = to_kvm_hv(kvm); in get_time_ref_counter() local
578 if (hv->hv_tsc_page_status != HV_TSC_PAGE_SET) in get_time_ref_counter()
583 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
584 + hv->tsc_ref.tsc_offset; in get_time_ref_counter()
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Dcontregs.h17 #define AC_M_AFSR 0x0500 /* hv Asynchronous Fault Status Reg */
18 #define AC_M_AFAR 0x0600 /* hv Asynchronous Fault Address Reg */
19 #define AC_M_RESET 0x0700 /* hv Reset Reg */
20 #define AC_M_RPR 0x1000 /* hv Root Pointer Reg */
22 #define AC_M_IAPTP 0x1100 /* hv Instruction Access PTP */
23 #define AC_M_DAPTP 0x1200 /* hv Data Access PTP */
24 #define AC_M_ITR 0x1300 /* hv Index Tag Register */
25 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
/openbmc/linux/arch/m68k/include/asm/
H A Dcontregs.h39 #define AC_M_AFSR 0x0500 /* hv Asynchronous Fault Status Reg */
40 #define AC_M_AFAR 0x0600 /* hv Asynchronous Fault Address Reg */
41 #define AC_M_RESET 0x0700 /* hv Reset Reg */
42 #define AC_M_RPR 0x1000 /* hv Root Pointer Reg */
44 #define AC_M_IAPTP 0x1100 /* hv Instruction Access PTP */
45 #define AC_M_DAPTP 0x1200 /* hv Data Access PTP */
46 #define AC_M_ITR 0x1300 /* hv Index Tag Register */
47 #define AC_M_TRCR 0x1400 /* hv TLB Replacement Control Reg */
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2.rst132 :revision: 3.19 / 2014-12-05 (*hv*)
142 :revision: 3.17 / 2014-08-04 (*lp, hv*)
148 :revision: 3.15 / 2014-02-03 (*hv, ap*)
161 :revision: 3.11 / 2013-05-26 (*hv*)
166 :revision: 3.10 / 2013-03-25 (*hv*)
181 :revision: 3.6 / 2012-07-02 (*hv*)
186 :revision: 3.5 / 2012-05-07 (*sa, sn, hv*)
207 :revision: 3.3 / 2012-01-11 (*hv*)
212 :revision: 3.2 / 2011-08-26 (*hv*)
217 :revision: 3.1 / 2011-06-27 (*mcc, po, hv*)
[all …]
/openbmc/qemu/hw/hyperv/
H A Dmeson.build5 …ALLOON', if_true: files('hv-balloon.c', 'hv-balloon-page_range_tree.c', 'hv-balloon-our_range_mems…
/openbmc/linux/drivers/virt/
H A Dfsl_hypervisor.c231 pr_debug("fsl-hv: could not allocate page list\n"); in ioctl_memcpy()
242 pr_debug("fsl-hv: could not allocate S/G list\n"); in ioctl_memcpy()
253 pr_debug("fsl-hv: could not lock source buffer\n"); in ioctl_memcpy()
444 pr_debug("fsl-hv: bad ioctl dir=%u type=%u cmd=%u size=%u\n", in fsl_hv_ioctl()
665 pr_err("fsl-hv: out of memory\n"); in fsl_hv_open()
710 "fsl-hv",
724 * The handle is the value of the 'hv-handle' property
739 * The proper name for the handle property is "hv-handle", but some in get_parent_handle()
742 prop = of_get_property(parent, "hv-handle", &len); in get_parent_handle()
788 * "hypervisor" and which has a property named "fsl,hv-version".
[all …]
/openbmc/qemu/docs/system/ppc/
H A Dpseries.rst157 Switching between the KVM-PR and KVM-HV kernel module
169 * Use ``qemu-system-ppc64 -M pseries,accel=kvm,kvm-type=HV`` to use ``kvm_hv.ko``
192 It is important to notice that, as KVM-HV provides a much better execution
199 KVM-HV
202 KVM-HV uses the hypervisor mode of more recent Power processors, that allow
206 Originally, KVM-HV was only available when running on a PowerNV platform (a.k.a.
209 hypervisor mode of the Power CPU, it wasn't possible to run KVM-HV on a guest.
210 This limitation has been lifted, and now it is possible to run KVM-HV inside
211 pSeries guests as well, making nested virtualization possible with KVM-HV.
213 As KVM-HV has access to privileged instructions, guests that use a lot of these
[all …]
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-bus-vmbus13 Users: tools/hv/lsvmbus
20 Users: tools/hv/lsvmbus
27 Users: tools/hv/lsvmbus
36 Users: tools/hv/lsvmbus
43 Users: tools/hv/lsvmbus and user level RDMA libraries
50 Users: tools/hv/lsvmbus and user level RDMA libraries
71 Users: tools/hv/lsvmbus and other debugging tools
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c13 * hypervisor (HV) and secure memory managed by Ultravisor (UV).
15 * The page-in or page-out requests from UV will come to HV as hcalls and
16 * HV will call back into UV via ultracalls to satisfy these page requests.
22 * on the HV side. Some pages (like virtio buffers, VPA pages etc) are
23 * shared between UV and HV. However such pages aren't represented by
25 * UV and HV page tables.
34 * or when HV and guest simultaneously access the same page.
35 * This mutex serializes the migration of page from HV(normal) to
40 * fault path as page-out can occur when HV faults on accessing secure
44 * by HV touching secure pages is very very low. If an when UV supports
[all …]
H A DMakefile62 kvm-hv-y += \
69 kvm-hv-$(CONFIG_PPC_UV) += \
72 kvm-hv-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
132 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
/openbmc/linux/arch/powerpc/perf/
H A DMakefile17 obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
/openbmc/linux/arch/powerpc/kernel/
H A Dcpu_setup_ppc970.S15 /* Do nothing if not running in HV mode */
71 /* Do nothing if not running in HV mode */
85 /* Do nothing if not running in HV mode */
133 /* Disable CPU_FTR_HVMODE and exit, since we don't have HV mode */
145 /* Do nothing if not running in HV mode */
/openbmc/qemu/target/ppc/
H A Dexcp_helper.c237 * kernel/hv can map the vectors there with an effective address).
247 * After that, behaviour depends on the current MSR[IR], MSR[DR], MSR[HV],
248 * whether or not the interrupt changes MSR[HV] from 0 to 1, and the current
252 * | LPCR[AIL] | MSR[IR||DR] | MSR[HV] | new MSR[HV] | AIL |
261 * | LPCR[AIL] | MSR[IR||DR] | MSR[HV] | new MSR[HV] | AIL |
267 * The difference with POWER9 being that MSR[HV] 0->1 interrupts can be sent to
271 * interrupts (MSR[HV] 0->0) from using AIL if the hypervisor does not want to
272 * use AIL for its MSR[HV] 0->1 interrupts.
275 * interrupts that begin execution with MSR[HV]=1 (so both MSR[HV] 0->1 and
276 * MSR[HV] 1->1).
[all …]
H A Dhelper_regs.c56 bool hv; in hreg_check_bhrb_enable() local
68 hv = !!(env->msr & (1ull << MSR_HV)); in hreg_check_bhrb_enable()
70 if (hv && pr) { in hreg_check_bhrb_enable()
73 } else if (!hv && pr) { in hreg_check_bhrb_enable()
203 * 4 = HV User space virtual mode in hreg_compute_hflags_value()
204 * 5 = HV Kernel space virtual mode in hreg_compute_hflags_value()
205 * 6 = HV User space real mode in hreg_compute_hflags_value()
206 * 7 = HV Kernel space real mode in hreg_compute_hflags_value()
210 * 0 = AS 0 HV User space in hreg_compute_hflags_value()
211 * 1 = AS 0 HV Kernel space in hreg_compute_hflags_value()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt101 bit 2 - HV (hypervisor state)
110 - hv-support
118 This property describes the HV privilege support required to enable the
153 This property exists when the hv-support property HFSCR bit is set. This
227 hv-support = <0>;
234 hv-support = <0>;
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dinterrupt.c36 * The HV maintains per SMT thread mappings of HV outlet to HV plug on
39 * are registered with the HV through lv1_configure_irq_state_bitmap().
40 * The HV requires that the 512 bits of status + mask not cross a page
44 * The HV supports 256 plugs per thread, assigned as {0..255}, for a total
46 * implementation equates HV plug value to Linux virq value, constrains each
72 * @ppe_id: HV logical_ppe_id
73 * @thread_id: HV thread_id
131 * ps3_chip_eoi - HV end-of-interrupt.
162 * @outlet: The HV outlet from the various create outlet routines.
237 * @outlet: The HV outlet from the various create outlet routines.
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dinterlaken-lac.dtsi41 lac-hv@228000 {
42 compatible = "fsl,interlaken-lac-hv";
44 fsl,non-hv-node = <&lac>;

12345678910>>...14