/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 12 Add -Werror to the build flags for (and only for) i915.ko. 66 Choose this option to turn on extra driver debugging that may affect 74 bool "Always insert extra checks around mmio access by default" 78 reads) around every mmio (register) access that will slow the system 79 down. This sets the default value of i915.mmio_debug to -1 and can 132 ordinary tests, but may be vital for post-mortem debugging when 146 ordinary tests, but may be vital for post-mortem debugging when 159 Choose this option to turn on extra driver debugging that may affect 171 Choose this option to turn on extra driver debugging that may affect [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/fb/ |
H A D | vesafb.rst | 7 The idea is simple: Turn on graphics mode at boot time with the help 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. 81 "vga=mode-number" you have to transform the numbers to decimal. 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. 92 The X-Server must restore the video mode correctly, else you end up 93 with a broken console (and vesafb cannot do anything about this). [all …]
|
/linux/drivers/net/mdio/ |
H A D | fwnode_mdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/pse-pd/pse.h> 34 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control() 52 if (err == -ENOENT) in fwnode_find_mii_timestamper() 58 mii_ts = ERR_PTR(-EINVAL); in fwnode_find_mii_timestamper() 79 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register() 80 rc = driver_deferred_probe_check_state(&phy->mdio.dev); in fwnode_mdiobus_phy_device_register() 81 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register() 85 phy->irq = rc; in fwnode_mdiobus_phy_device_register() 86 mdio->irq[addr] = rc; in fwnode_mdiobus_phy_device_register() [all …]
|
/linux/Documentation/process/ |
H A D | 4.Coding.rst | 6 While there is much to be said for a solid and community-oriented design 19 --------- 25 :ref:`Documentation/process/coding-style.rst <codingstyle>`. For much of 38 strangely-formatted code. 43 giving up a degree of control in a number of ways - including control over 49 as a way of getting their name into the kernel changelogs - or both. But 59 80-column limit, for example), just do it. 61 Note that you can also use the ``clang-format`` tool to help you with 62 these rules, to quickly re-format parts of your code automatically, 66 See the file :ref:`Documentation/dev-tools/clang-format.rst <clangformat>` [all …]
|
H A D | maintainer-kvm-x86.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 -------- 17 ----- 21 ----- 25 specific tree, ``github.com/kvm-x86/linux.git``. 39 using finer-grained topic branches is to make it easier to keep tabs on an area 42 in-flight commits' SHA1 hashes, and having to reject a pull request due to bugs 46 via a Cthulhu merge on an as-needed basis, i.e. when a topic branch is updated. 61 close around rc5 for new features, and a soft close around rc6 for fixes (for 69 Patches that will be taken through a non-KVM tree (most often through the tip [all …]
|
H A D | applying-patches.rst | 54 in the patch file when applying it (the ``-p1`` argument to ``patch`` does 57 To revert a previously applied patch, use the -R argument to patch. 60 patch -p1 < ../patch-x.y.z 64 patch -R -p1 < ../patch-x.y.z 76 patch -p1 < path/to/patch-x.y.z 82 Patch can also get the name of the file to use via the -i argument, like 85 patch -p1 -i path/to/patch-x.y.z 91 xzcat path/to/patch-x.y.z.xz | patch -p1 92 bzcat path/to/patch-x.y.z.gz | patch -p1 96 gunzip or xz on the file -- like this:: [all …]
|
H A D | 2.Process.rst | 14 --------------- 16 The kernel developers use a loosely time-based release process, with a new 53 be called 5.6-rc1. The -rc1 release is the signal that the time to 63 exception is made for drivers for previously-unsupported hardware; if they 64 touch no in-tree code, they cannot cause regressions and should be safe to 68 time. Linus releases new -rc kernels about once a week; a normal series 69 will get up to somewhere between -rc6 and -rc9 before the kernel is 78 September 30 5.4-rc1, merge window closes 79 October 6 5.4-rc2 80 October 13 5.4-rc3 [all …]
|
H A D | coding-style.rst | 19 -------------- 31 Now, some people will claim that having 8-character indentations makes 33 80-character terminal screen. The answer to that is that if you need 37 In short, 8-char indents make things easier to read, and have the added 43 instead of ``double-indenting`` the ``case`` labels. E.g.: 45 .. code-block:: c 67 .. code-block:: c 74 .. code-block:: c 81 .. code-block:: c 93 used for indentation, and the above example is deliberately broken. [all …]
|
/linux/Documentation/power/ |
H A D | swsusp.rst | 32 power states like "standby", which normally don't turn USB off.) 47 - If you feel ACPI works pretty well on your system, you might try:: 51 - If you would like to write hibernation image to swap and then suspend 56 - If you have SATA disks, you'll need recent kernels with SATA suspend 58 are built into kernel -- not modules. [There's way to make 66 before suspend (it is limited to around 2/5 of available RAM by default). 68 - The resume process checks for the presence of the resume device, 72 - The resume process may be triggered in two ways: 81 read-only) otherwise data may be corrupted. 87 Last revised: 2003-10-20 by Pavel Machek [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-bit kernel only: 49 We keep the static function tracing (!DYNAMIC_FTRACE) around 52 only need to keep it around for x86_64. No need to keep it 58 # ported to 32-bit as well. ) 161 # Word-size accesses may read uninitialized data past the trailing \0 [all …]
|
/linux/arch/arm64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 283 ARM 64-bit (AArch64) Linux support. 291 # required due to use of the -Zfixed-x18 flag. 294 # -Zsanitizer=shadow-call-stack flag. 304 depends on $(cc-option,-fpatchable-function-entry=2) 330 # VA_BITS - PTDESC_TABLE_SHIFT 408 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 413 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 452 This option adds an alternative code sequence to work around Ampere 463 at stage-2. [all …]
|
/linux/drivers/char/agp/ |
H A D | uninorth-agp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 A_SIZE_32(agp_bridge->driver->aperture_sizes); in uninorth_fetch_size() 50 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size() 54 if (i == agp_bridge->driver->num_aperture_sizes) { in uninorth_fetch_size() 55 dev_err(&agp_bridge->dev->dev, "invalid aperture size, " in uninorth_fetch_size() 63 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) in uninorth_fetch_size() 68 agp_bridge->previous_size = in uninorth_fetch_size() 69 agp_bridge->current_size = (void *)(values + i); in uninorth_fetch_size() 70 agp_bridge->aperture_size_idx = i; in uninorth_fetch_size() 80 pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL, in uninorth_tlbflush() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | verify-bugs-and-bisect-regressions.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 9 currently supported by developers -- to then explain how to locate the change 22 read and navigate this document -- especially when you want to look something 26 https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html 32 over to the* ':ref:`step-by-step guide <introguide_bissbs>`' *below. It utilizes 45 *segment 2*. Then you can submit a preliminary report -- or continue with 47 full-fledged regression report. In the following example 6.0.13 is assumed to be 48 the 'working' kernel and 6.1.5 to be the first 'broken', which is why 6.0 55 # * Ensure Secure Boot permits booting self-compiled Linux kernels. 59 git clone -o mainline --no-checkout \ [all …]
|
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
/linux/arch/sparc/mm/ |
H A D | srmmu.c | 1 // SPDX-License-Identifier: GPL-2.0 29 #include <asm/io-unit.h> 75 #define FLUSH_BEGIN(mm) if ((mm)->context != NO_CONTEXT) { 98 #define SRMMU_NOCACHE_BITMAP_SHIFT (PAGE_SHIFT - 4) 109 /* XXX should we hyper_flush_whole_icache here - Anton */ 158 if (size & (minsz - 1)) { in __srmmu_get_nocache() 161 size += minsz - 1; in __srmmu_get_nocache() 168 if (offset == -1) { in __srmmu_get_nocache() 215 if (vaddr & (size - 1)) { in srmmu_free_nocache() 220 offset = (vaddr - SRMMU_NOCACHE_VADDR) >> SRMMU_NOCACHE_BITMAP_SHIFT; in srmmu_free_nocache() [all …]
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-dev-v5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 17 #include "ccp-dev.h" 22 * If no space is available, wait around. 31 if (cmd_q->lsb >= 0) { in ccp_lsb_alloc() 32 start = (u32)bitmap_find_next_zero_area(cmd_q->lsbmap, in ccp_lsb_alloc() 36 bitmap_set(cmd_q->lsbmap, start, count); in ccp_lsb_alloc() 37 return start + cmd_q->lsb * LSB_SIZE; in ccp_lsb_alloc() 42 ccp = cmd_q->ccp; in ccp_lsb_alloc() 44 mutex_lock(&ccp->sb_mutex); in ccp_lsb_alloc() [all …]
|
/linux/include/ufs/ |
H A D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 16 #include <linux/blk-crypto-profile.h> 17 #include <linux/blk-mq.h> 19 #include <linux/fault-inject.h> 23 #include <linux/dma-direction.h> 68 * struct uic_command - UIC command structure 92 /* Host <-> Device UniPro Link state */ 97 UIC_LINK_BROKEN_STATE = 3, /* Link is in broken state */ [all …]
|
/linux/drivers/scsi/isci/ |
H A D | init.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 136 return sysfs_emit(buf, "%d\n", ihost->id); in isci_show_id() 184 /* ata recovery called from ata-eh */ 206 * isci_register_sas_ha() - This method initializes various lldd 219 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha() 223 sas_phys = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() 227 return -ENOMEM; in isci_register_sas_ha() 229 sas_ports = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha() [all …]
|
/linux/sound/pci/ |
H A D | es1968.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Rewritted from card-es1938.c source. 27 * encoding. The codecs are almost always AC-97 compliant codecs, 52 * to have a 512 byte buffer sitting around in wavecache/memory. 73 * the main maestro indirection. Ouch. We spinlock around the actual 79 * We also have an OSS state lock that is thrown around in a few 88 #include <linux/dma-mapping.h> 102 #include <media/drv-intf/tea575x.h> 115 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */ 118 static int total_bufsize[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1024 }; [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. 41 * David Neuer. It's around 8 lines of C code, plus another 4 to 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. [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | tulip_core.c | 1 /* tulip_core.c: A DEC 21x4x-family ethernet driver for Linux. 4 Written/copyright 1994-2001 by Donald Becker. 33 /* A few user-configurable values. */ 39 /* Used to pass the full-duplex flag, etc. */ 47 "10baseT-FDX", "100baseTx-FDX", "100baseT4", "100baseFx", 48 "100baseFx-FDX", "MII 10baseT", "MII 10baseT-FDX", "MII", 49 "10baseT(forced)", "MII 100baseTx", "MII 100baseTx-FDX", "MII 100baseT4", 50 "MII 100baseFx-HDX", "MII 100baseFx-FDX", "Home-PNA 1Mbps", "Invalid-19", 54 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */ 71 Warning: many older 486 systems are broken and require setting 0x00A04800 [all …]
|
/linux/lib/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 50 int "Default console loglevel (1-15)" 60 Note: This does not affect the log level of un-prefixed printk() 65 int "quiet console loglevel (1-15)" 76 int "Default message log level (1-7)" 82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks 118 enabled/disabled based on various levels of scope - per source file, 158 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > 162 nullarbor:~ # echo -n 'file svcsock.c +p' > [all …]
|
/linux/arch/powerpc/sysdev/xive/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 #include <asm/xive-regs.h> 34 #include "xive-internal.h" 40 #define DBG_VERBOSE(fmt, ...) pr_devel("cpu %d - " fmt, \ 73 * Use early_cpu_to_node() for hot-plugged CPUs 85 #define XIVE_INVALID_TARGET (-1) 94 return xd->flags & XIVE_IRQ_FLAG_STORE_EOI && xive_store_eoi; in xive_is_store_eoi() 107 if (!q->qpage) in xive_read_eq() 109 cur = be32_to_cpup(q->qpage + q->idx); in xive_read_eq() 112 if ((cur >> 31) == q->toggle) in xive_read_eq() [all …]
|
/linux/arch/x86/kernel/ |
H A D | apm_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- 4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) 16 * (Thanks to Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>) 43 * 1.1: support user-space standby and suspend, power off after system 46 * is only incorrect by 30-60mS (vs. 1S previously) (Gabor J. Toth 48 * screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4 61 * Only try to turn off the first display device. 63 * <echter@informatik.uni-rostock.de> 109 * <Walter.Hofmann@physik.stud.uni-erlangen.de>). [all …]
|