/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/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/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/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/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 …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli4.h | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2009-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 24 #include <linux/cpufreq.h> 45 /* Multi-queue arrangement for FCP EQ/CQ/WQ tuples */ 84 ((fc_hdr)->fh_s_id[0] << 16 | \ 85 (fc_hdr)->fh_s_id[1] << 8 | \ 86 (fc_hdr)->fh_s_id[2]) 89 ((fc_hdr)->fh_d_id[0] << 16 | \ 90 (fc_hdr)->fh_d_id[1] << 8 | \ [all …]
|
/linux/Documentation/RCU/ |
H A D | RTFP.txt | 4 This document describes RCU-related publications, and is followed by 19 with short-lived threads, such as the K42 research operating system. 20 However, Linux has long-lived tasks, so more is needed. 23 serialization, which is an RCU-like mechanism that relies on the presence 27 that these overheads were not so expensive in the mid-80s. Nonetheless, 28 passive serialization appears to be the first deferred-destruction 30 has lapsed, so this approach may be used in non-GPL software, if desired. 34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a]. 36 this paper helped inspire the update-side batching used in the later 38 a description of Argus that noted that use of out-of-date values can [all …]
|
/linux/drivers/pmdomain/qcom/ |
H A D | cpr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 27 #include <linux/nvmem-consumer.h> 29 /* Register Offsets for RB-CPR and Bit Definitions */ 125 #define FUSE_REVISION_UNKNOWN (-1) 254 return !drv->loop_disabled; in cpr_is_allowed() 259 writel_relaxed(value, drv->base + offset); in cpr_write() 264 return readl_relaxed(drv->base + offset); in cpr_read() 272 val = readl_relaxed(drv->base + offset); in cpr_masked_write() 275 writel_relaxed(val, drv->base + offset); in cpr_masked_write() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | sa1100fb.c | 16 * linux-arm-kernel@lists.arm.linux.org.uk 26 * - With the Neponset plugged into an Assabet, LCD powerdown 29 * - We don't limit the CPU clock rate nor the mode selection 33 * - Linear grayscale palettes and the kernel. 44 * - The following must never be specified in a panel definition: 47 * - The following should be specified: 57 * - Driver appears to be working for Brutus 320x200x8bpp mode. Other 66 * - FrameBuffer memory is now allocated at run-time when the 70 * - Big cleanup for dynamic selection of machine type at run time. 73 * - Support for Bitsy aka Compaq iPAQ H3600 added. [all …]
|
/linux/drivers/tty/serial/ |
H A D | samsung_tty.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Ben Dooks, Copyright (c) 2003-2008 Simtec Electronics 21 * BJD, 04-Nov-2004 26 #include <linux/cpufreq.h> 28 #include <linux/dma-mapping.h> 165 #define portaddr(port, reg) ((port)->membase + (reg)) 167 ((unsigned long *)(unsigned long)((port)->membase + (reg))) 171 switch (port->iotype) { in rd_reg() 186 switch (port->iotype) { in wr_reg() 198 /* Byte-order aware bit setting/clearing functions. */ [all …]
|