/linux/arch/x86/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * (c) 1998-99, 2000, 2009 Ingo Molnar <mingo@redhat.com> 9 * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com> 42 * Pentium, Pentium Pro, II, III (and all CPUs) have bugs. 46 * None of the E1AP-E3AP errata are visible to the user. 53 * None of the A1AP-A3AP errata are visible to the user. 60 * None of 1AP-9AP errata are visible to the normal user, 62 * This is very rare and a non-problem. 64 * 1AP. Linux maps APIC as non-cacheable 65 * 2AP. worked around in hardware [all …]
|
/linux/include/linux/ |
H A D | overflow.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 10 * We need to compute the minimum and maximum values representable in a given 14 * #define type_min(T) (T)(is_signed_type(T) ? (T)1 << (8*sizeof(T)-1) : 0) 15 * #define type_max(T) (T)(is_signed_type(T) ? ((T)1 << (8*sizeof(T)-1)) - 1 : ~(T)0) 18 * undefined behaviour, and at least some versions of gcc warn about 19 * the type_max expression (but not if -fsanitiz [all...] |
H A D | compiler-gcc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 #error "Please do not include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead." 15 * shouldn't recognize the original var, and make assumptions about it. 18 * pointer arithmetic on "objects" outside their boundaries and the 19 * gcc optimizers assume this is the case. In particular they 23 * To work around it we hide the relationship of the pointer and the object 27 * RELOC_HIDE could trash r30. The bug can be worked around by changing 28 * the inline assembly constraint from =g to =r, in this particular 43 * calling noreturn functions, __builtin_unreachable() and __builtin_trap() 44 * confuse the stack allocation in gcc, leading to overly large stack [all …]
|
H A D | timecounter.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 14 #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) 17 * struct cyclecounter - hardware abstraction for a free running counter 18 * Provides completely state-free accessors to the underlying hardware. 20 * around quickly. Locking rules (if necessary) have to be defined 21 * by the implementor and user of specific instances of this API. 25 * subtraction of non-64-bit counters, 38 * struct timecounter - layer above a &struct cyclecounter which counts nanoseconds 40 * cycle counter wrap around. Initialize with 44 * cycle counter hardware, locking issues and reading the time [all …]
|
H A D | ecryptfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * bits from a sysfs handle in order to determine how to behave. */ 27 * in-memory representations are expanded hex, so it better adapted to 28 * be passed around or referenced on the command line */ 49 * For convenience, we may need to pass around the encrypted session 50 * key between kernel and userspace because the authentication token 52 * private key, instead requiring the encrypted data and returning the 75 /* Iterated-hash concatenation of salt and passphrase */ 78 /* Always in expanded hex */ 94 u16 version; /* 8-bit major and 8-bit minor */
|
/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 420 # and this was backported to 10.2.0, 9.4.0, 8.5.0, but not earlier 453 …bool "AmpereOne: AC03_CPU_38: Certain bits in the Virtualization Translation Control Register and … [all …]
|
/linux/Documentation/process/ |
H A D | 6.Followthrough.rst | 6 At this point, you have followed the guidelines given so far and, with the 9 developers can make is to conclude that their work is now done. In truth, 15 and, as a result, is heavily oriented toward the improvement of posted 18 standards. A failure to participate in this process is quite likely to 23 ---------------------- 25 A patch of any significance will result in a number of comments from other 28 process. Life can be made much easier, though, if you keep a few things in 31 - If you have explained your patch well, reviewers will understand its 32 value and why you went to the trouble of writing it. But that value 34 like to maintain a kernel with this code in it five or ten years later? [all …]
|
/linux/arch/powerpc/platforms/8xx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 19 The MPC86xADS is meant to serve as a platform for s/w and h/w 20 development around the MPC86X processor families. 29 The MPC885ADS is meant to serve as a platform for s/w and h/w 30 development around the MPC885 processor family. 33 bool "Embedded Planet EP88xC (a.k.a. CWH-PPC-885XN-VE)" 39 MPC885 Evaluation System and/or the CWH-PPC-885XN-VE. 56 menu "Freescale Ethernet driver platform-specific options" 64 This enables support for second Ethernet on MPC885ADS and MPC86xADS boards. 76 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2 [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | error-codes.rst | 1 .. _usb-error-codes: 6 :Revised: 2004-Oct-21 8 This is the documentation of (hopefully) all possible error codes (and 13 behave the same except for transfer speed dependent behaviors and the 20 Non-USB-specific: 26 ``-ENOMEM`` no memory for allocation of internal structures 29 USB-specific: 32 ``-EBUSY`` The URB is already active. 34 ``-ENODEV`` specified USB-device or bus doesn't exist 36 ``-ENOENT`` specified interface or endpoint does not exist or [all …]
|
/linux/Documentation/timers/ |
H A D | timekeeping.rst | 2 Clock sources, Clock events, sched_clock() and delay timers 6 abstractions. It partly pertains to the drivers usually found in 7 drivers/clocksource in the kernel tree, but the code may be spread out 10 If you grep through the kernel source you will find a number of architecture- 11 specific implementations of clock sources, clockevents and several likewise 12 architecture-specific overrides of the sched_clock() function and some 17 on this timeline, providing facilities such as high-resolution timers. 18 sched_clock() is used for scheduling and timestamping, and delay timers 23 ------------- 26 tells you where you are in time. For example issuing the command 'date' on [all …]
|
/linux/tools/perf/util/ |
H A D | mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * A function-like feature checking macro that is a wrapper around 10 * `__has_attribute`, which is defined by GCC 5+ and Clang and evaluates to a 42 /* Documents functions that acquire a lock in the body of a function, and do not release it. */ 46 * Documents functions that acquire a shared (reader) lock in the body of a 47 * function, and do not release it. 53 * and release it in the body of the function. 57 /* Documents functions that try to acquire a lock, and return success or failure. */ 88 * A wrapper around the mutex implementation that allows perf to error check 95 /* A wrapper around the condition variable implementation. */ [all …]
|
/linux/lib/ |
H A D | Kconfig.ubsan | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Compile-time instrumentation is used to detect various undefined 12 Documentation/dev-tools/ubsan.rst 21 the kernel size by around 5%, due to adding all the debugging 28 trade-off. 32 when a UBSAN violation occurs. (Except on arm64 and x86, which 39 def_bool $(cc-option,-fsanitize=bounds-strict) 41 The -fsanitize=bounds-strict option is only available on GCC, 44 -fsanitize=bounds. 47 def_bool $(cc-option,-fsanitize=array-bounds) [all …]
|
/linux/include/drm/display/ |
H A D | drm_scdc_helper.h | 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 8 * and/or sell copies of the Software, and to permit persons to whom the 11 * The above copyright notice and this permission notice (including the 12 * next paragraph) shall be included in all copies or substantial portions 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * DEALINGS IN THE SOFTWARE. 40 * drm_scdc_readb - read a single byte from SCDC [all …]
|
/linux/arch/xtensa/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 17 Enable this function to disable link-time optimizations. 19 values to reduce code size and remove unnecessary overhead from 20 assembler-generated 'longcall' sequences. 22 code size, and possibly execution time. 25 bool "Perform S32C1I instruction self-test at boot" 40 prints in stack traces. 43 bool "Dump user code around unhandled exception address" 45 Enable this option to display user code around PC of the unhandled 47 This may simplify finding faulting code in the absence of other
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 3 * are the definitions unambiguous and easy to follow? 13 that produce three-dimensional data in relation to the world where it is 18 defined in linear algebra. 22 and thus implying that the component should be mounted in a certain orientation 29 screen and (z) being depth, the axis perpendicular to the screen. 33 and (z) depth to be negative under the screen and positive in front of it, 36 A sensor can be mounted in any angle along the axes relative to the frame of 37 reference. This means that the sensor may be flipped upside-down, left-right, 43 to this world. When using the mounting matrix, the sensor and device orientation [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | mediatek,mt7988-xfi-tphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/mediatek,mt7988-xfi-tphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT7988 XFI T-PHY 10 - Daniel Golle <daniel@makrotopia.org> 13 The MediaTek XFI SerDes T-PHY provides the physical SerDes lanes 14 used by the (10G/5G) USXGMII PCS and (1G/2.5G) LynxI PCS found in 15 MediaTek's 10G-capabale MT7988 SoC. 16 In MediaTek's SDK sources, this unit is referred to as "pextp". [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | mdio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 17 bus. These should follow the generic ethernet-phy.yaml document, or 22 pattern: '^mdio(-(bus|external))?(@.+|-([0-9]+))?$' 24 "#address-cells": 27 "#size-cells": [all …]
|
/linux/Documentation/scsi/ |
H A D | ChangeLog.sym53c8xx | 1 Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr) 2 * version sym53c8xx-1.7.3c 3 - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM. 4 Fix sent by Stig Telfer <stig@api-networks.com>. 5 - Backport from SYM-2 the work-around that allows to support 7 - Check that we received at least 8 bytes of INQUIRY response 9 - Define scsi_set_pci_device() as nil for kernel < 2.4.4. 10 - + A couple of minor changes. 12 Sat Apr 7 19:30 2001 Gerard Roudier (groudier@club-internet.fr) 13 * version sym53c8xx-1.7.3b [all …]
|
H A D | scsi-changer.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 with "Type: Medium Changer" in /proc/scsi/scsi. 11 common small CD-ROM changers, neither one-lun-per-slot SCSI changers 19 ------------------- 23 and one for the device which actually reads and writes the data. The 24 later may be anything, a MOD, a CD-ROM, a tape or whatever. For the 25 changer device this is a "don't care", he *only* shuffles around the 29 The SCSI changer model is complex, compared to - for example - IDE-CD 34 media transport this one shuffles around the media, i.e. the 39 fill in and remove media from the changer. [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | avermedia.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Avermedia DVB-T on BT878 Release Notes 12 broader and updated content about that, please check: 16 The Avermedia DVB-T 19 The Avermedia DVB-T is a budget PCI DVB card. It has 3 inputs: 23 * SVIDEO Input (Mini-DIN) 27 Frontend of the Avermedia DVB-T is a Microtune 7202D. A timely 28 post to the linux-dvb mailing list ascertained that the 30 found in the dvb-hw CVS module. 32 The DVB-T card is based around the BT878 chip which is a very [all …]
|
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 output, vbi capture and output, metadata capture and output, radio receivers and 8 transmitters, touch capture and a software defined radio receiver. In addition a 9 simple framebuffer device is available for testing capture and output overlays. 11 Up to 64 vivid instances can be created, each with up to 16 inputs and 16 outputs. 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 17 These inputs and outputs act exactly as a real hardware device would behave. This 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof [all …]
|
/linux/include/uapi/linux/ |
H A D | taskstats.h | 1 /* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */ 2 /* taskstats.h - exporting per-task statistics 8 * This program is free software; you can redistribute it and/or modify it 12 * This program is distributed in the hope that it would be useful, but 22 /* Format for per-task data returned to userland when 23 * - a task exits 24 * - listener requests stats for a task 33 * c) add new fields after version comment; maintain 64-bit alignment 39 * in linux/sched.h */ 44 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>. [all …]
|
/linux/arch/sh/drivers/pci/ |
H A D | ops-dreamcast.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * someone implicitly messes around with the last devfn value.. otherwise we 23 * only support a single device anyways, and if we didn't have a BBA, we 26 * Also, we could very easily support both Type 0 and Type 1 configurations 27 * here, but since it doesn't seem that there is any such implementation in 30 * I suppose if someone actually gets around to ripping the chip out of 31 * the BBA and hanging some more devices off of it, then this might be 33 * and the general lack of activity by DC hardware hackers, this doesn't seem 42 * We can also actually read and write in b/w/l sizes! Thankfully this part 43 * was at least done right, and we don't have to do the stupid masking and [all …]
|
/linux/arch/arm/crypto/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 14 GCM GHASH function (NIST SP800-38D) 17 - PMULL (Polynomial Multiply Long) instructions 18 - NEON (Advanced SIMD) extensions 19 - ARMv8 Crypto Extensions 34 - NEON (Advanced SIMD) extensions 44 - NEON (Advanced SIMD) extensions 49 much faster than the SHA-2 family and slightly faster than 50 SHA-1. 57 Block ciphers: AES cipher algorithms (FIPS-197) [all …]
|
/linux/tools/testing/selftests/rseq/ |
H A D | compiler.h | 1 /* SPDX-License-Identifier: LGPL-2.1-only OR MIT */ 5 * Work-around asm goto compiler bugs. 7 * (C) Copyright 2021 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 21 * https://github.com/llvm/llvm-project/issues/52735 23 * Work around these issues by adding a volatile inline asm with 24 * memory clobber in the fallthrough after the asm goto and at each 25 * label target. Emit this for all compilers in case other similar 26 * issues are found in the future.
|