/linux-5.10/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(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(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(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, 75 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() local 82 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore() 83 if (emulated != EMULATE_DONE) in kvmppc_emulate_loadstore() 84 return emulated; in kvmppc_emulate_loadstore() 95 emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() 106 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore() 109 emulated = kvmppc_handle_load(vcpu, in kvmppc_emulate_loadstore() 112 if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) in kvmppc_emulate_loadstore() 126 emulated = kvmppc_handle_loads(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 | 1292 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_load() local 1299 emulated = __kvmppc_handle_load(vcpu, rt, bytes, in kvmppc_handle_vsx_load() 1302 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_load() 1310 return emulated; in kvmppc_handle_vsx_load() 1435 enum emulation_result emulated = EMULATE_DONE; in kvmppc_handle_vsx_store() local 1447 emulated = kvmppc_handle_store(vcpu, in kvmppc_handle_vsx_store() 1450 if (emulated != EMULATE_DONE) in kvmppc_handle_vsx_store() 1459 return emulated; in kvmppc_handle_vsx_store() 1465 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_mmio_vsx_loadstore() local 1471 emulated = kvmppc_handle_vsx_load(vcpu, vcpu->arch.io_gpr, in kvmppc_emulate_mmio_vsx_loadstore() [all …]
|
/linux-5.10/Documentation/admin-guide/device-mapper/ |
D | dm-ebs.rst | 11 Supported emulated logical block sizes 512, 1024, 2048 and 4096. 18 <dev path> <offset> <emulated sectors> [<underlying sectors>] 27 has to be a multiple of <emulated sectors>. 28 <emulated sectors>: 29 Number of sectors defining the logical block size to be emulated;
|
/linux-5.10/arch/x86/kvm/ |
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-5.10/arch/x86/mm/ |
D | numa_emulation.c | 54 pr_err("NUMA: Too many emulated memblks, failing emulation\n"); in emu_setup_memblk() 252 * The limit on emulated nodes is MAX_NUMNODES, so the in split_nodes_size_interleave_uniform() 351 * to reflect the emulated configuration on success. @numa_dist_cnt is 356 * - @numa_meminfo is updated to reflect the emulated nodes. 359 * emulated nodes. 361 * - NUMA distance table is rebuilt to represent distances between emulated 362 * nodes. The distances are determined considering how emulated nodes 365 * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical 466 * Determine the max emulated nid and the default phys nid to use in numa_emulation() 474 /* Make sure numa_nodes_parsed only contains emulated nodes */ in numa_emulation() [all …]
|
/linux-5.10/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-5.10/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 746 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus() 771 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus() 775 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus() 825 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store() 861 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store() 977 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg() 983 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg() 1005 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg() [all …]
|
/linux-5.10/drivers/pci/controller/ |
D | pcie-iproc.h | 15 * PAXC is the wrapper used in root complex dedicated for internal emulated 59 * @ep_is_internal: indicates an internal emulated endpoint device is connected 62 * enumeration against unconfigured physical functions emulated in the ASIC
|
/linux-5.10/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-5.10/arch/powerpc/kernel/ |
D | uprobes.c | 111 * are emulated in the kernel. We get here only if the emulation in arch_uprobe_post_xol() 166 * See if the instruction can be emulated. 167 * Returns true if instruction was emulated, false otherwise. 174 * emulate_step() returns 1 if the insn was successfully emulated. in arch_uprobe_skip_sstep()
|
/linux-5.10/arch/powerpc/include/asm/ |
D | sstep.h | 143 * Return value is 1 if the instruction can be emulated just by 162 * Returns 1 if the instruction was emulated successfully, 163 * 0 if it could not be emulated, or -1 for an instruction that 164 * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
|
/linux-5.10/arch/x86/kernel/ |
D | umip.c | 44 * not the actual location of the table. The result is emulated as a hard-coded 48 * The instruction SMSW is emulated to return the value that the register CR0 50 * SLDT and STR are emulated to return the values that the kernel programmatically 141 * instruction that can be emulated. 146 * can be emulated. 149 * emulated. 191 * @data_size: Size of the emulated result
|
/linux-5.10/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-5.10/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-5.10/drivers/md/ |
D | dm-ebs-target.c | 21 /* Emulated block size context. */ 30 unsigned int e_bs; /* Emulated block size in sectors exposed to upper layer. */ 237 * Construct an emulated block size mapping: <dev_path> <offset> <ebs> [<ubs>] 241 * <ebs>: emulated block size in units of 512 bytes exposed to the upper layer 276 ti->error = "Invalid emulated block size"; in ebs_ctr() 308 DMINFO("Emulation superfluous: emulated equal to underlying block size"); in ebs_ctr() 470 MODULE_DESCRIPTION(DM_NAME " emulated block size target");
|
/linux-5.10/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-5.10/Documentation/virt/ |
D | ne_overview.rst | 30 There is a NE emulated PCI device exposed to the primary VM. The driver for this 55 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device, 56 while the enclave VM has a virtio-mmio vsock emulated device. The vsock device
|
/linux-5.10/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-5.10/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-5.10/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.
|