| /kernel/linux/linux-6.6/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() 199 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 81 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore() 82 if (emulated != EMULATE_DONE) in kvmppc_emulate_loadstore() 83 return emulated; in kvmppc_emulate_loadstore() 94 emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() 107 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore() 110 emulated = kvmppc_handle_load(vcpu, in kvmppc_emulate_loadstore() 113 if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) in kvmppc_emulate_loadstore() 127 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 | 237 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() local 246 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 258 emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() 288 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 363 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 378 emulated = EMULATE_EXIT_USER; in kvmppc_core_emulate_op_pr() 424 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 435 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr() 493 emulated = EMULATE_AGAIN; in kvmppc_core_emulate_op_pr() 518 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-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-6.6/drivers/target/tcm_remote/ |
| D | tcm_remote.c | 113 * Register the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_make_tpg() 120 pr_debug("TCM_Remote_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_remote_make_tpg() 138 * Deregister the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_drop_tpg() 145 pr_debug("TCM_Remote_ConfigFS: Deallocated Emulated %s Target Port %s,t,0x%04x\n", in tcm_remote_drop_tpg() 164 * Determine the emulated Protocol Identifier and Target Port Name in tcm_remote_make_wwn() 186 pr_err("Unable to locate prefix for emulated Target Port: %s\n", in tcm_remote_make_wwn() 195 pr_err("Emulated NAA %s Address: %s, exceeds max: %d\n", in tcm_remote_make_wwn() 202 pr_debug("TCM_Remote_ConfigFS: Allocated emulated Target %s Address: %s\n", in tcm_remote_make_wwn() 215 pr_debug("TCM_Remote_ConfigFS: Deallocating emulated Target %s Address: %s\n", in tcm_remote_drop_wwn()
|
| /kernel/linux/linux-6.6/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-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-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-6.6/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 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 …]
|
| /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-6.6/arch/x86/kvm/ |
| D | kvm_emulate.h | 58 * The emulator assumes that an instruction accesses only one 'emulated memory' 61 * stack operations are assumed never to access emulated memory. The emulator 63 * emulated memory, and assumes that the other operand accesses normal memory. 66 * 1. The emulator isn't very smart about emulated vs. standard memory. 67 * 'Emulated memory' access addresses should be checked for sanity. 107 * read_std: Read bytes of standard (non-emulated/special) memory. 120 * write_std: Write bytes of standard (non-emulated/special) memory. 131 * fetch: Read bytes of standard (non-emulated/special) memory. 142 * read_emulated: Read bytes from emulated/special memory area. 152 * write_emulated: Write bytes to emulated/special memory area. [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/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/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-6.6/drivers/target/loopback/ |
| D | tcm_loop.c | 4 * for emulated SAS initiator ports 401 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated 707 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus() 732 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus() 736 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus() 786 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store() 822 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store() 938 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg() 944 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg() 966 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg() [all …]
|
| /kernel/linux/linux-5.10/drivers/target/loopback/ |
| D | tcm_loop.c | 4 * for emulated SAS initiator ports 405 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated 747 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus() 772 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus() 776 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus() 826 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store() 862 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store() 978 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg() 984 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg() 1006 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg() [all …]
|
| /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-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()
|