| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/arch/powerpc/kvm/ |
| D | emulate.c | 89 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mtspr() local 127 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr() 129 if (emulated == EMULATE_FAIL) in kvmppc_emulate_mtspr() 137 return emulated; in kvmppc_emulate_mtspr() 142 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mfspr() local 188 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr() 190 if (unlikely(emulated == EMULATE_FAIL)) { in kvmppc_emulate_mfspr() 197 if (emulated == EMULATE_DONE) in kvmppc_emulate_mfspr() 201 return emulated; in kvmppc_emulate_mfspr() 210 enum emulation_result emulated; in kvmppc_emulate_instruction() local [all …]
|
| D | book3s_paired_singles.c | 186 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_load() local 202 emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_fpr_load() 207 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_load() 224 return emulated; in kvmppc_emulate_fpr_load() 230 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_store() local 262 emulated = kvmppc_handle_store(run, vcpu, val, len, 1); in kvmppc_emulate_fpr_store() 264 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_store() 270 return emulated; in kvmppc_emulate_fpr_store() 276 int emulated = EMULATE_FAIL; in kvmppc_emulate_psq_load() local 293 emulated = kvmppc_handle_load(run, vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_psq_load() [all …]
|
| D | e500_emulate.c | 92 int emulated = EMULATE_DONE; in kvmppc_e500_emul_ehpriv() local 100 emulated = EMULATE_EXIT_USER; in kvmppc_e500_emul_ehpriv() 104 emulated = EMULATE_FAIL; in kvmppc_e500_emul_ehpriv() 106 return emulated; in kvmppc_e500_emul_ehpriv() 134 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_e500() local 145 emulated = kvmppc_e500_emul_dcbtls(vcpu); in kvmppc_core_emulate_op_e500() 150 emulated = kvmppc_e500_emul_msgsnd(vcpu, rb); in kvmppc_core_emulate_op_e500() 154 emulated = kvmppc_e500_emul_msgclr(vcpu, rb); in kvmppc_core_emulate_op_e500() 159 emulated = kvmppc_e500_emul_tlbre(vcpu); in kvmppc_core_emulate_op_e500() 163 emulated = kvmppc_e500_emul_tlbwe(vcpu); in kvmppc_core_emulate_op_e500() [all …]
|
| D | emulate_loadstore.c | 80 * are not emulated here: multiple and string instructions, 88 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() local 95 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore() 96 if (emulated != EMULATE_DONE) in kvmppc_emulate_loadstore() 97 return emulated; in kvmppc_emulate_loadstore() 118 emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() 129 emulated = kvmppc_handle_loads(run, vcpu, in kvmppc_emulate_loadstore() 132 emulated = kvmppc_handle_load(run, vcpu, in kvmppc_emulate_loadstore() 135 if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) in kvmppc_emulate_loadstore() 149 emulated = kvmppc_handle_loads(run, vcpu, in kvmppc_emulate_loadstore() [all …]
|
| D | book3s_emulate.c | 252 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() local 261 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 273 emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() 303 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 378 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 393 emulated = EMULATE_EXIT_USER; in kvmppc_core_emulate_op_pr() 422 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 433 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 491 emulated = EMULATE_AGAIN; in kvmppc_core_emulate_op_pr() 516 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() [all …]
|
| D | booke_emulate.c | 56 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_op() local 82 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op() 113 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op() 119 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op() 122 return emulated; in kvmppc_booke_emulate_op() 126 * NOTE: some of these registers are not emulated on BOOKE_HV (GS-mode). 133 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mtspr() local 380 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_mtspr() 387 return emulated; in kvmppc_booke_emulate_mtspr() 392 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mfspr() local [all …]
|
| /kernel/linux/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;
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/Documentation/arm/ |
| D | swp_emulation | 9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB 16 Emulated SWP: 12 17 Emulated SWPB: 0
|
| /kernel/linux/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
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/drivers/target/loopback/ |
| D | tcm_loop.c | 4 * for emulated SAS initiator ports 419 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated 777 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus() 802 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus() 806 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus() 856 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store() 892 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store() 1008 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg() 1014 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg() 1036 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg() [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
| D | sstep.h | 133 * Return value is 1 if the instruction can be emulated just by 152 * Returns 1 if the instruction was emulated successfully, 153 * 0 if it could not be emulated, or -1 for an instruction that 154 * should not be emulated (rfid, mtmsrd clearing MSR_RI, etc.).
|
| /kernel/linux/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
|
| /kernel/linux/linux-4.19/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 141 * instruction that can be emulated. 146 * can be emulated. 149 * emulated. 191 * @data_size: Size of the emulated result 253 /* STR and SLDT are not emulated */ in emulate_umip_insn()
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/cirrus/ |
| D | Kconfig | 2 tristate "Cirrus driver for QEMU emulated device" 7 This is a KMS driver for emulated cirrus device in qemu.
|