/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/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/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/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, 145 bool "Add support for dma-buf grant access device driver extension" 150 dma-buf implementation. With this extension grant references to 151 the pages of an imported dma-buf can be exported for other domain 153 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/arch/arm/mach-omap2/ |
H A D | clkt2xxx_virt_prcm_set.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP2xxx DVFS virtual clock functions 5 * Copyright (C) 2005-2008, 2012 Texas Instruments, Inc. 6 * Copyright (C) 2004-2010 Nokia Corporation 9 * Richard Woodruff <r-woodruff2@ti.com> 30 #include <linux/cpufreq.h> 38 #include "cm-regbits-24xx.h" 48 * sys_ck_rate: the rate of the external high-frequency clock 49 * oscillator on the board. Set by the SoC-specific clock init code. 55 * omap2_table_mpu_recalc - just return the MPU speed [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 155 bool "Symmetric multi-processing support" 161 If you say N here, the kernel will run on uni- and multiprocessor 171 See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO 226 bool "Support for hot-pluggable CPUs" 234 source "drivers/cpufreq/Kconfig" 238 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 243 # MIPS Loongson code, to preserve Loongson-specific code paths in drivers that 274 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x)) 277 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0) 280 def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) || AS_IS_LLVM 283 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0) 286 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0) 289 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0) 292 def_bool $(as-instr,hvcl 0) 304 of page size and page table levels. The size of virtual memory [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 - 2017 Intel Corporation. 30 #define OPTARG_NORMAL (INT_MAX - 1) 31 #define OPTARG_POWER (INT_MAX - 2) 32 #define OPTARG_BALANCE_POWER (INT_MAX - 3) 33 #define OPTARG_BALANCE_PERFORMANCE (INT_MAX - 4) 34 #define OPTARG_PERFORMANCE (INT_MAX - 5) 103 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); in usage() 104 fprintf(stderr, "field: --all | --epb | --hwp-epp | --hwp-min | --hwp-max | --hwp-desired\n"); in usage() [all …]
|
/linux/arch/arm/mach-versatile/ |
H A D | spc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 28 #define SPCLOG "vexpress-spc: " 39 /* SPC wake-up IRQs status and mask */ 46 /* SPC per-CPU mailboxes */ 59 /* A15/A7 OPP virtual register base */ 68 /* wake-up interrupt masks */ 71 /* TC2 static dual-cluster configuration */ 75 * Even though the SPC takes max 3-5 ms to complete any OPP/COMMS 113 return cluster == info->a15_clusid; in cluster_is_a15() [all …]
|
/linux/arch/arm64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 280 ARM 64-bit (AArch64) Linux support. 288 # required due to use of the -Zfixed-x18 flag. 291 # -Zsanitizer=shadow-call-stack flag. 301 depends on $(cc-option,-fpatchable-function-entry=2) 327 # VA_BITS - PAGE_SHIFT - 3 405 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 410 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 460 at stage-2. 468 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce… [all …]
|
/linux/arch/riscv/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 66 # LLD >= 14: https://github.com/llvm/llvm-project/issues/50505 222 # -Zsanitizer=shadow-call-stack flag. 232 depends on $(cc-option,-fpatchable-function-entry=8) 235 def_bool $(cc-option,-fsanitize=shadow-call-stack) 236 …# https://github.com/riscv-non-isa/riscv-elf-psabi-doc/commit/a484e843e6eeb51f0cb7b8819e50da6d2444… 237 depends on $(ld-option,--no-relax-gp) 241 # https://github.com/llvm/llvm-project/commit/6611d58f5bbcbec77262d392e2923e1d680f6985 244 # https://github.com/llvm/llvm-project/commit/bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6 [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 145 bool "Generic board-agnostic MIPS kernel" 287 Build a generic DT-based kernel image that boots on select 288 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 380 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 381 DECstation porting pages on <http://decstation.unix-ag.org/>. 420 Olivetti M700-10 workstations. 457 bool "Loongson 32-bi [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 176 supported in LLD until version 14. The combined range is -/+ 256 MiB, 196 virtual space with just a few allocations. 265 bool "Patch physical to virtual translation [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: 27 # Options that are inherently 64-bi [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" 53 * Buffer used to remap identity mapped pages. We only need the virtual space. 57 #define REMAP_SIZE (P2M_PER_PAGE - 3) 73 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit"); in xen_parse_512gb() 77 arg = strstr(xen_start_info->cmd_line, "xen_512gb_limit="); in xen_parse_512gb() 100 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem() 106 xen_extra_mem[i].n_pfns -= n_pfns; in xen_del_extra_mem() [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 ---------- [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-bit values for conns, packets, bps, cps and pps. 50 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled 51 - kthreads read the cpustats to update the estimators (svcs, dests, total) 52 - the states of estimators can be read (get stats) or modified (zero stats) 56 - estimators are added initially to est_temp_list and later kthread 0 [all …]
|