| /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/gpu/drm/ |
| H A D | drm_modeset_helper.c | 37 * This helper library contains various one-off functions which don't really fit 42 * drm_helper_move_panel_connectors_to_head() - move panels to the front in the 59 spin_lock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head() 61 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_LVDS || in drm_helper_move_panel_connectors_to_head() 63 connector->connector_type == DRM_MODE_CONNECTOR_eDP || in drm_helper_move_panel_connectors_to_head() 64 connector->connector_type == DRM_MODE_CONNECTOR_DSI) in drm_helper_move_panel_connectors_to_head() 65 list_move_tail(&connector->head, &panel_list); in drm_helper_move_panel_connectors_to_head() 68 list_splice(&panel_list, &dev->mode_config.connector_list); in drm_helper_move_panel_connectors_to_head() 69 spin_unlock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head() [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/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/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/tools/testing/selftests/kvm/ |
| H A D | irqfd_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * KVM de-assigns based on eventfd *and* GSI, but requires unique eventfds when 20 * assigning (the API isn't symmetrical). Abuse the oddity and use a per-task 21 * GSI base to avoid false failures due to cross-task de-assign, i.e. so that 22 * the secondary doesn't de-assign the primary's eventfd and cause assign to 23 * unexpectedly succeed on the primary. 33 * The secondary task can encounter EBADF since the primary can close in juggle_eventfd_secondary() 34 * the eventfd at any time. And because the primary can recreate the in juggle_eventfd_secondary() 35 * eventfd, at the safe fd in the file table, the secondary can also in juggle_eventfd_secondary() 46 /* De-assign should succeed unless the eventfd was closed. */ in juggle_eventfd_secondary() [all …]
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | fsl,mpic-msi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/fsl,mpic-msi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Freescale hypervisor and msi-address-64 11 ------------------------------------------- 24 In the PAMU, each PCI controller is given only one primary window. The 25 PAMU restricts DMA operations so that they can only occur within a window. 26 Because PCI devices must be able to DMA to memory, the primary window must 29 PAMU primary windows can be divided into 256 subwindows, and each [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/drivers/mfd/ |
| 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/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/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/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> 63 * All non cpu-hotplug-callback call sites use: 65 * - cpus_read_lock/unlock() to synchronize with 66 * the cpu-hotplug-callback call sites. 80 0, /* T-101 terminator */ 89 * - true: if update should stop 90 * - false: otherwise 206 * Can't use microcode_loader_disabled() here - .init section in load_ucode_ap() [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/sound/soc/sof/ |
| H A D | ipc4-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 11 #include "sof-audio.h" 12 #include "sof-priv.h" 14 #include "ipc4-priv.h" 15 #include "ipc4-topology.h" 16 #include "ipc4-fw-reg.h" 19 * struct sof_ipc4_timestamp_info - IPC4 timestamp info 42 * struct sof_ipc4_pcm_stream_priv - IPC4 specific private data 57 * the wrap-around point of any hardware counter, and larger than any 67 struct sof_ipc4_pcm_stream_priv *stream_priv = sps->private; in sof_ipc4_sps_to_time_info() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_health.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 * In-Core Filesystem Health Assessments 23 * problems remain at unmount time, we can also request manual intervention by 29 * Therefore we can conclude that for a given sick flag value: 31 * - checked && sick => metadata needs repair 32 * - checked && !sick => metadata is ok 33 * - !checked && sick => errors have been observed during normal operation, 35 * - !checked && !sick => has not been examined since mount 37 * Evidence of health problems can be sorted into three basic categories: 39 * a) Primary evidence, which signals that something is defective within the [all …]
|
| /linux/drivers/ata/ |
| H A D | pata_jmicron.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_jmicron.c - JMicron ATA driver for non AHCI mode. This drives the 6 * this driver can handle other setups if we need it. 31 * jmicron_pre_reset - check for 40/80 pin 37 * On the Jmicron 361/363 there is a single PATA port that can be mapped 38 * either as primary or secondary (or neither). We don't do any policy 44 struct ata_port *ap = link->ap; in jmicron_pre_reset() 45 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in jmicron_pre_reset() 48 int port_mask = 1<< (4 * ap->port_no); in jmicron_pre_reset() 49 int port = ap->port_no; in jmicron_pre_reset() [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | mipi-dsi-bus.txt | 8 This document describes DSI bus-specific properties only or defines existing 25 - #address-cells: The number of cells required to represent an address on the 26 bus. DSI peripherals are addressed using a 2-bit virtual channel number, so 27 a maximum of 4 devices can be addressed on a single bus. Hence the value of 29 - #size-cells: Should be 0. There are cases where it makes sense to use a 33 - clock-master: boolean. Should be enabled if the host is being used in 43 ------------------------------------------------------ 45 Peripherals with the DSI bus as the primary control bus, or peripherals with 49 device-specific properties. 52 - reg: The virtual channel number of a DSI peripheral. Must be in the range [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-zoned.rst | 2 dm-zoned 5 The dm-zoned device mapper target exposes a zoned block device (ZBC and 7 pattern constraints. In effect, it implements a drive-managed zoned 10 host-managed zoned block devices and can mitigate the potential 11 device-side performance degradation due to excessive random writes on 12 host-aware zoned block devices. 21 http://www.t13.org/Documents/UploadedDocuments/docs2015/di537r05-Zoned_Device_ATA_Command_Set_ZAC.p… 23 The dm-zoned implementation is simple and minimizes system overhead (CPU 25 host-managed disk with 256 MB zones, dm-zoned memory usage per disk 29 dm-zoned target devices are formatted and checked using the dmzadm [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | pci_psycho.c | 1 // SPDX-License-Identifier: GPL-2.0 99 #define PSYCHO_IOMMU_TSBSZ_1K 0x0000000000000000UL /* TSB Table 1024 8-byte entries */ 100 #define PSYCHO_IOMMU_TSBSZ_2K 0x0000000000010000UL /* TSB Table 2048 8-byte entries */ 101 #define PSYCHO_IOMMU_TSBSZ_4K 0x0000000000020000UL /* TSB Table 4096 8-byte entries */ 102 #define PSYCHO_IOMMU_TSBSZ_8K 0x0000000000030000UL /* TSB Table 8192 8-byte entries */ 103 #define PSYCHO_IOMMU_TSBSZ_16K 0x0000000000040000UL /* TSB Table 16k 8-byte entries */ 104 #define PSYCHO_IOMMU_TSBSZ_32K 0x0000000000050000UL /* TSB Table 32k 8-byte entries */ 105 #define PSYCHO_IOMMU_TSBSZ_64K 0x0000000000060000UL /* TSB Table 64k 8-byte entries */ 106 #define PSYCHO_IOMMU_TSBSZ_128K 0x0000000000070000UL /* TSB Table 128k 8-byte entries */ 121 #define PSYCHO_UEAFSR_PPIO 0x8000000000000000UL /* Primary PIO is cause */ [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | hyp-stub.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 #include <linux/irqchip/arm-gic-v3.h> 12 .arch armv7-a 19 * This is not in .bss, because we set it sufficiently early that the boot-time 29 * Save the primary CPU boot mode. Requires 2 scratch registers. 38 * Compare the current mode with the one saved on the primary CPU. 46 cmp \mode, \reg1 @ matches primary CPU boot mode? 57 * The zImage loader only runs on one CPU, so we don't bother with mult-CPU 69 * These must be called with the MMU and D-cache off. 73 @ Call this from the primary CPU [all …]
|