/linux-6.8/drivers/cpufreq/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 <file:Documentation/admin-guide/pm/cpufreq.rst>. 41 default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if (X86_INTEL_PSTATE || X86_AMD_PSTATE) && SMP 74 depends on !(X86_INTEL_PSTATE && SMP) 79 you to get a full dynamic frequency capable system by simply 80 loading your cpufreq low-level hardware driver. 87 depends on !(X86_INTEL_PSTATE && SMP) 92 you to get a full dynamic frequency capable system by simply 93 loading your cpufreq low-level hardware driver. 100 depends on SMP [all …]
|
D | Kconfig.x86 | 1 # SPDX-License-Identifier: GPL-2.0-only 12 select CPU_FREQ_GOV_SCHEDUTIL if SMP 30 <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>. 33 module will be called pcc-cpufreq. 38 bool "AMD Processor P-State driver" 42 select CPU_FREQ_GOV_SCHEDUTIL if SMP 50 <file:Documentation/admin-guide/pm/amd-pstate.rst>. 55 int "AMD Processor P-State default mode" 60 Select the default mode the amd-pstate driver will use on 63 1 -> Disabled [all …]
|
/linux-6.8/Documentation/devicetree/bindings/sram/ |
D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 19 Following the generic-names recommended practice, node names should 30 - mmio-sram 31 - amlogic,meson-gxbb-sram 32 - arm,juno-sram-ns 33 - atmel,sama5d2-securam [all …]
|
/linux-6.8/arch/parisc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 43 select GENERIC_ARCH_TOPOLOGY if SMP 44 select GENERIC_CPU_DEVICES if !SMP 69 select GENERIC_IRQ_MIGRATION if SMP 70 select HAVE_UNSTABLE_SCHED_CLOCK if SMP 79 select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1) 89 The PA-RISC microprocessor is designed by Hewlett-Packard and used 91 and later HP3000 series). The PA-RISC Linux project home page is 106 depends on SMP && PREEMPTION 134 depends on SMP [all …]
|
/linux-6.8/arch/mips/include/asm/ |
D | timex.h | 17 #include <asm/cpu-features.h> 19 #include <asm/cpu-type.h> 31 * Currently only used on SMP for scheduling. 37 * We know that all SMP capable CPUs have cycle counters. 82 * Like get_cycles - but where c0_count is not available we desperately 96 return (random_get_entropy_fallback() << 6) | (0x3f - c0_random); in random_get_entropy()
|
/linux-6.8/drivers/cpuidle/ |
D | Kconfig.arm | 1 # SPDX-License-Identifier: GPL-2.0-only 13 at run-time through DT nodes. The CPUidle suspend backend is 24 It provides an idle driver that is capable of detecting and 28 - If the idle states are described with the non-hierarchical layout, 31 - If the idle states are described with the hierarchical layout, 56 define different C-states for little and big cores through the 85 bool "Cpu Idle Driver for the ST-E u8500 processors" 88 Select this to enable cpuidle for ST-E u8500 processors. 100 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP 114 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
|
/linux-6.8/arch/arm/mach-omap2/ |
D | omap-smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP4 SMP source file. It contains platform specific functions 4 * needed for the linux smp kernel. 11 * Platform file needed for the OMAP4 SMP. This file is based on arm 12 * realview smp platform. 17 #include <linux/smp.h> 19 #include <linux/irqchip/arm-gic.h> 25 #include "omap-secure.h" 26 #include "omap-wakeupgen.h" 87 * BIT(27) - Disables streaming. All write-allocate lines allocate in in omap5_erratum_workaround_801819() [all …]
|
/linux-6.8/arch/arm/mach-exynos/ |
D | exynos.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2010-2014 Samsung Electronics Co., Ltd. 15 #include <linux/soc/samsung/exynos-regs-pmu.h> 18 #include <asm/hardware/cache-l2x0.h> 33 .id = -1, 52 for_each_compatible_node(node, NULL, "samsung,exynos4210-sysram") { in exynos_sysram_init() 64 for_each_compatible_node(node, NULL, "samsung,exynos4210-sysram-ns") { in exynos_sysram_init() 80 if (!of_flat_dt_is_compatible(node, "samsung,exynos4210-chipid")) in exynos_fdt_map_chipid() 88 iodesc.length = be32_to_cpu(reg[1]) - 1; in exynos_fdt_map_chipid() 110 * Set or clear the USE_DELAYED_RESET_ASSERTION option. Used by smp code [all …]
|
/linux-6.8/arch/xtensa/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 58 Xtensa processors are 32-bit RISC machines designed by Tensilica 63 a home page at <http://www.linux-xtensa.org/>. 102 def_bool $(success,test "$(shell,echo __XTENSA_EB__ | $(CC) -E -P -)" = 1) 108 …def_bool $(success,test "$(shell,echo __XTENSA_CALL0_ABI__ | $(CC) -mabi=call0 -E -P - 2>/dev/null… 117 bool "fsf - default (not generic) configuration" 121 bool "dc232b - Diamond 232L Standard Core Rev.B (LE)" 128 bool "dc233c - Diamond 233L Standard Core Rev.C (LE)" 164 ie: it supports a TLB with auto-loading, page protection. 221 byte and 2-byte access to memory attached to instruction bus. [all …]
|
/linux-6.8/arch/sh/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 81 <http://www.linux-sh.org/>. 95 depends on SMP && PREEMPTION 213 prompt "Processor sub-type selection" 219 # SH-2 Processor Support 230 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 232 # SH-2A Processor Support 278 bool "Support MX-G processor" 282 Select MX-G if running on an R8A03022BG part. 284 # SH-3 Processor Support [all …]
|
/linux-6.8/net/unix/ |
D | scm.c | 1 // SPDX-License-Identifier: GPL-2.0 30 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) { in unix_get_socket() 32 const struct proto_ops *ops = READ_ONCE(sock->ops); in unix_get_socket() 33 struct sock *s = sock->sk; in unix_get_socket() 36 if (s && ops && ops->family == PF_UNIX) in unix_get_socket() 56 if (atomic_long_inc_return(&u->inflight) == 1) { in unix_inflight() 57 BUG_ON(!list_empty(&u->link)); in unix_inflight() 58 list_add_tail(&u->link, &gc_inflight_list); in unix_inflight() 60 BUG_ON(list_empty(&u->link)); in unix_inflight() 65 WRITE_ONCE(user->unix_inflight, user->unix_inflight + 1); in unix_inflight() [all …]
|
/linux-6.8/arch/arm64/kernel/ |
D | hyp-stub.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 35 ventry elx_sync // Synchronous 64-bit EL1 36 ventry el1_irq_invalid // IRQ 64-bit EL1 37 ventry el1_fiq_invalid // FIQ 64-bit EL1 38 ventry el1_error_invalid // Error 64-bit EL1 40 ventry el1_sync_invalid // Synchronous 32-bit EL1 41 ventry el1_irq_invalid // IRQ 32-bit EL1 42 ventry el1_fiq_invalid // FIQ 32-bit EL1 43 ventry el1_error_invalid // Error 32-bit EL1 68 /* Someone called kvm_call_hyp() against the hyp-stub... */ [all …]
|
/linux-6.8/arch/powerpc/kvm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 50 depends on PPC_BOOK3S_32 && !SMP && !PTE_64BIT 120 processor, including emulating 32-bit processors on a 64-bit 146 bool "Detailed timing for hypervisor real-mode code (for POWER8)" 150 Calculate time taken for each vcpu in the real-mode guest entry, 155 kvm/vm#/vcpu#/timings. The overhead is of the order of 30 - 40 165 Old nested HV capable Linux guests have a bug where they don't 166 reflect the PMU in-use status of their L2 guest to the L0 host 173 in all nested-capable guest entry/exit. 182 Calculate elapsed time for every exit/enter cycle. A per-vcpu [all …]
|
/linux-6.8/arch/powerpc/platforms/ |
D | Kconfig.cputype | 1 # SPDX-License-Identifier: GPL-2.0 7 bool "64-bit kernel" 10 This option selects whether a 32-bit or a 64-bit kernel 282 default "-mtune=power10" if $(cc-option,-mtune=power10) 283 default "-mtune=power9" if $(cc-option,-mtune=power9) 284 default "-mtune=power8" if $(cc-option,-mtune=power8) 366 This option enables kernel support for larger than 32-bit physical 371 is platform-dependent. 387 any affect on a non-altivec cpu (it does, however add code to the 403 VSX (P7 and above), but does not have any affect on a non-VSX [all …]
|
/linux-6.8/arch/x86/ |
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-bit kernel only: 53 # ported to 32-bit as well. ) 143 # Word-size accesses may read uninitialized data past the trailing \0 158 select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP 160 select GENERIC_IRQ_MIGRATION if SMP [all …]
|
/linux-6.8/arch/powerpc/include/asm/ |
D | mpic_msgr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright 2011-2012, Meador Inge, Mentor Graphics Corporation. 11 #include <asm/smp.h> 69 * The given 32-bit message is written to the given message 75 out_be32(msgr->base, message); in mpic_msgr_write() 82 * Returns the 32-bit value currently in the given message register. 88 return in_be32(msgr->base); in mpic_msgr_read() 113 out_be32(msgr->base, 1 << get_hard_smp_processor_id(cpu_num)); in mpic_msgr_set_destination() 120 * 0 is returned if this message register is not capable of receiving 126 return msgr->irq; in mpic_msgr_get_irq()
|
/linux-6.8/arch/arm/mach-mstar/ |
D | mstarv7.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * In the u-boot code the area these registers are in is 22 * for both u-boot and linux share calls to "flush the miu pipe". 24 * the state is right before DMA capable devices try to read 85 return -EINVAL; in mstarv7_boot_secondary() 91 return -ENODEV; in mstarv7_boot_secondary() 128 .smp = smp_ops(mstarv7_smp_ops),
|
/linux-6.8/arch/x86/kernel/ |
D | vsmp_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/smp.h> 19 #include <asm/pci-direct.h> 32 /* set vSMP magic bits to indicate vSMP capable kernel */ in set_vsmp_ctl() 58 static int is_vsmp = -1; 75 if (is_vsmp != -1) in is_vsmp_box() 121 maxcpus = (topology & ((1 << node_shift) - 1)) + 1; in vsmp_cap_cpus() 138 apic->phys_pkg_id = apicid_phys_pkg_id; in vsmp_apic_post_init()
|
D | msr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ----------------------------------------------------------------------- * 4 * Copyright 2000-2008 H. Peter Anvin - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 17 * an SMP box will direct the access to CPU %d. 29 #include <linux/smp.h> 63 return -EINVAL; /* Invalid chunk size */ in msr_read() 65 for (; count; count -= 8) { in msr_read() 70 err = -EFAULT; in msr_read() 86 * It's possible to be smarter here and do it (for example) per-MSR, but in filter_write() [all …]
|
/linux-6.8/arch/arm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 61 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 62 select GENERIC_IRQ_IPI if SMP 123 select MMU_GATHER_RCU_TABLE_FREE if SMP && ARM_LPAE 152 The ARM series is a line of low-power-consumption RISC chip designs 154 handhelds such as the Compaq IPAQ. ARM-based PCs are no longer 155 manufactured, but legacy ARM-based PC hardware remains popular in 166 supported in LLD until version 14. The combined range is -/+ 256 MiB, 259 Patch phys-to-virt and virt-to-phys translation functions at 263 This can only be used with non-XIP MMU kernels where the base [all …]
|
/linux-6.8/Documentation/admin-guide/ |
D | tainted-kernels.rst | 2 --------------- 16 ('kernel oops') or a non-recoverable error ('kernel panic') and writes debug 29 Oops: 0002 [#1] SMP PTI 30 CPU: 0 PID: 4424 Comm: insmod Tainted: P W O 4.20.0-0.rc6.fc30 #1 43 a warning occurred (``W``), and an externally-built module was loaded (``O``). 53 decode that number is the script ``tools/debugging/kernel-chktaint``, which your 54 distribution might ship as part of a package called ``linux-tools`` or 55 ``kernel-tools``; if it doesn't you can download the script from 56 …git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/debugging/kernel-chktaint>`_ 57 and execute it with ``sh kernel-chktaint``, which would print something like [all …]
|
/linux-6.8/Documentation/core-api/ |
D | genericirq.rst | 7 :Copyright: |copy| 2005-2010: Thomas Gleixner 8 :Copyright: |copy| 2005-2006: Ingo Molnar 29 __do_IRQ() super-handler, which is able to deal with every type of 36 - Level type 38 - Edge type 40 - Simple type 44 - Fast EOI type 46 In the SMP world of the __do_IRQ() super-handler another type was 49 - Per CPU type 51 This split implementation of high-level IRQ handlers allows us to [all …]
|
/linux-6.8/kernel/time/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 # cycle update - x86/TSC misfeature 33 # Architecture can handle broadcast in a driver-agnostic way 113 will only trigger on an as-needed basis when the system is idle. 122 depends on SMP 139 the expense of some overhead in user <-> kernel transitions: 163 The major pre-requirement for full dynticks to work is to 196 hardware is not capable then this option only increases 207 The default is based on a half-second clocksource watchdog
|
/linux-6.8/arch/alpha/kernel/ |
D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/arch/alpha/kernel/smp.c 5 * 2001-07-09 Phil Ezolt (Phillip.Ezolt@compaq.com) 22 #include <linux/smp.h> 53 /* A collection of per-processor data. */ 77 * per-processor storage. 89 * Ideally sets up per-cpu profiling hooks. Doesn't do much now... 141 /* Call platform-specific callin, if specified */ in smp_callin() 147 current->active_mm = &init_mm; in smp_callin() 167 cpuid, current, current->active_mm)); in smp_callin() [all …]
|
/linux-6.8/arch/powerpc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 def_bool PPC64 && $(cc-option, -mabi=elfv2) 8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed) 11 # Clang has a bug (https://github.com/llvm/llvm-project/issues/62372) 12 # where pcrel code is not generated if -msoft-float, -mno-altivec, or 13 # -mno-vsx options are also given. Without these options, fp/vec 16 def_bool PPC64 && CC_IS_GCC && $(cc-option, -mcpu=power10 -mpcrel) 35 # On Book3S 64, the default virtual address space for 64-bit processes 38 # between bottom-up and top-down allocations for applications that 41 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K) [all …]
|