/linux/drivers/cpufreq/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # CPUfreq core 3 obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o 5 # CPUfreq stats 6 obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o 8 # CPUfreq governors 9 obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o 10 obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o 11 obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o 12 obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 clock speed, you need to either enable a dynamic cpufreq governor 16 <file:Documentation/admin-guide/pm/cpufreq.rst>. 38 prompt "Default CPUFreq governor" 44 This option sets which CPUFreq governor shall be loaded at 51 Use the CPUFreq governor 'performance' as default. This sets 59 Use the CPUFreq governor 'powersave' as default. This sets 67 Use the CPUFreq governor 'userspace' as default. This allows 78 Use the CPUFreq governor 'ondemand' as default. This allows 80 loading your cpufreq low-level hardware driver. [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-system-cpu | 2 Date: pre-git history 3 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 18 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 37 See Documentation/admin-guide/cputopology.rst for more information. 43 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 58 Contact: Linux memory management mailing list <linux-mm@kvack.org> 67 /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2 77 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 89 core_siblings_list: human-readable list of the logical CPU 99 thread_siblings_list: human-readable list of cpuX's hardware [all …]
|
/linux/arch/arm/mach-spear/ |
H A D | spear1310.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-spear13xx/spear1310.c 26 platform_device_register_simple("spear-cpufreq", -1, NULL, 0); in spear1310_dt_init() 31 "st,spear1310-evb", 36 * Following will create 16MB static virtual/physical mappings 37 * PHYSICAL VIRTUAL 42 .virtual = VA_SPEAR1310_RAS_GRP1_BASE,
|
/linux/arch/arm/mach-tegra/ |
H A D | tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 34 #include <asm/hardware/cache-l2x0.h> 37 #include <asm/mach-types.h> 49 * Storage for debug-macro.S's state. 52 * kernel is loaded. The data is declared here rather than debug-macro.S so 53 * that multiple inclusions of debug-macro.S point at the same data. 60 /* Debug UART virtual address */ 92 platform_device_register_simple("tegra20-cpufreq", -1, NULL, 0); in tegra_dt_init_late() 95 platform_device_register_simple("tegra-cpuidle", -1, NULL, 0); in tegra_dt_init_late() [all …]
|
H A D | sleep-tegra30.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <asm/asm-offsets.h> 81 .arch armv7-a 192 * Puts the current CPU in wait-for-event mode on the flow controller 193 * and powergates it -- flags (in R0) indicate the request type. 196 * corrupts r0-r4, r10-r12 210 add r1, r1, r12 @ virtual CSR address for this CPU 212 add r2, r2, r12 @ virtual HALT_EVENTS address for this CPU 293 * CPU power-gating process, to avoid loading from SDRAM which 294 * are not supported once SDRAM is put into self-refresh. [all …]
|
/linux/arch/arm/mach-s5pv210/ |
H A D | s5pv210.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2013-2014 Samsung Electronics Co., Ltd. 17 #include "regs-clock.h" 26 if (!of_flat_dt_is_compatible(node, "samsung,s5pv210-clock")) in s5pv210_fdt_map_sys() 34 iodesc.length = be32_to_cpu(reg[1]) - 1; in s5pv210_fdt_map_sys() 35 iodesc.virtual = (unsigned long)S3C_VA_SYS; in s5pv210_fdt_map_sys() 56 platform_device_register_simple("s5pv210-cpufreq", -1, NULL, 0); in s5pv210_dt_init_late() 66 DT_MACHINE_START(S5PV210_DT, "Samsung S5PC110/S5PV210-based board")
|
/linux/drivers/clk/ |
H A D | clk-scpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 32 return clk->scpi_ops->clk_get_val(clk->id); in scpi_clk_recalc_rate() 52 return clk->scpi_ops->clk_set_val(clk->id, rate); in scpi_clk_set_rate() 66 const struct scpi_opp *opp = clk->info->opps; in __scpi_dvfs_round_rate() 68 for (idx = 0; idx < clk->info->count; idx++, opp++) { in __scpi_dvfs_round_rate() 69 ftmp = opp->freq; in __scpi_dvfs_round_rate() 85 int idx = clk->scpi_ops->dvfs_get_idx(clk->id); in scpi_dvfs_recalc_rate() 91 opp = clk->info->opps + idx; in scpi_dvfs_recalc_rate() 92 return opp->freq; in scpi_dvfs_recalc_rate() [all …]
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 38 For a complete example see "ADD PERF COUNTER EXAMPLE #2 (using virtual "cpu" device)". 39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency [all …]
|
/linux/drivers/xen/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 32 2) control domain: xl mem-max <target-domain> <maxmem> 35 3) control domain: xl mem-set <target-domain> <memory> 51 …SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /… 97 to other virtual machines. 130 virtual environment, /sys/hypervisor will still be present, 146 bool "Add support for dma-buf grant access device driver extension" 151 dma-buf implementation. With this extension grant references to 152 the pages of an imported dma-buf can be exported for other domain 154 converted into a local dma-buf for local export. [all …]
|
H A D | xen-acpi-processor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * https://lore.kernel.org/lkml/1322673664-14642-6-git-send-email-konrad.wilk@oracle.com 15 #include <linux/cpufreq.h> 35 * - as those shrink to nr_cpu_bits (which is dependent on possible_cpu), which 40 /* Mutex to protect the acpi_ids_done - for CPU hotplug use. */ 48 /* Which ACPI P-State dependencies for a enumerated processor */ 56 .u.set_pminfo.id = _pr->acpi_id, in push_cxx_to_hypervisor() 64 dst_cx_states = kcalloc(_pr->power.count, in push_cxx_to_hypervisor() 67 return -ENOMEM; in push_cxx_to_hypervisor() 69 for (ok = 0, i = 1; i <= _pr->power.count; i++) { in push_cxx_to_hypervisor() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * that none of the code has been re-used, it's a complete 17 * re-implementation 21 * controls with a tiny difference. The control-ids of hard-drive-fan 22 * and cpu-fan is swapped. 34 * offset : -19563152 38 * offset : -15650652 44 * offset : -15650652 48 * offset : -19563152 54 * offset : -25431900 [all …]
|
/linux/arch/sparc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "64-bit kernel" if "$(ARCH)" = "sparc" 10 Say yes to build a 64-bit kernel - formerly known as sparc64 11 Say no to build a 32-bit kernel - formerly known as sparc 156 bool "Symmetric multi-processing support" 162 If you say N here, the kernel will run on uni- and multiprocessor 172 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 227 bool "Support for hot-pluggable CPUs" 235 source "drivers/cpufreq/Kconfig" 239 tristate "UltraSPARC-III Memory Controller driver" [all …]
|
/linux/arch/arm/mach-sa1100/ |
H A D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/generic.c 15 #include <linux/dma-mapping.h> 17 #include <linux/cpufreq.h> 23 #include <linux/irqchip/irq-sa11x0.h> 75 * Default power-off for SA1100 83 /* enable wake-up on GPIO0 (Assabet...) */ in sa1100_power_off() 102 /* Use on-chip reset capability */ in sa11x0_restart() 110 dev->dev.platform_data = data; in sa11x0_register_device() 114 dev->name, err); in sa11x0_register_device() [all …]
|
/linux/arch/loongarch/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 250 # MIPS Loongson code, to preserve Loongson-specific code paths in drivers that 281 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x)) 284 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0) 287 def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) || AS_IS_LLVM 290 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0) 293 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0) 296 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0) 299 def_bool $(as-instr,hvcl 0) 302 def_bool $(cc-option,-mannotate-tablejump) [all …]
|
/linux/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * x86_energy_perf_policy -- set the energy versus performance 7 * Copyright (c) 2010 - 2025 Intel Corporation. 30 #define OPTARG_NORMAL (INT_MAX - 1) 31 #define OPTARG_POWER (INT_MAX - 2) 32 #define OPTARG_BALANCE_POWER (INT_MAX - [all...] |
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
/linux/arch/arm64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 287 ARM 64-bit (AArch64) Linux support. 295 # required due to use of the -Zfixed-x18 flag. 298 # -Zsanitizer=shadow-call-stack flag. 308 depends on $(cc-option,-fpatchable-function-entry=2) 334 # VA_BITS - PTDESC_TABLE_SHIFT 412 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 417 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 467 at stage-2. 492 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce… [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | clock_data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/clock_data.c 5 * Copyright (C) 2004 - 2005, 2009-2010 Nokia Corporation 10 * - Clocks that are only available on some chips should be marked with the 18 #include <linux/clk-provider.h> 19 #include <linux/cpufreq.h> 21 #include <linux/soc/ti/omap1-io.h> 23 #include <asm/mach-types.h> /* for machine_is_* */ 32 /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */ 43 /* Some MOD_CONF_CTRL_0 bit shifts - used in struct clk.enable_bit */ [all …]
|
/linux/arch/mips/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 144 bool "Generic board-agnostic MIPS kernel" 286 Build a generic DT-based kernel image that boots on select 287 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 379 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 380 DECstation porting pages on <http://decstation.unix-ag.org/>. 444 Olivetti M700-10 workstations. 481 bool "Loongson 32-bit family of machines" 501 This enables support for the Loongson-1 family of machines. 503 Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by [all …]
|
/linux/arch/arm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 162 The ARM series is a line of low-power-consumption RISC chip designs 164 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer 165 manufactured, but legacy ARM-based PC hardware remains popular in 173 relocations. The combined range is -/+ 256 MiB, which is usually 193 virtual space with just a few allocations. 262 bool "Patch physical to virtual translations at runtime" if !ARCH_MULTIPLATFORM 266 Patch phys-to-virt and virt-to-phys translation functions at 270 This can only be used with non-XIP MMU kernels where the base 316 bool "MMU-based Paged Memory Management Support" [all …]
|
/linux/arch/x86/xen/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/cpufreq.h> 35 #include <xen/hvc-console.h> 36 #include "xen-ops.h" 50 * Buffer used to remap identity mapped pages. We only need the virtual space. 54 #define REMAP_SIZE (P2M_PER_PAGE - 3) 70 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit"); in xen_parse_512gb() 74 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit="); in xen_parse_512gb() 97 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem() 103 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem() [all …]
|
/linux/arch/x86/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 26 # Options that are inherently 64-bit kernel only: 56 # ported to 32-bit as well. ) 158 # Word-size accesses may read uninitialized data past the trailing \0 342 default "elf32-i386" if X86_32 343 default "elf64-x86-64" if X86_64 [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 seconds) for virtual services and real servers. For measure rate in a 36 avgrate = avgrate*(1-W) + rate*W 38 where W = 2^(-2) 44 * Netlink users can see 64-bit values but sockopt users are restricted 45 to 32-bi [all...] |