/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> 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 68 * 4AP. worked around in hardware 71 * 6AP. 'noapic' mode might be affected - fixed in later steppings [all …]
|
/linux/Documentation/process/ |
H A D | 6.Followthrough.rst | 9 developers can make is to conclude that their work is now done. In truth, 11 with, possibly, quite a bit of work yet to be done. 16 code. You, as the author of that code, will be expected to work with the 23 ---------------------- 31 - If you have explained your patch well, reviewers will understand its 35 Many of the changes you may be asked to make - from coding style tweaks 36 to substantial rewrites - come from the understanding that Linux will 37 still be around and under development a decade from now. 39 - Code review is hard work, and it is a relatively thankless occupation; 47 - Similarly, code reviewers are not trying to promote their employers' [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 304 bool "Enable linker work around for PPC476FPE errata #46" 306 This option enables a work around for an icache bug on 476 309 of binutils which supports the --ppc476-workaround option. 311 The work around enables the appropriate linker options and 313 page boundaries. The work around is only required when
|
/linux/Documentation/driver-api/driver-model/ |
H A D | design-patterns.rst | 35 return -ENOMEM; 36 spin_lock_init(&foo->lock); 43 state around to all functions that need access to the state and its members. 46 pass around a pointer to struct foo like this:: 69 Continuing on the above example we add an offloaded work:: 78 static void foo_work(struct work_struct *work) 80 struct foo *foo = container_of(work, struct foo, offload); 89 queue_work(foo->wq, &foo->offload); 97 foo->wq = create_singlethread_workqueue("foo-wq"); 98 INIT_WORK(&foo->offload, foo_work); [all …]
|
/linux/Documentation/scsi/ |
H A D | scsi-changer.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 This is for *real* Jukeboxes. It is *not* supported to work with 11 common small CD-ROM changers, neither one-lun-per-slot SCSI changers 19 ------------------- 21 First some words about how changers work: A changer has 2 (possibly 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 42 CD-ROM / Tape / whatever drive. [all …]
|
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 …]
|
/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
|
/linux/arch/powerpc/platforms/8xx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 20 development around the MPC86X processor families. 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" 76 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2 77 (often 2-nd UART) will not work if this is enabled. 83 Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1 84 (often 1-nd UART) will not work if this is enabled. [all …]
|
/linux/include/linux/ |
H A D | compiler-gcc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead." 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 51 * Adding an empty inline assembly before it works around the problem 80 #define __noscs __attribute__((__no_sanitize__("shadow-call-stack"))) 146 * Prior to 9.1, -Wno-alloc-size-larger-than (and therefore the "alloc_size" 147 * attribute) do not work, and must be disabled.
|
H A D | posix-timers_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 37 * posix_cputimer_base - Container per posix CPU clock 38 * @nextevt: Earliest-expiration cache 47 * posix_cputimers - Container for posix CPU timer related data 63 * posix_cputimers_work - Container for task work based posix CPU timer expiry 64 * @work: The task work to be scheduled 65 * @mutex: Mutex held around expiry in context of this task work 66 * @scheduled: @work has been scheduled already, no further processing 69 struct callback_head work; member
|
/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 15 MediaTek's 10G-capabale MT7988 SoC. 20 const: mediatek,mt7988-xfi-tphy 27 - description: XFI PHY clock [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_vm_doc.h | 1 /* SPDX-License-Identifier: MIT */ 19 * ------------ 33 * ---------- 35 * DRM_XE_VM_BIND_OP_MAP - Create mapping for a BO 36 * DRM_XE_VM_BIND_OP_UNMAP - Destroy mapping for a BO / userptr 37 * DRM_XE_VM_BIND_OP_MAP_USERPTR - Create mapping for userptr 54 * .. code-block:: 56 * bind BO0 0x0-0x1000 62 * bind BO1 0x201000-0x202000 66 * bind BO2 0x1ff000-0x201000 [all …]
|
/linux/arch/arm/mach-lpc32xx/ |
H A D | serial.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/arm/mach-lpc32xx/serial.c 18 #include <linux/soc/nxp/lpc32xx-misc.h> 109 /* pre-UART clock divider set to 1 */ in lpc32xx_serial_init() 113 * Force a flush of the RX FIFOs to work around a in lpc32xx_serial_init() 120 while (j--) in lpc32xx_serial_init() 129 /* Force a flush of the RX FIFOs to work around a HW bug */ in lpc32xx_serial_init() 134 while (j--) in lpc32xx_serial_init() 144 /* Disable UART5->USB transparent mode or USB won't work */ in lpc32xx_serial_init()
|
/linux/Documentation/fb/ |
H A D | vesafb.rst | 13 impossible; BIOS calls work in real mode only. VESA BIOS Extensions 20 * You can run XF68_FBDev on top of /dev/fb0 (=> non-accelerated X11 22 * Most important: boot logo :-) 33 Documentation/admin-guide/svga.rst for details. 74 If this does not work, this might be because your BIOS does not support 81 "vga=mode-number" you have to transform the numbers to decimal. 82 2. Note: Some newer versions of LILO appear to work with those hex values, 88 XF68_FBDev should work just fine, but it is non-accelerated. Running 89 another (accelerated) X-Server like XF86_SVGA might or might not work. 90 It depends on X-Server and graphics board. [all …]
|
/linux/Documentation/core-api/ |
H A D | workqueue.rst | 17 When such an asynchronous execution context is needed, a work item 22 While there are work items on the workqueue the worker executes the 23 functions associated with the work items one after the other. When 24 there is no work item left on the workqueue the worker becomes idle. 25 When a new work item gets queued, the worker begins executing again. 33 thread system-wide. A single MT wq needed to keep around the same 43 while an ST wq one for the whole system. Work items had to compete for 45 including proneness to deadlocks around the single execution context. 60 * Use per-CPU unified worker pools shared by all wq to provide 72 abstraction, the work item, is introduced. [all …]
|
/linux/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | kernel-entry-init.h | 6 * Copyright (C) 2005-2008 Cavium Networks, Inc 48 xor t1, t1, 0x9000 # 63-P1 51 xor t1, t1, 0x9008 # 63-P2 54 xor t1, t1, 0x9100 # 68-P1 57 xor t1, t1, 0x9200 # 66-PX 60 slti t1, t1, 2 # 66-P1.2 and later good. 63 4: # core-16057 work around 66 5: # No core-16057 work around 77 sd $0, -32768(v0)
|
/linux/Documentation/sphinx/ |
H A D | automarkup.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # Apply kernel-specific tweaks after the initial document processing 29 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3) 34 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)', 41 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 42 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 43 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 44 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 50 RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)') 55 # Reserved C words that we should skip when cross-referencing [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
/linux/Documentation/doc-guide/ |
H A D | contributing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Documentation is an important part of any software-development project. 8 developers work more effectively. Without top-quality documentation, a lot 9 of time is wasted in reverse-engineering the code and making avoidable 23 --------------------------- 35 people ignore them, and they will never notice when their work adds new 36 ones. For this reason, eliminating warnings is one of the highest-priority 59 - Resource-managed devfreq_register_notifier() 61 - Resource-managed devfreq_unregister_notifier() 70 - Resource-managed devfreq_register_notifier() [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | renesas,sh-msiof.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/renesas,sh-msiof.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 13 - $ref: spi-controller.yaml# 18 - items: 19 - const: renesas,msiof-sh73a0 # SH-Mobile AG5 20 - const: renesas,sh-mobile-msiof # generic SH-Mobile compatible 22 - items: [all …]
|
/linux/arch/m68k/mm/ |
H A D | memory.c | 1 // SPDX-License-Identifier: GPL-2.0 34 /* invalidate page in i-cache */ 71 * 040: Hit every page containing an address in the range paddr..paddr+len-1. 106 * is not page-aligned. Page align the addresses to work in cache_clear() 107 * around bug I17 in the 68060. in cache_clear() 109 if ((tmp = -paddr & (PAGE_SIZE - 1))) { in cache_clear() 111 if ((len -= tmp) <= 0) in cache_clear() 117 while ((len -= tmp) >= 0) { in cache_clear() 158 len += paddr & (PAGE_SIZE - 1); in cache_push() 161 * Work around bug I17 in the 68060 affecting some instruction in cache_push() [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/scripts/ |
H A D | extract-ikconfig | 2 # ---------------------------------------------------------------------- 3 # extract-ikconfig - Extract the .config file from a kernel image 5 # This will only work when the kernel was compiled with CONFIG_IKCONFIG. 7 # The obscure use of the "tr" filter is to work around older versions of 12 # ---------------------------------------------------------------------- 19 if pos=`tr "$cf1\n$cf2" "\n$cf2=" < "$1" | grep -abo "^$cf2"` 22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null 33 for pos in `tr "$1\n$2" "\n$2=" < "$img" | grep -abo "^$2"` 36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null 44 if [ $# -ne 1 -o ! -s "$img" ] [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #define TSC_OFFSET_L2 ((uint64_t) -33125236320908) 42 thresh_low = expected - tolerance; in compare_tsc_freq() 69 tsc_freq = tsc_end - tsc_start; in check_tsc_freq() 140 * variable does not work. in main() 151 l0_tsc_freq = tsc_end - tsc_start; in main() 152 printf("real TSC frequency is around: %"PRIu64"\n", l0_tsc_freq); in main() 159 TEST_ASSERT(tsc_khz != -1, "vcpu ioctl KVM_GET_TSC_KHZ failed"); in main() 180 printf("L1's TSC frequency is around: %"PRIu64 in main() 188 printf("L2's TSC frequency is around: %"PRIu64 in main()
|
/linux/Documentation/driver-api/usb/ |
H A D | persist.rst | 1 .. _usb-persist: 14 bus must continue to supply suspend current (around 1-5 mA). This 16 detect connect-change events (devices being plugged in or unplugged). 35 system woke up, who cares? It'll still work the same when you type on 38 Unfortunately problems _can_ arise, particularly with mass-storage 41 filesystem on the device, you're out of luck -- everything in that 57 suspend-to-RAM. On almost all systems, no suspend current is 58 available during hibernation (also known as swsusp or suspend-to-disk). 65 suspended -- but it will crash as soon as it wakes up, which isn't 72 The kernel includes a feature called USB-persist. It tries to work [all …]
|