/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 …]
|
H A D | mdio-bcm-unimac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2014-2017 Broadcom 17 #include <linux/platform_data/mdio-bcm-unimac.h> 50 * peripheral registers for CPU-native byte order. in unimac_mdio_readl() 53 return __raw_readl(priv->base + offset); in unimac_mdio_readl() 55 return readl_relaxed(priv->base + offset); in unimac_mdio_readl() 62 __raw_writel(val, priv->base + offset); in unimac_mdio_writel() 64 writel_relaxed(val, priv->base + offset); in unimac_mdio_writel() 93 struct unimac_mdio_priv *priv = bus->priv; in unimac_mdio_read() 97 ret = clk_prepare_enable(priv->clk); in unimac_mdio_read() [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: 46 We keep the static function tracing (!DYNAMIC_FTRACE) around 49 only need to keep it around for x86_64. No need to keep it 55 # ported to 32-bit as well. ) 154 # 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 279 ARM 64-bit (AArch64) Linux support. 287 # required due to use of the -Zfixed-x18 flag. 290 # -Zsanitizer=shadow-call-stack flag. 300 depends on $(cc-option,-fpatchable-function-entry=2) 326 # VA_BITS - PAGE_SHIFT - 3 404 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n) 409 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2 448 This option adds an alternative code sequence to work around Ampere 459 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/arch/x86/kernel/cpu/ |
H A D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <asm/intel-family.h> 39 * Processors which have self-snooping capability can handle conflicting 47 switch (c->x86_vfm) { in check_memory_type_self_snoop_errata() 79 if (c->x86 != 6) in probe_xeon_phi_r3mwait() 81 switch (c->x86_vfm) { in probe_xeon_phi_r3mwait() 101 * Early microcode releases for the Spectre v2 mitigation were broken. 103 * - https://newsroom.intel.com/wp-content/uploads/sites/11/2018/03/microcode-update-guidance.pdf 104 * - https://kb.vmware.com/s/article/52345 105 * - Microcode revisions observed in the wild [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/arch/arm/mm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 17 A 32-bit RISC microprocessor based on the ARM7 processor core 36 A 32-bit RISC processor with 8kByte Cache, Write Buffer and 37 MMU built around an ARM7TDMI core. 53 A 32-bit RISC processor with 8KB cache or 4KB variants, 54 write buffer and MPU(Protection Unit) built around 69 A 32-bit RISC microprocessor based on the ARM9 processor core 182 ARM940T is a member of the ARM9TDMI family of general- 184 instruction and 4KB data cases, each with a 4-word line 190 # ARM946E-S [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/Documentation/admin-guide/ |
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/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 * +-+-+-+-+- [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 …]
|