/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 | ethernet-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml# 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> 14 # The dt-schema tools will generate a select statement first by using 21 pattern: "^ethernet-phy(@[a-f0-9]+)?$" 24 - $nodename [all …]
|
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> 35 if (PTR_ERR(psec) == -ENOENT) in fwnode_find_pse_control() 53 if (err == -ENOENT) in fwnode_find_mii_timestamper() 59 mii_ts = ERR_PTR(-EINVAL); in fwnode_find_mii_timestamper() 80 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register() 81 rc = driver_deferred_probe_check_state(&phy->mdio.dev); in fwnode_mdiobus_phy_device_register() 82 if (rc == -EPROBE_DEFER) in fwnode_mdiobus_phy_device_register() 86 phy->irq = rc; in fwnode_mdiobus_phy_device_register() 87 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 | 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 | 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 | 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/kernel/cpu/ |
H A D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <asm/intel-family.h> 32 * Processors which have self-snooping capability can handle conflicting 40 switch (c->x86_vfm) { in check_memory_type_self_snoop_errata() 72 if (c->x86 != 6) in probe_xeon_phi_r3mwait() 74 switch (c->x86_vfm) { in probe_xeon_phi_r3mwait() 94 * Early microcode releases for the Spectre v2 mitigation were broken. 96 * - https://newsroom.intel.com/wp-content/uploads/sites/11/2018/03/microcode-update-guidance.pdf 97 * - https://kb.vmware.com/s/article/52345 98 * - Microcode revisions observed in the wild [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. ) 159 # 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 285 ARM 64-bit (AArch64) Linux support. 293 # required due to use of the -Zfixed-x18 flag. 296 # -Zsanitizer=shadow-call-stack flag. 306 depends on $(cc-option,-fpatchable-function-entry=2) 332 # VA_BITS - PTDESC_TABLE_SHIFT 410 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 415 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 454 This option adds an alternative code sequence to work around Ampere 465 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 …]
|
/linux/drivers/acpi/x86/ |
H A D | utils.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 18 #include <asm/intel-family.h> 22 * Some ACPI devices are hidden (status == 0x0) in recent BIOS-es because 26 * Some BIOS-es (temporarily) hide specific APCI devices to work around Windows 29 * Likewise sometimes some not-actually present devices are sometimes 32 * We work around this by using the below quirk list to override the status 38 * are re-used on different SoCs for completely different devices. 117 * but it is. In the 67000+ DMI decode dumps from linux-hardware.org 122 * was copy-pasted from the GPD win, so it has a disabled KIOX000A [all …]
|
/linux/Documentation/process/debugging/ |
H A D | kgdb.rst | 15 Kdb is simplistic shell-style interface which you can use on a system 22 kernel built-ins or in kernel modules if the code was built with 40 kgdb I/O modules compiled as built-ins or loadable kernel modules in the 46 - In order to enable compilation of kdb, you must first enable kgdb. 48 - The kgdb test compile options are described in the kgdb test suite 52 ------------------------------ 55 :menuselection:`Kernel hacking --> Kernel debugging` and select 60 will want to turn on ``CONFIG_DEBUG_INFO`` which is called 63 It is advised, but not required, that you turn on the 73 certain regions of the kernel's memory space as read-only. If kgdb [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/arch/alpha/kernel/ |
H A D | core_cia.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * NOTE: Herein lie back-to-back mb instructions. They are magic. 58 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 60 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 70 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 72 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 81 * The function number selects which function of a multi-function device 93 u8 bus = bus_dev->number; in mk_conf_addr() 119 *(vip)CIA_IOC_CIA_ERR; /* re-read to force write */ in conf_read() 173 *(vip)CIA_IOC_CIA_ERR; /* re-read to force write */ in conf_write() [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/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/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 …]
|