Home
last modified time | relevance | path

Searched full:cpucfg (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/arm/sunxi/
Dallwinner,sun6i-a31-cpuconfig.yaml18 - allwinner,sun8i-a83t-cpucfg
19 - allwinner,sun8i-a83t-r-cpucfg
20 - allwinner,sun9i-a80-cpucfg
33 cpucfg@1f01c00 {
/linux-6.12.1/arch/mips/include/asm/mach-loongson64/
Dcpucfg-emul.h33 /* CPUCFG selects 4 and 5 are related to the input clock in loongson3_cpucfg_read_synthesized()
40 /* CPUCFG select 6 is for the undocumented Safe Extension. */ in loongson3_cpucfg_read_synthesized()
43 /* CPUCFG select 7 is for the virtualization extension. in loongson3_cpucfg_read_synthesized()
52 * Return 0 for unrecognized CPUCFG selects, which is real hardware in loongson3_cpucfg_read_synthesized()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_host.h224 /* cpucfg */
225 u32 cpucfg[KVM_MAX_CPUCFG_REGS]; member
247 return arch->cpucfg[2] & CPUCFG2_FP; in kvm_guest_has_fpu()
252 return arch->cpucfg[2] & CPUCFG2_LSX; in kvm_guest_has_lsx()
257 return arch->cpucfg[2] & CPUCFG2_LASX; in kvm_guest_has_lasx()
262 return arch->cpucfg[2] & (CPUCFG2_X86BT | CPUCFG2_ARMBT | CPUCFG2_MIPSBT); in kvm_guest_has_lbt()
267 return arch->cpucfg[6] & CPUCFG6_PMP; in kvm_guest_has_pmu()
272 return (arch->cpucfg[6] & CPUCFG6_PMNUM) >> CPUCFG6_PMNUM_SHIFT; in kvm_get_pmu_num()
Dcpu.h13 * (CPUCFG.00) has the following layout:
75 #define CPU_FEATURE_CPUCFG 0 /* CPU has CPUCFG */
Dloongarch.h15 /* CPUCFG */
58 /* Bit fields for CPUCFG registers */
164 * CPUCFG index area: 0x40000000 -- 0x400000ff
/linux-6.12.1/arch/mips/loongson64/
Dcpucfg-emul.c10 #include <cpucfg-emul.h>
130 /* CPUs with CPUCFG support don't need to synthesize anything. */ in loongson3_cpucfg_synthesize_data()
138 /* Add CPUCFG features non-discoverable otherwise. */ in loongson3_cpucfg_synthesize_data()
206 * not have CPUCFG, so do not emulate anything for these in loongson3_cpucfg_synthesize_data()
223 /* We have usable CPUCFG now, emulated or not. in loongson3_cpucfg_synthesize_data()
224 * Announce CPUCFG availability to userspace via hwcap. in loongson3_cpucfg_synthesize_data()
DMakefile13 obj-$(CONFIG_CPU_LOONGSON3_CPUCFG_EMULATION) += cpucfg-emul.o
/linux-6.12.1/Documentation/devicetree/bindings/arm/freescale/
Dfsl,vf610-mscm-ir.txt13 - fsl,cpucfg: The handle to the MSCM CPU configuration node, required
26 fsl,cpucfg = <&mscm_cpucfg>;
/linux-6.12.1/arch/mips/include/asm/
Dcpu-info.h110 /* CPUCFG data for this CPU, synthesized at probe time.
112 * CPUCFG select 0 is PRId, 4 and above are unimplemented for now.
113 * So the only stored values are for CPUCFG selects 1-3 inclusive.
/linux-6.12.1/tools/perf/arch/loongarch/util/
Dkvm-stat.c38 {LOONGARCH_EXCEPTION_CPUCFG, "CPUCFG" }, \
90 /* CPUCFG inst trap */ in event_gspr_get_key()
/linux-6.12.1/arch/arm/mach-sunxi/
Dmc_smp.c725 "allwinner,sun9i-a80-cpucfg"); in sun9i_a80_get_smp_nodes()
727 pr_err("%s: CPUCFG not available\n", __func__); in sun9i_a80_get_smp_nodes()
751 "allwinner,sun8i-a83t-cpucfg"); in sun8i_a83t_get_smp_nodes()
753 pr_err("%s: CPUCFG not available\n", __func__); in sun8i_a83t_get_smp_nodes()
758 "allwinner,sun8i-a83t-r-cpucfg"); in sun8i_a83t_get_smp_nodes()
844 pr_err("%s: failed to map CPUCFG registers: %d\n", in sunxi_mc_smp_init()
854 pr_err("%s: failed to map R-CPUCFG registers\n", in sunxi_mc_smp_init()
/linux-6.12.1/Documentation/virt/kvm/loongarch/
Dhypercalls.rst16 To determine if the host is running on KVM, we can utilize the cpucfg()
24 On a KVM-virtualized Linux system, a read operation on cpucfg() at index
/linux-6.12.1/arch/loongarch/include/uapi/asm/
Dkvm_para.h8 * CPUCFG index area: 0x40000000 -- 0x400000ff
/linux-6.12.1/drivers/irqchip/
Dirq-vf610-mscm-ir.c202 mscm_cp_regmap = syscon_regmap_lookup_by_phandle(node, "fsl,cpucfg"); in vf610_mscm_ir_of_init()
205 pr_err("vf610_mscm_ir: regmap lookup for cpucfg failed\n"); in vf610_mscm_ir_of_init()
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_probe.c37 __asm__ volatile("cpucfg %0, %1\n\t" in loongson_cpu_get_prid()
/linux-6.12.1/arch/loongarch/kvm/
Dexit.c39 * Return value is 0 for undefined CPUCFG index in kvm_emu_cpucfg()
46 vcpu->arch.gprs[rd] = vcpu->arch.cpucfg[index]; in kvm_emu_cpucfg()
49 /* CPUCFG emulation between 0x40000000 -- 0x400000ff */ in kvm_emu_cpucfg()
274 case 0x0: /* CPUCFG GSPR */ in kvm_trap_handle_gspr()
323 * 1) Execute CPUCFG instruction;
Dvcpu.c669 * CPUCFG bits should be zero if reserved by HW or not in _kvm_get_cpucfg_mask()
718 * Values for the other CPUCFG IDs are not being further validated in kvm_check_cpucfg()
739 *v = vcpu->arch.cpucfg[id]; in kvm_get_one_reg()
828 vcpu->arch.cpucfg[id] = (u32)v; in kvm_set_one_reg()
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dsyscon.yaml68 - fsl,vf610-mscm-cpucfg
165 - fsl,vf610-mscm-cpucfg
/linux-6.12.1/arch/arm/mach-imx/
Dmach-vf610.c27 np = of_find_compatible_node(NULL, NULL, "fsl,vf610-mscm-cpucfg"); in vf610_detect_cpu()
/linux-6.12.1/arch/arm/boot/dts/nxp/vf/
Dvfxxx.dtsi69 mscm_cpucfg: cpucfg@40001000 {
70 compatible = "fsl,vf610-mscm-cpucfg", "syscon";
77 fsl,cpucfg = <&mscm_cpucfg>;
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun20i-d1-r.c64 static SUNXI_CCU_GATE_HWS(bus_r_cpucfg_clk, "bus-r-cpucfg", &r_apb0_hw,
/linux-6.12.1/arch/loongarch/kernel/
Dproc.c77 if (cpu_has_cpucfg) seq_printf(m, " cpucfg"); in show_cpuinfo()
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun8i-a83t.dtsi400 cpucfg@1700000 {
401 compatible = "allwinner,sun8i-a83t-cpucfg";
1130 cpucfg@1f01c00 {
1131 compatible = "allwinner,sun8i-a83t-r-cpucfg";
/linux-6.12.1/Documentation/translations/zh_TW/arch/loongarch/
Dintroduction.rst248 SYSCALL BREAK CPUCFG NOP IDLE ERTN(ERET) DBCL(DBGCALL) RDTIMEL.W RDTIMEH.W RDTIME.D
/linux-6.12.1/Documentation/translations/zh_CN/arch/loongarch/
Dintroduction.rst248 SYSCALL BREAK CPUCFG NOP IDLE ERTN(ERET) DBCL(DBGCALL) RDTIMEL.W RDTIMEH.W RDTIME.D

12