| /Linux-v5.4/arch/um/kernel/ | 
| D | tlb.c | 63 static int do_ops(struct host_vm_change *hvc, int end,  in do_ops()  argument70 		op = &hvc->ops[i];  in do_ops()
 73 			if (hvc->userspace)  in do_ops()
 74 				ret = map(&hvc->mm->context.id, op->u.mmap.addr,  in do_ops()
 78 					  &hvc->data);  in do_ops()
 84 			if (hvc->userspace)  in do_ops()
 85 				ret = unmap(&hvc->mm->context.id,  in do_ops()
 88 					    &hvc->data);  in do_ops()
 96 			if (hvc->userspace)  in do_ops()
 97 				ret = protect(&hvc->mm->context.id,  in do_ops()
 [all …]
 
 | 
| /Linux-v5.4/drivers/tty/hvc/ | 
| D | hvc_iucv.c | 3  * z/VM IUCV hypervisor console (HVC) device driver5  * This HVC device driver provides terminal access using
 65 	struct hvc_struct	*hvc;		/* HVC struct reference */  member
 101 /* Array of allocated hvc iucv tty lines... */
 127  * @num:	The HVC virtual terminal number (vtermno)
 130  * to the HVC virtual terminal number specified as parameter @num.
 200  * hvc_iucv_write() - Receive IUCV message & write data to HVC buffer.
 202  * @buf:		HVC buffer for writing received terminal data.
 203  * @count:		HVC buffer size.
 217  * hang up (that is issued by the HVC layer).
 [all …]
 
 | 
| D | hvc_xen.c | 28 #include <xen/hvc-console.h>40 	struct hvc_struct *hvc;  member
 111 	 * necessary.  We don't ever want to rely on the hvc daemon  in domU_write_console()
 333 	if (info->hvc != NULL)  in xencons_disconnect_backend()
 334 		hvc_remove(info->hvc);  in xencons_disconnect_backend()
 335 	info->hvc = NULL;  in xencons_disconnect_backend()
 383 	info->hvc = hvc_alloc(xenbus_devid_to_vtermno(devid),  in xencons_connect_backend()
 385 	if (IS_ERR(info->hvc))  in xencons_connect_backend()
 386 		return PTR_ERR(info->hvc);  in xencons_connect_backend()
 549 	info->hvc = hvc_alloc(HVC_COOKIE, info->irq, ops, 256);  in xen_hvc_init()
 [all …]
 
 | 
| D | hvc_console.h | 76 /* register a vterm for hvc tty operation (module_init or hotplug add) */79 /* remove a vterm from hvc tty operation (module_exit or hotplug remove) */
 86 /* Resize hvc tty terminal window */
 
 | 
| D | Kconfig | 52 	  This driver provides a Hypervisor console (HVC) back-end to access86          This console uses the JTAG DCC on ARM to create a console under the HVC
 
 | 
| D | hvc_opal.c | 206 	pr_info("hvc%d: %s protocol on %pOF%s\n", termno,  in hvc_opal_probe()213 		pr_info("hvc%d: No interrupts property, using OPAL event\n",  in hvc_opal_probe()
 228 	/* hvc consoles on powernv may need to share a single irq */  in hvc_opal_probe()
 390 	add_preferred_console("hvc", index, NULL);  in hvc_opal_init_early()
 
 | 
| D | hvc_console.c | 218 	.name		= "hvc",566  * hvc_set_winsz() - Resize the hvc tty terminal window.
 781  * @hp:		HVC console pointer
 784  * Stores the specified window size information in the hvc structure of @hp.
 1032 	drv->driver_name = "hvc";  in hvc_init()
 1033 	drv->name = "hvc";  in hvc_init()
 1052 		printk(KERN_ERR "Couldn't register hvc console driver\n");  in hvc_init()
 
 | 
| /Linux-v5.4/drivers/dma/mediatek/ | 
| D | mtk-hsdma.c | 496 					  struct mtk_hsdma_vchan *hvc)  in mtk_hsdma_issue_vchan_pending()  argument501 	lockdep_assert_held(&hvc->vc.lock);  in mtk_hsdma_issue_vchan_pending()
 503 	list_for_each_entry_safe(vd, vd2, &hvc->vc.desc_issued, node) {  in mtk_hsdma_issue_vchan_pending()
 529 		list_move_tail(&vd->node, &hvc->desc_hw_processing);  in mtk_hsdma_issue_vchan_pending()
 535 	struct mtk_hsdma_vchan *hvc;  in mtk_hsdma_free_rooms_in_ring()  local
 584 			hvc = to_hsdma_vchan(cb->vd->tx.chan);  in mtk_hsdma_free_rooms_in_ring()
 586 			spin_lock(&hvc->vc.lock);  in mtk_hsdma_free_rooms_in_ring()
 594 			if (hvc->issue_synchronize &&  in mtk_hsdma_free_rooms_in_ring()
 595 			    list_empty(&hvc->desc_hw_processing)) {  in mtk_hsdma_free_rooms_in_ring()
 596 				complete(&hvc->issue_completion);  in mtk_hsdma_free_rooms_in_ring()
 [all …]
 
 | 
| /Linux-v5.4/arch/arm/kvm/hyp/ | 
| D | hyp-entry.S | 27  * Entry to Hyp mode from the host kernel will happen _only_ when an HVC31  * HVC instructions cause a trap to the vector page + offset 0x14 (see hyp_hvc
 32  * below) when the HVC instruction is called from SVC mode (i.e. a guest or the
 33  * host kernel) and they cause a trap to the vector page + offset 0x8 when HVC
 37  *    Switching to Hyp mode is done through a simple HVC #0 instruction. The
 38  *    exception vector code will check that the HVC comes from VMID==0.
 77 	W(add)	sp, sp, #1	/* HVC		  2 */
 99 	W(add)	sp, sp, #1	/* HVC		  2 */
 175 	 * or from executing HVC from the host kernel, which means
 184 	bne	guest_trap		@ Not HVC instr.
 [all …]
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | arm-smccc.h | 84  * struct arm_smccc_res - Result from SMC/HVC call125  * __arm_smccc_hvc() - make HVC calls
 130  * This function is used to make HVC calls following SMC Calling
 132  * to 7 prior to the HVC instruction. The return values are updated with
 133  * the content from register 0 to 3 on return from the HVC instruction.  An
 153 #define SMCCC_HVC_INST	"hvc	#0"
 285  * arm_smccc_1_1_hvc() - make an SMCCC v1.1 compliant HVC call
 293  * This macro is used to make HVC calls following SMC Calling Convention v1.1.
 295  * to the HVC instruction. The return values are updated with the content
 296  * from register 0 to 3 on return from the HVC instruction if not NULL.
 
 | 
| /Linux-v5.4/Documentation/virt/kvm/arm/ | 
| D | psci.txt | 34   offered by KVM to the guest via a HVC call. The workaround is described40     KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1_AVAIL: The workaround HVC call is
 42     KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_1_NOT_REQUIRED: The workaround HVC call
 47   offered by KVM to the guest via a HVC call. The workaround is described
 
 | 
| /Linux-v5.4/drivers/firmware/xilinx/ | 
| D | zynqmp.c | 100  * do_fw_call_hvc() - Call system-level platform management layer (HVC)101  * @arg0:		Argument 0 to HVC call
 102  * @arg1:		Argument 1 to HVC call
 103  * @arg2:		Argument 2 to HVC call
 106  * Invoke platform management function via HVC
 107  * HVC-based for communication through hypervisor
 139  * Invoke platform management function for SMC or HVC call, depending on
 248  * get_set_conduit_method() - Choose SMC or HVC based communication
 251  * Use SMC or HVC-based functions to communicate with EL2/EL3.
 264 	if (!strcmp("hvc", method)) {  in get_set_conduit_method()
 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/arm/firmware/ | 
| D | linaro,optee-tz.txt | 20                    "hvc" : HVC #0, with the register assignments specified
 | 
| D | sdei.txt | 34 	* "hvc" : HVC #0, with the register assignments specified in this
 | 
| /Linux-v5.4/arch/arm64/xen/ | 
| D | hypercall.S | 43  * The hvc ISS is required to be 0xEA1, that is the Xen specific ARM61 	hvc XEN_IMM;				\
 105 	hvc XEN_IMM
 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/arm/ | 
| D | psci.yaml | 74           # HVC #0, with the register assignments specified in this binding.75           - hvc
 158       method = "hvc";
 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/firmware/xilinx/ | 
| D | xlnx,zynqmp-firmware.txt | 18 		  - "hvc" : HVC #0, following the SMCCC
 | 
| /Linux-v5.4/drivers/char/ | 
| D | virtio_console.c | 28 #include "../tty/hvc/hvc_console.h"37  * that callbacks from hvc for get_chars(), put_chars() work properly
 51 	 * This is used to keep track of the number of hvc consoles
 75 	/* The hvc device associated with this console port */
 76 	struct hvc_struct *hvc;  member
 83 	 * with hvc in hvc_instantiate() and hvc_alloc(); this is the
 84 	 * number passed on by the hvc callbacks to us to
 207 	 * hooked up to an hvc console
 333 	if (port->cons.hvc)  in is_console_port()
 1046 	 * via /dev/hvc  in port_fops_open()
 [all …]
 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/firmware/ | 
| D | intel,stratix10-svc.txt | 27 - method: smc or hvc29         hvc - Hypervisor Call
 
 | 
| /Linux-v5.4/arch/arm64/kernel/ | 
| D | hyp-stub.S | 112 	hvc	#0118 	hvc	#0
 
 | 
| /Linux-v5.4/arch/arm64/kvm/hyp/ | 
| D | hyp-entry.S | 44 	cbnz	x1, el1_hvc_guest	// called HVC46 	/* Here, we're pretty sure the host called HVC. */
 49 	/* Check for a stub HVC call */
 
 | 
| /Linux-v5.4/drivers/firmware/ | 
| D | stratix10-svc.c | 125  * @task: pointer to the thread task which handles SMC or HVC call283  * @res: result from SMC or HVC call
 332  * SMC or HVC calls between kernel driver and secure monitor software.
 526 	/* SMC or HVC call to get shared memory info from secure world */  in svc_normal_to_secure_shm_thread()
 560 	/* smc or hvc call happens on cpu 0 bound kthread */  in svc_get_sh_memory()
 691  * get_invoke_func() - invoke SMC or HVC call
 707 	if (!strcmp(method, "hvc"))  in get_invoke_func()
 969 	/* get SMC or HVC function */  in stratix10_svc_drv_probe()
 
 | 
| /Linux-v5.4/arch/arm/include/asm/ | 
| D | proc-fns.h | 47 	void (*reset)(unsigned long addr, bool hvc) __attribute__((noreturn));96 extern void cpu_reset(unsigned long addr, bool hvc) __attribute__((noreturn));
 
 | 
| /Linux-v5.4/arch/c6x/boot/dts/ | 
| D | evmc6457.dts | 21 		bootargs = "console=hvc root=/dev/nfs ip=dhcp rw";
 | 
| D | evmc6474.dts | 21 		bootargs = "console=hvc root=/dev/nfs ip=dhcp rw";
 |