| /Linux-v5.4/arch/powerpc/kvm/ | 
| D | emulate.c | 77 	enum emulation_result emulated = EMULATE_DONE;  in kvmppc_emulate_mtspr()  local 115 		emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn,  in kvmppc_emulate_mtspr() 117 		if (emulated == EMULATE_FAIL)  in kvmppc_emulate_mtspr() 125 	return emulated;  in kvmppc_emulate_mtspr() 130 	enum emulation_result emulated = EMULATE_DONE;  in kvmppc_emulate_mfspr()  local 176 		emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn,  in kvmppc_emulate_mfspr() 178 		if (unlikely(emulated == EMULATE_FAIL)) {  in kvmppc_emulate_mfspr() 185 	if (emulated == EMULATE_DONE)  in kvmppc_emulate_mfspr() 189 	return emulated;  in kvmppc_emulate_mfspr() 198 	enum emulation_result emulated;  in kvmppc_emulate_instruction()  local [all …] 
 | 
| D | book3s_paired_singles.c | 175 	int emulated = EMULATE_FAIL;  in kvmppc_emulate_fpr_load()  local 191 		emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs,  in kvmppc_emulate_fpr_load() 196 	emulated = EMULATE_DONE;  in kvmppc_emulate_fpr_load() 213 	return emulated;  in kvmppc_emulate_fpr_load() 219 	int emulated = EMULATE_FAIL;  in kvmppc_emulate_fpr_store()  local 251 		emulated = kvmppc_handle_store(run, vcpu, val, len, 1);  in kvmppc_emulate_fpr_store() 253 		emulated = EMULATE_DONE;  in kvmppc_emulate_fpr_store() 259 	return emulated;  in kvmppc_emulate_fpr_store() 265 	int emulated = EMULATE_FAIL;  in kvmppc_emulate_psq_load()  local 282 		emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs,  in kvmppc_emulate_psq_load() [all …] 
 | 
| D | emulate_loadstore.c | 69  * are not emulated here: multiple and string instructions, 77 	enum emulation_result emulated = EMULATE_FAIL;  in kvmppc_emulate_loadstore()  local 84 	emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst);  in kvmppc_emulate_loadstore() 85 	if (emulated != EMULATE_DONE)  in kvmppc_emulate_loadstore() 86 		return emulated;  in kvmppc_emulate_loadstore() 101 	emulated = EMULATE_FAIL;  in kvmppc_emulate_loadstore() 112 				emulated = kvmppc_handle_loads(run, vcpu,  in kvmppc_emulate_loadstore() 115 				emulated = kvmppc_handle_load(run, vcpu,  in kvmppc_emulate_loadstore() 118 			if ((op.type & UPDATE) && (emulated != EMULATE_FAIL))  in kvmppc_emulate_loadstore() 132 				emulated = kvmppc_handle_loads(run, vcpu,  in kvmppc_emulate_loadstore() [all …] 
 | 
| D | e500_emulate.c | 89 	int emulated = EMULATE_DONE;  in kvmppc_e500_emul_ehpriv()  local 97 		emulated = EMULATE_EXIT_USER;  in kvmppc_e500_emul_ehpriv() 101 		emulated = EMULATE_FAIL;  in kvmppc_e500_emul_ehpriv() 103 	return emulated;  in kvmppc_e500_emul_ehpriv() 131 	int emulated = EMULATE_DONE;  in kvmppc_core_emulate_op_e500()  local 142 			emulated = kvmppc_e500_emul_dcbtls(vcpu);  in kvmppc_core_emulate_op_e500() 147 			emulated = kvmppc_e500_emul_msgsnd(vcpu, rb);  in kvmppc_core_emulate_op_e500() 151 			emulated = kvmppc_e500_emul_msgclr(vcpu, rb);  in kvmppc_core_emulate_op_e500() 156 			emulated = kvmppc_e500_emul_tlbre(vcpu);  in kvmppc_core_emulate_op_e500() 160 			emulated = kvmppc_e500_emul_tlbwe(vcpu);  in kvmppc_core_emulate_op_e500() [all …] 
 | 
| D | book3s_emulate.c | 241 	int emulated = EMULATE_DONE;  in kvmppc_core_emulate_op_pr()  local 250 		emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() 262 			emulated = EMULATE_DONE;  in kvmppc_core_emulate_op_pr() 292 			emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() 367 				emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() 382 			emulated = EMULATE_EXIT_USER;  in kvmppc_core_emulate_op_pr() 428 				emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() 439 				emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() 497 				emulated = EMULATE_AGAIN;  in kvmppc_core_emulate_op_pr() 522 				emulated = EMULATE_FAIL;  in kvmppc_core_emulate_op_pr() [all …] 
 | 
| D | booke_emulate.c | 45 	int emulated = EMULATE_DONE;  in kvmppc_booke_emulate_op()  local 71 			emulated = EMULATE_FAIL;  in kvmppc_booke_emulate_op() 102 			emulated = EMULATE_FAIL;  in kvmppc_booke_emulate_op() 108 		emulated = EMULATE_FAIL;  in kvmppc_booke_emulate_op() 111 	return emulated;  in kvmppc_booke_emulate_op() 115  * NOTE: some of these registers are not emulated on BOOKE_HV (GS-mode). 122 	int emulated = EMULATE_DONE;  in kvmppc_booke_emulate_mtspr()  local 369 		emulated = EMULATE_FAIL;  in kvmppc_booke_emulate_mtspr() 376 	return emulated;  in kvmppc_booke_emulate_mtspr() 381 	int emulated = EMULATE_DONE;  in kvmppc_booke_emulate_mfspr()  local [all …] 
 | 
| D | powerpc.c | 1288 	enum emulation_result emulated = EMULATE_DONE;  in kvmppc_handle_vsx_load()  local 1295 		emulated = __kvmppc_handle_load(run, vcpu, rt, bytes,  in kvmppc_handle_vsx_load() 1298 		if (emulated != EMULATE_DONE)  in kvmppc_handle_vsx_load() 1306 	return emulated;  in kvmppc_handle_vsx_load() 1430 	enum emulation_result emulated = EMULATE_DONE;  in kvmppc_handle_vsx_store()  local 1442 		emulated = kvmppc_handle_store(run, vcpu,  in kvmppc_handle_vsx_store() 1445 		if (emulated != EMULATE_DONE)  in kvmppc_handle_vsx_store() 1454 	return emulated;  in kvmppc_handle_vsx_store() 1460 	enum emulation_result emulated = EMULATE_FAIL;  in kvmppc_emulate_mmio_vsx_loadstore()  local 1466 		emulated = kvmppc_handle_vsx_load(run, vcpu, vcpu->arch.io_gpr,  in kvmppc_emulate_mmio_vsx_loadstore() [all …] 
 | 
| /Linux-v5.4/arch/x86/include/asm/ | 
| D | kvm_emulate.h | 57  * The emulator assumes that an instruction accesses only one 'emulated memory' 60  * stack operations are assumed never to access emulated memory. The emulator 62  * emulated memory, and assumes that the other operand accesses normal memory. 65  *  1. The emulator isn't very smart about emulated vs. standard memory. 66  *     'Emulated memory' access addresses should be checked for sanity. 105 	 * read_std: Read bytes of standard (non-emulated/special) memory. 118 	 * read_phys: Read bytes of standard (non-emulated/special) memory. 128 	 * write_std: Write bytes of standard (non-emulated/special) memory. 139 	 * fetch: Read bytes of standard (non-emulated/special) memory. 150 	 * read_emulated: Read bytes from emulated/special memory area. [all …] 
 | 
| /Linux-v5.4/arch/x86/mm/ | 
| D | numa_emulation.c | 53 		pr_err("NUMA: Too many emulated memblks, failing emulation\n");  in emu_setup_memblk() 251 		 * The limit on emulated nodes is MAX_NUMNODES, so the  in split_nodes_size_interleave_uniform() 350  * to reflect the emulated configuration on success.  @numa_dist_cnt is 355  * - @numa_meminfo is updated to reflect the emulated nodes. 358  *   emulated nodes. 360  * - NUMA distance table is rebuilt to represent distances between emulated 361  *   nodes.  The distances are determined considering how emulated nodes 364  * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical 465 	 * Determine the max emulated nid and the default phys nid to use  in numa_emulation() 473 	/* Make sure numa_nodes_parsed only contains emulated nodes */  in numa_emulation() [all …] 
 | 
| /Linux-v5.4/Documentation/arm/ | 
| D | swp_emulation.rst | 9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB 16   Emulated SWP:		12 17   Emulated SWPB:		0
  | 
| /Linux-v5.4/drivers/target/loopback/ | 
| D | tcm_loop.c | 4  * for emulated SAS initiator ports 404  * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated 752 	pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n",  in tcm_loop_make_nexus() 777 	pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n",  in tcm_loop_drop_nexus() 781 	 * Release the SCSI I_T Nexus to the emulated Target Port  in tcm_loop_drop_nexus() 831 		pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n",  in tcm_loop_tpg_nexus_store() 867 	pr_err("Unable to locate prefix for emulated Initiator Port: %s\n",  in tcm_loop_tpg_nexus_store() 983 	 * Register the tl_tpg as a emulated TCM Target Endpoint  in tcm_loop_make_naa_tpg() 989 	pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n",  in tcm_loop_make_naa_tpg() 1011 	 * Deregister the tl_tpg as a emulated TCM Target Endpoint  in tcm_loop_drop_naa_tpg() [all …] 
 | 
| /Linux-v5.4/tools/memory-model/ | 
| D | README | 212 		atomic_dec_unless_positive().  These can be emulated 216 		emulated in litmus tests by adding another process that 219 		the site of the emulated call_rcu() to the beginning 223 		emulated in litmus tests emulating call_rcu() via 226 		emulated rcu-barrier(). 253 		emulated in litmus tests using atomic read-modify-write
  | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | uprobes.c | 110 	 * are emulated in the kernel. We get here only if the emulation  in arch_uprobe_post_xol() 165  * See if the instruction can be emulated. 166  * Returns true if instruction was emulated, false otherwise. 173 	 * emulate_step() returns 1 if the insn was successfully emulated.  in arch_uprobe_skip_sstep()
  | 
| /Linux-v5.4/arch/powerpc/include/asm/ | 
| D | sstep.h | 129  * Return value is 1 if the instruction can be emulated just by 148  * Returns 1 if the instruction was emulated successfully, 149  * 0 if it could not be emulated, or -1 for an instruction that 150  * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
  | 
| /Linux-v5.4/arch/x86/kernel/ | 
| D | umip.c | 44  * not the actual location of the table. The result is emulated as a hard-coded 49  * or DOSEMU2, they are not emulated. 51  * The instruction smsw is emulated to return the value that the register CR0 140  * instruction that can be emulated. 145  * can be emulated. 148  * emulated. 190  * @data_size:	Size of the emulated result 264 	/* STR and SLDT  are not emulated */  in emulate_umip_insn()
  | 
| /Linux-v5.4/arch/x86/xen/ | 
| D | platform-pci-unplug.c | 137 	/* PVH guests don't have emulated devices. */  in xen_unplug_emulated_devices() 159 					"been compiled for this kernel: unplug emulated NICs.\n");  in xen_unplug_emulated_devices() 164 					"been compiled for this kernel: unplug emulated disks.\n"  in xen_unplug_emulated_devices() 171 	/* Now unplug the emulated devices */  in xen_unplug_emulated_devices()
  | 
| /Linux-v5.4/drivers/pci/controller/ | 
| D | pcie-iproc.h | 15  * PAXC is the wrapper used in root complex dedicated for internal emulated 60  * @ep_is_internal: indicates an internal emulated endpoint device is connected 63  * enumeration against unconfigured physical functions emulated in the ASIC
  | 
| /Linux-v5.4/drivers/gpu/drm/cirrus/ | 
| D | Kconfig | 3 	tristate "Cirrus driver for QEMU emulated device" 8 	 This is a KMS driver for emulated cirrus device in qemu.
  | 
| /Linux-v5.4/Documentation/powerpc/ | 
| D | dscr.rst | 64 	works, as it is emulated following an illegal instruction exception 65 	inside the kernel. Both mfspr and mtspr instructions are emulated. 69 	all mfspr instruction based read attempts will get emulated and returned
  | 
| /Linux-v5.4/arch/mips/include/asm/ | 
| D | dsemul.h | 26  * @ir:		The instruction to be 'emulated'. 32  * in the delay slots of emulated branch instructions, for example FP 84  * that was being 'emulated' has not yet executed, or advanced to the
  | 
| /Linux-v5.4/drivers/mtd/ubi/ | 
| D | debug.h | 71  * Returns non-zero if a bit-flip should be emulated, otherwise returns zero. 84  * Returns non-zero if a write failure should be emulated, otherwise returns 98  * Returns non-zero if an erase failure should be emulated, otherwise returns
  | 
| /Linux-v5.4/arch/m68k/ifpsp060/ | 
| D | CHANGES | 80 		PC	= PC of instruction being emulated 82 		ADDRESS	= PC of instruction being emulated 102 		PC	= PC of instruction being emulated
  | 
| /Linux-v5.4/Documentation/security/tpm/ | 
| D | tpm_vtpm_proxy.rst | 17 container gets its own unique, emulated, software TPM. 22 To make an emulated software TPM available to each container, the container
  | 
| /Linux-v5.4/arch/powerpc/ | 
| D | Kconfig.debug | 43 	bool "Emulated instructions tracking" 47 	  emulated by the in-kernel emulator. Counters for the various classes 48 	  of emulated instructions are available under 53 	  emulated.
  | 
| /Linux-v5.4/drivers/usb/usbip/ | 
| D | vudc_main.c | 18 MODULE_PARM_DESC(num, "number of emulated controllers"); 41 		pr_err("Number of emulated UDC must be no less than 1");  in init()
  |