/linux/Documentation/security/tpm/ |
H A D | tpm-security.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 12 ------------ 22 ----------------------------------------------- 25 interposer which is a simple external device that can be installed in 34 try to insure that if we can't prevent the attack then at least we can 38 reset capability can be controlled by an attacker who has access to 42 --------------------------- 44 Since the attacker can send their own commands to the TPM, they can 60 The first can be thwarted by always doing HMAC protection of the PCR 63 response. However, the second can only really be detected by relying [all …]
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | mpo-overview.rst | 6 'Documentation/gpu/amdgpu/display/dcn-overview.rst'. 10 fixed-function hardware in the display controller rather than using graphics or 11 compute shaders for composition. This can yield some power savings if it means 12 the graphics/compute pipelines can be put into low-power states. In summary, 13 MPO can bring the following benefits: 15 * Decreased GPU and CPU workload - no composition shaders needed, no extra 16 buffer copy needed, GPU can remain idle. 17 * Plane independent page flips - No need to be tied to global compositor 18 page-flip present rate, reduced latency, independent timing. 20 .. note:: Keep in mind that MPO is all about power-saving; if you want to learn [all …]
|
/linux/Documentation/virt/ |
H A D | ne_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 can be separated from other applications running in the same VM. This 16 application then runs in a separate VM than the primary VM, namely an enclave. 24 carved out of the primary VM. Each enclave is mapped to a process running in the 25 primary VM, that communicates with the NE kernel driver via an ioctl interface. 29 1. An enclave abstraction process - a user space process running in the primary 33 There is a NE emulated PCI device exposed to the primary VM. The driver for this 39 hypervisor running on the host where the primary VM is running. The Nitro 42 2. The enclave itself - a VM running on the same host as the primary VM that 43 spawned it. Memory and CPUs are carved out of the primary VM and are dedicated [all …]
|
/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 39 …machine, however, internal resource limitations within the virtual machine can cause CCB submissio… 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync 81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility [all …]
|
H A D | oracle-dax.rst | 7 as well as physical memory. It can perform several operations on data 25 the accompanying document, dax-hv-api.txt, which is a plain text 27 Specification" version 3.0.20+15, dated 2017-09-25. 64 domain (LDOM) can have a partition of physical memory that is isolated 69 The DAX coprocessor can only operate on physical memory, so before a 70 request can be fed to the coprocessor, all the addresses in a CCB must 86 made accessible via mmap(), and are read-only for the application. 105 name can be used to determine what the platform supports. 109 equal to the number of bytes given in the call. Otherwise -1 is 113 ----------- [all …]
|
/linux/drivers/mfd/ |
H A D | wm831x-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs 26 int primary; member 33 .primary = WM831X_TEMP_INT, 38 .primary = WM831X_GP_INT, 43 .primary = WM831X_GP_INT, 48 .primary = WM831X_GP_INT, 53 .primary = WM831X_GP_INT, 58 .primary = WM831X_GP_INT, 63 .primary = WM831X_GP_INT, [all …]
|
H A D | wm8350-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8350-irq.c -- IRQ support for Wolfson WM8350 35 int primary; member 43 .primary = WM8350_OC_INT, 49 .primary = WM8350_UV_INT, 54 .primary = WM8350_UV_INT, 59 .primary = WM8350_UV_INT, 64 .primary = WM8350_UV_INT, 69 .primary = WM8350_UV_INT, 74 .primary = WM8350_UV_INT, [all …]
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_ras.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #define SRR1_MC_LDSTERR (1ul << (63-42)) 22 #define SRR1_MC_IFETCH_SH (63-45) 25 #define SRR1_MC_IFETCH_SLBMULTI 3 /* SLB multi-hit */ 26 #define SRR1_MC_IFETCH_SLBPARMULTI 4 /* SLB parity + multi-hit */ 27 #define SRR1_MC_IFETCH_TLBMULTI 5 /* I-TLB multi-hit */ 30 #define DSISR_MC_DERAT_MULTI 0x800 /* D-ERAT multi-hit */ 31 #define DSISR_MC_TLB_MULTI 0x400 /* D-TLB multi-hit */ 33 #define DSISR_MC_SLB_MULTI 0x080 /* SLB multi-hit */ 34 #define DSISR_MC_SLB_PARMULTI 0x040 /* SLB parity + multi-hit */ [all …]
|
/linux/drivers/block/drbd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 19 DRBD is a shared-nothing, synchronously replicated block device. It 21 clusters and in this context, is a "drop-in" replacement for shared 24 Each minor device has a role, which can be 'primary' or 'secondary'. 25 On the node with the primary device the application is supposed to 31 DRBD can also be used in dual-Primary mode (device writable on both 32 nodes), which means it can exhibit shared disk semantics in a 33 shared-nothing cluster. Needless to say, on top of dual-Primary 38 See also: https://www.drbd.org/, http://www.linux-ha.org
|
H A D | drbd_strings.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 45 [R_PRIMARY] = "Primary", 63 [-SS_TWO_PRIMARIES] = "Multiple primaries not allowed by config", 64 [-SS_NO_UP_TO_DATE_DISK] = "Need access to UpToDate data", 65 [-SS_NO_LOCAL_DISK] = "Can not resync without local disk", 66 [-SS_NO_REMOTE_DISK] = "Can not resync without remote disk", 67 [-SS_CONNECTED_OUTDATES] = "Refusing to be Outdated while Connected", [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-tuner.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes 52 Since this is a write-only ioctl, it does not return the actually 68 .. flat-table:: struct v4l2_tuner 69 :header-rows: 0 70 :stub-columns: 0 72 * - __u32 73 - ``index`` 74 - :cspan:`1` Identifies the tuner, set by the application. 75 * - __u8 [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | msi-pic.txt | 4 - compatible : compatible list, may contain one or two entries 5 The first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572, 6 etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" or 7 "fsl,mpic-msi-v4.3" depending on the parent type and version. If mpic 9 provided to access these 16 registers, and compatible "fsl,mpic-msi-v4.3" 13 - reg : It may contain one or two regions. The first region should contain 19 - interrupts : each one of the interrupts here is one entry per 32 MSIs, 21 be set as edge sensitive. If msi-available-ranges is present, only 25 - msi-available-ranges: use <start count> style section to define which 26 msi interrupt can be used in the 256 msi interrupts. This property is [all …]
|
/linux/include/drm/ |
H A D | drm_file.h | 4 * Copyright (c) 2009-2010, Code Aurora Forum. 69 * struct drm_minor - DRM device minor structure 74 * &struct drm_device, which is also where driver-private data and resources can 89 * struct drm_pending_event - Event queued up for userspace to read 91 * This represents a DRM event. Drivers can use this as a generic completion 92 * mechanism, which supports kernel-internal &struct completion, &struct dma_fence 93 * and also the DRM-specific &struct drm_event delivery mechanism. 118 * read using drm_read(). Can be optional, since nowadays events are 143 * Double-linked list to keep track of this event. Can be used by the 145 * this list entry is owned by the core for its own book-keeping. [all …]
|
H A D | drm_crtc.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 67 * struct drm_crtc_state - mutable CRTC state 100 * commit. They can consult it to aid in the computation of derived 119 * require a full modeset. They can also reset it to false if e.g. a 120 * @mode change can be done without a full modeset by only changing 138 * Drivers are supposed to set this as-needed from their own atomic 212 * Internal display timings which can be used by the driver to handle 235 * built-in panel), this mode here should match the physical mode on the 298 * hardware capabiltiy - lacking support is not treated as failure. [all …]
|
/linux/drivers/video/console/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 The program SVGATextMode can be used to utilize SVGA video cards to 28 tristate "MDA text console (dual-headed)" 33 say Y here if your MDA card is the primary card in your system; the 59 On PA-RISC, the default value is 160, which should fit a 1280x1024 70 On PA-RISC, the default value is 64, which should fit a 1280x1024 82 Low-level framebuffer-based console driver. 90 This option enables the fbcon (framebuffer text-based) hardware 94 On modern machines, on mainstream machines (like x86-64) or when 105 bool "Map the console to the primary display device" [all …]
|
/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_output.c | 1 // SPDX-License-Identifier: GPL-2.0+ 37 struct vkms_output *output = &vkmsdev->output; in vkms_output_init() 38 struct drm_device *dev = &vkmsdev->drm; in vkms_output_init() 39 struct drm_connector *connector = &output->connector; in vkms_output_init() 40 struct drm_encoder *encoder = &output->encoder; in vkms_output_init() 41 struct drm_crtc *crtc = &output->crtc; in vkms_output_init() 42 struct vkms_plane *primary, *overlay, *cursor = NULL; in vkms_output_init() local 48 * Initialize used plane. One primary plane is required to perform the composition. in vkms_output_init() 50 * The overlay and cursor planes are not mandatory, but can be used to perform complex in vkms_output_init() 53 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY); in vkms_output_init() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_crtc.c | 2 * Copyright (c) 2006-2008 Intel Corporation 36 #include <linux/dma-fence.h> 77 * drm_crtc_from_index - find the registered CRTC at an index 92 if (idx == crtc->index) in drm_crtc_from_index() 105 WARN_ON(drm_drv_uses_atomic_modeset(crtc->dev)); in drm_crtc_force_disable() 118 if (crtc->funcs->late_register) in drm_crtc_register_all() 119 ret = crtc->funcs->late_register(crtc); in drm_crtc_register_all() 132 if (crtc->funcs->early_unregister) in drm_crtc_unregister_all() 133 crtc->funcs->early_unregister(crtc); in drm_crtc_unregister_all() 141 spin_lock_init(&crtc->crc.lock); in drm_crtc_crc_init() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 12 dev_info((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__) 14 dev_warn((__dev)->device, "Socket-Direct: " format, ##__VA_ARGS__) 21 bool primary; member 23 struct { /* primary */ 24 struct mlx5_core_dev *secondaries[MLX5_SD_MAX_GROUP_SZ - 1]; 41 return sd->host_buses; in mlx5_sd_get_host_buses() 51 return sd->primary ? dev : sd->primary_dev; in mlx5_sd_get_primary() 55 mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx) in mlx5_sd_primary_get_peer() argument 60 return primary; in mlx5_sd_primary_get_peer() [all …]
|
/linux/Documentation/PCI/endpoint/ |
H A D | pci-ntb-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide 9 This document is a guide to help users use pci-epf-ntb function driver 13 Documentation/PCI/endpoint/pci-ntb-function.rst 19 --------------------------- 27 2900000.pcie-ep 2910000.pcie-ep 32 2900000.pcie-ep 2910000.pcie-ep 36 ------------------------- 40 # ls /sys/bus/pci-epf/drivers 49 Creating pci-epf-ntb Device [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | associativity.rst | 9 are represented as being members of a sub-grouping domain. This performance 17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property". 18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1. 20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used. 23 ------ 27 ------ 28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity 34 The “ibm,associativity-reference-points” property contains a list of one or more numbers 39 { primary domainID index, secondary domainID index, tertiary domainID index.. } 41 Linux kernel uses the domainID at the primary domainID index as the NUMA node id. [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_compositor.c | 1 // SPDX-License-Identifier: GPL-2.0 52 if (compo->vid[i]) in sti_compositor_debugfs_init() 53 vid_debugfs_init(compo->vid[i], minor); in sti_compositor_debugfs_init() 56 if (compo->mixer[i]) in sti_compositor_debugfs_init() 57 sti_mixer_debugfs_init(compo->mixer[i], minor); in sti_compositor_debugfs_init() 67 struct sti_private *dev_priv = drm_dev->dev_private; in sti_compositor_bind() 69 struct drm_plane *primary = NULL; in sti_compositor_bind() local 70 struct sti_compositor_subdev_descriptor *desc = compo->data.subdev_desc; in sti_compositor_bind() 71 unsigned int array_size = compo->data.nb_subdev; in sti_compositor_bind() 73 dev_priv->compo = compo; in sti_compositor_bind() [all …]
|
/linux/fs/ext4/ |
H A D | resize.c | 1 // SPDX-License-Identifier: GPL-2.0 29 kvfree(ptr->ptr); in ext4_rcu_ptr_callback() 38 ptr->ptr = to_free; in ext4_kvfree_array_rcu() 39 call_rcu(&ptr->rcu, ext4_rcu_ptr_callback); in ext4_kvfree_array_rcu() 52 return -EPERM; in ext4_resize_begin() 55 * If the reserved GDT blocks is non-zero, the resize_inode feature in ext4_resize_begin() 58 if (sbi->s_es->s_reserved_gdt_blocks && in ext4_resize_begin() 60 ext4_error(sb, "resize_inode disabled but reserved GDT blocks non-zero"); in ext4_resize_begin() 61 return -EFSCORRUPTED; in ext4_resize_begin() 65 * If we are not using the primary superblock/GDT copy don't resize, in ext4_resize_begin() [all …]
|
/linux/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com> 7 * 2013-2016 Borislav Petkov <bp@alien8.de> 53 * All non cpu-hotplug-callback call sites use: 55 * - cpus_read_lock/unlock() to synchronize with 56 * the cpu-hotplug-callback call sites. 70 0, /* T-101 terminator */ 79 * - true: if update should stop 80 * - false: otherwise 245 * Late loading dance. Why the heavy-handed stomp_machine effort? [all …]
|
/linux/arch/um/drivers/ |
H A D | chan_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) 22 static int not_configged_open(int input, int output, int primary, void *data, in not_configged_open() argument 27 return -ENODEV; in not_configged_open() 40 return -EIO; in not_configged_read() 47 return -EIO; in not_configged_write() 54 return -EIO; in not_configged_console_write() 62 return -ENODEV; in not_configged_window_size() 94 if (chan->opened) in open_one_chan() 97 if (chan->ops->open == NULL) in open_one_chan() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | snps,dw-apb-ictl.txt | 5 APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt 9 - compatible: shall be "snps,dw-apb-ictl" 10 - reg: physical base address of the controller and length of memory mapped 12 - interrupt-controller: identifies the node as an interrupt controller 13 - #interrupt-cells: number of cells to encode an interrupt-specifier, shall be 1 16 - interrupts: interrupt reference to primary interrupt controller 20 - 0 maps to bit 0 of low interrupts, 21 - 1 maps to bit 1 of low interrupts, 22 - 32 maps to bit 0 of high interrupts, 23 - 33 maps to bit 1 of high interrupts, [all …]
|