Home
last modified time | relevance | path

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

123456789

/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.c69 static int hyperv_setup_vram(struct hyperv_drm_device *hv, in hyperv_setup_vram() argument
72 struct drm_device *dev = &hv->dev; in hyperv_setup_vram()
75 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram()
77 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram()
89 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
90 if (!hv->vram) { in hyperv_setup_vram()
96 hv->fb_base = hv->mem->start; in hyperv_setup_vram()
100 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
107 struct hyperv_drm_device *hv; in hyperv_vmbus_probe() local
111 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 …]
/linux/tools/testing/selftests/net/
H A Dtest_vxlan_under_vrf.sh16 # | | veth-hv | | | | veth-hv | |
39 # | hv-1 netns | | hv-2 netns |
50 ip link del veth-hv-1 2>/dev/null || true
63 hv[1]=$hv_1
64 hv[2]=$hv_2
69 ip link add veth-hv-1 type veth peer name veth-hv-2
70 setup-hv-networking() {
73 ip link set veth-hv-$id netns ${hv[$id]}
74 ip -netns ${hv[$id]} link set veth-hv-$id name veth0
76 ip -netns ${hv[$id]} link add vrf-underlay type vrf table 1
[all …]
H A Dtest_vxlan_vnifiltering.sh43 # | hv-1 netns +--------|------------+ |
47 # | hv-2 netns +--------|-------------+ |
165 ip link del veth-hv-1 2>/dev/null || true
173 setup-hv-networking() {
180 ip link set veth-hv-$id netns ${hv[$id]}
181 ip -netns ${hv[$id]} link set veth-hv-$id name veth0
182 ip -netns ${hv[$id]} addr add $local1/$mask1 dev veth0
183 ip -netns ${hv[$id]} addr add $local2/$mask2 dev veth0
184 ip -netns ${hv[$id]} link set veth0 up
206 ip -netns ${hv[$hvid]} link add br$brid type bridge vlan_filtering 1 vlan_default_pvid 0 \
[all …]
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dhyperv.c82 struct hyperv_test_pages *hv = addr_gva2hva(vm, hv_pages_gva); in vcpu_alloc_hyperv_test_pages() local
85 hv->vp_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
86 hv->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
87 hv->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
90 hv->partition_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
91 hv->partition_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
92 hv->partition_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
95 hv->enlightened_vmcs = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
96 hv->enlightened_vmcs_hva = addr_gva2hva(vm, (uintptr_t)hv->enlightened_vmcs); in vcpu_alloc_hyperv_test_pages()
97 hv->enlightened_vmcs_gpa = addr_gva2gpa(vm, (uintptr_t)hv->enlightened_vmcs); in vcpu_alloc_hyperv_test_pages()
[all …]
/linux/Documentation/devicetree/bindings/arm/tegra/
H A Dnvidia,tegra186-pmc.yaml107 hdmi-dp0, hdmi-dp1, pex-cntrl, sdmmc2-hv, sdmmc4, cam, dsib,
108 dsic, dsid, csic, csid, csie, dsif, spi, ufs, dmic-hv, edp,
109 sdmmc1-hv, sdmmc3-hv, conn, audio-hv, ao-hv
119 spi, ufs, csig, csih, edp, sdmmc1-hv, sdmmc3-hv, conn,
120 audio-hv, ao-hv
148 except for ao-hv. Following pads have software configurable
149 signaling voltages: sdmmc2-hv, dmic-hv, sdmmc1-hv, sdmmc3-hv,
150 audio-hv, ao-hv.
190 pins = "sdmmc1-hv";
195 pins = "sdmmc1-hv";
/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 …]
/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 */
/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 */
/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2.rst127 :revision: 3.19 / 2014-12-05 (*hv*)
137 :revision: 3.17 / 2014-08-04 (*lp, hv*)
143 :revision: 3.15 / 2014-02-03 (*hv, ap*)
156 :revision: 3.11 / 2013-05-26 (*hv*)
161 :revision: 3.10 / 2013-03-25 (*hv*)
176 :revision: 3.6 / 2012-07-02 (*hv*)
181 :revision: 3.5 / 2012-05-07 (*sa, sn, hv*)
202 :revision: 3.3 / 2012-01-11 (*hv*)
207 :revision: 3.2 / 2011-08-26 (*hv*)
212 :revision: 3.1 / 2011-06-27 (*mcc, po, hv*)
[all …]
/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 …]
/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
/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) += \
136 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
/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 */
H A Dcpu_setup_e500.S98 /* Touch IVOR42 only if the CPU supports E.HV category */
138 * that supports category E.HV. The architectural way to determine
168 /* Touch IVOR42 only if the CPU supports E.HV category */
189 * that supports category E.HV. The architectural way to determine
209 * that supports category E.HV. The architectural way to determine
/linux/arch/powerpc/perf/
H A DMakefile17 obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
/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.
/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>;
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2595.dtsi21 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
30 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
39 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
48 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
57 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
311 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
320 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
476 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
485 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
494 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
[all …]
H A Dtegra210-p2571.dts22 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
31 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
40 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
49 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
58 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
312 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
321 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
482 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
491 nvidia,io-hv = <TEGRA_PIN_DISABLE>;
500 nvidia,io-hv = <TEGRA_PIN_ENABLE>;
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dinterlaken-lac.txt54 "fsl,interlaken-lac-hv". This node represents the protected
58 - fsl,non-hv-node
59 Usage: required in "fsl,interlaken-lac-hv"
71 Usage: required in non-hv node only
82 lac-hv@228000 {
83 compatible = "fsl,interlaken-lac-hv"
85 fsl,non-hv-node = <&lac>;
/linux/Documentation/devicetree/bindings/soc/tegra/
H A Dnvidia,tegra20-pmc.yaml273 hsic, hv, lvds, mipi-bias, nand, pex-bias, pex-clk1, pex-clk2,
279 audio, audio-hv, cam, csia, csib, csic, csid, csie, csif, dbg,
282 sdmmc1, sdmmc3, spi, spi-hv, uart, usb0, usb1, usb2, usb3, usb-bias
312 audio, audio-hv, cam, dbg, dmic, gpio, pex-cntrl, sdmmc1, sdmmc3,
313 spi, spi-hv, uart
340 dsic, dsid, hdmi, hsic, hv, lvds, mipi-bias, nand,
358 enum: [ audio, audio-hv, cam, csia, csib, csic, csid, csie,
362 sdmmc3, spi, spi-hv, uart, usb0, usb1, usb2, usb3,
/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>;

123456789