/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | moortec,mr75203.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137). 20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138). 21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139). 22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO 25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then 26 be presented for VM for measurement within its range (e.g. mr76006 - [all …]
|
/linux/drivers/hwmon/ |
H A D | mr75203.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * voltage monitor(VM) & process detector(PD) modules. 74 /* VM Individual Macro Register */ 76 #define VM_SDIF_DONE(vm) (VM_COM_REG_SIZE + 0x34 + 0x200 * (vm)) argument 77 #define VM_SDIF_DATA(vm, ch) \ argument 78 (VM_COM_REG_SIZE + 0x40 + 0x200 * (vm) + 0x4 * (ch)) 111 #define PVT_TEMP_MIN_mC -40000 117 #define PVT_SERIES5_J_CONST -100 133 * struct voltage_device - VM single input parameters. 134 * @vm_map: Map channel number to VM index. [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt_fencing.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2008-2015 Intel Corporation 29 * engine - they're required for blitter commands and are optional for render 51 return fence->ggtt->vm.i915; in fence_to_i915() 56 return fence->ggtt->vm.gt->uncore; in fence_to_uncore() 66 fence_reg_lo = FENCE_REG_GEN6_LO(fence->id); in i965_write_fence_reg() 67 fence_reg_hi = FENCE_REG_GEN6_HI(fence->id); in i965_write_fence_reg() 71 fence_reg_lo = FENCE_REG_965_LO(fence->id); in i965_write_fence_reg() 72 fence_reg_hi = FENCE_REG_965_HI(fence->id); in i965_write_fence_reg() 77 if (fence->tiling) { in i965_write_fence_reg() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | iavf.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2013-2018 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Additional Configurations 16 - Known Issues/Troubleshooting 17 - Support 30 The guest OS loading the iavf driver must support MSI-X interrupts. 53 --------------------- 58 # dmesg -n 8 [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | spectre.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Spectre Side Channels 14 ------------------- 22 - Intel Core, Atom, Pentium, and Xeon processors 24 - AMD Phenom, EPYC, and Zen processors 26 - IBM POWER and zSeries processors 28 - Higher end ARM processors 30 - Apple CPUs 32 - Higher end MIPS CPUs 34 - Likely most other high performance CPUs. Contact your CPU vendor for details. [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | xen_shinfo_test.c |
|
/linux/Documentation/virt/kvm/ |
H A D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 14 handle will create a VM file descriptor which can be used to issue VM 15 ioctls. A KVM_CREATE_VCPU or KVM_CREATE_DEVICE ioctl on a VM fd will 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 29 machine, for example memory layout. In addition a VM ioctl is used to 32 VM ioctls must be issued from the same process (address space) that was 33 used to create the VM. 35 - vcpu ioctls: These query and set attributes that control the operation [all …]
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 16 * Ben-Ami Yassour <benami@il.ibm.com> 48 #include <linux/user-return-notifier.h> 62 #include <linux/entry-kvm.h> 109 ((struct kvm_vcpu *)(ctxt)->vcpu) 112 * - enable syscall per default because its emulated by KVM 113 * - enable LME and LMA per default on 64 bit KVM 144 *(((struct kvm_x86_ops *)0)->func)); 147 #include <asm/kvm-x86-ops.h> [all …]
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-port.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ``devlink-port`` is a port that exists on the device. It has a logically 19 .. list-table:: List of devlink port flavours 22 * - Flavour 23 - Description 24 * - ``DEVLINK_PORT_FLAVOUR_PHYSICAL`` 25 - Any kind of physical port. This can be an eswitch physical port or any 27 * - ``DEVLINK_PORT_FLAVOUR_DSA`` 28 - This indicates a DSA interconnect port. 29 * - ``DEVLINK_PORT_FLAVOUR_CPU`` [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 32 * - surface allocator & initializer : (bit like scratch reg) should 35 * - WB : write back stuff (do it bit like scratch reg things) 36 * - Vblank : look at Jesse's rework and what we should do 37 * - r600/r700: gart & cp 38 * - cs : clean cs ioctl use bitmap & things like that. 39 * - power management stuff 40 * - Barrier in gart code 41 * - Unmappabled vram ? 42 * - TESTING, TESTING, TESTING 70 #include <linux/dma-fence.h> [all …]
|
H A D | cik.c | 144 * cik_get_allowed_info_register - fetch the register for the info ioctl 150 * Returns 0 for success or -EINVAL for an invalid register 172 return -EINVAL; in cik_get_allowed_info_register() 184 spin_lock_irqsave(&rdev->didt_idx_lock, flags); in cik_didt_rreg() 187 spin_unlock_irqrestore(&rdev->didt_idx_lock, flags); in cik_didt_rreg() 195 spin_lock_irqsave(&rdev->didt_idx_lock, flags); in cik_didt_wreg() 198 spin_unlock_irqrestore(&rdev->didt_idx_lock, flags); in cik_didt_wreg() 227 actual_temp = (temp / 8) - 49; in kv_get_temp() 242 spin_lock_irqsave(&rdev->pciep_idx_lock, flags); in cik_pciep_rreg() 246 spin_unlock_irqrestore(&rdev->pciep_idx_lock, flags); in cik_pciep_rreg() [all …]
|
H A D | si.c | 1210 switch (rdev->family) { in si_init_golden_registers() 1278 * si_get_allowed_info_register - fetch the register for the info ioctl 1284 * Returns 0 for success or -EINVAL for an invalid register 1303 return -EINVAL; in si_get_allowed_info_register() 1311 * si_get_xclk - get the xclk 1320 u32 reference_clock = rdev->clock.spll.reference_freq; in si_get_xclk() 1560 if (!rdev->mc_fw) in si_mc_load_microcode() 1561 return -EINVAL; in si_mc_load_microcode() 1563 if (rdev->new_fw) { in si_mc_load_microcode() 1565 (const struct mc_firmware_header_v1_0 *)rdev->mc_fw->data; in si_mc_load_microcode() [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/drivers/s390/net/ |
H A D | ctcm_fsms.c | 1 // SPDX-License-Identifier: GPL-2.0 126 [CH_XID7_PENDING1] = "Active XID7 P1 Exchange ", 128 [CH_XID7_PENDING3] = "Active XID7 P2 Exchange ", 129 [CH_XID7_PENDING4] = "XID7 Complete - Pending READY ", 135 * ----- static ctcm actions for channel statemachine ----- 158 * ----- static ctcmpc actions for ctcmpc channel statemachine ----- 195 CTCM_FUNTAIL, ch->id, msg, rc); in ctcm_ccw_check_rc() 197 case -EBUSY: in ctcm_ccw_check_rc() 199 ch->id); in ctcm_ccw_check_rc() 200 fsm_event(ch->fsm, CTC_EVENT_IO_EBUSY, ch); in ctcm_ccw_check_rc() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| 43 | |->### | ! | |->### | ! | ! . | || DAP || 49 *****************************************************************<-| 63 | * ===== F =====<---------| 65 |-->:: CTI ::<!! === N === 69 |------>&& ETB &&<......II I ======= [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cmd.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 142 [CMD_STAT_INTERNAL_ERR] = -EIO, in mlx4_status_to_errno() 143 [CMD_STAT_BAD_OP] = -EPERM, in mlx4_status_to_errno() 144 [CMD_STAT_BAD_PARAM] = -EINVAL, in mlx4_status_to_errno() 145 [CMD_STAT_BAD_SYS_STATE] = -ENXIO, in mlx4_status_to_errno() 146 [CMD_STAT_BAD_RESOURCE] = -EBADF, in mlx4_status_to_errno() 147 [CMD_STAT_RESOURCE_BUSY] = -EBUSY, in mlx4_status_to_errno() 148 [CMD_STAT_EXCEED_LIM] = -ENOMEM, in mlx4_status_to_errno() 149 [CMD_STAT_BAD_RES_STATE] = -EBADF, in mlx4_status_to_errno() [all …]
|
/linux/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/tools/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/include/linux/avf/ |
H A D | virtchnl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2013-2022, Intel Corporation. */ 13 * This header file describes the Virtual Function (VF) - Physical Function 18 * desc->opcode is always aqc_opc_send_msg_to_pf 48 VIRTCHNL_STATUS_ERR_PARAM = -5, 49 VIRTCHNL_STATUS_ERR_NO_MEMORY = -18, 50 VIRTCHNL_STATUS_ERR_OPCODE_MISMATCH = -38, 51 VIRTCHNL_STATUS_ERR_CQP_COMPL_ERROR = -39, 52 VIRTCHNL_STATUS_ERR_INVALID_VF_ID = -40, 53 VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR = -53, [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 26 "Copyright (c) 2013 - 2018 Intel Corporation."; 28 /* iavf_pci_tbl - PCI Device ID Table 86 return -EINVAL; in iavf_status_to_errno() 116 return -EIO; in iavf_status_to_errno() 118 return -ENODEV; in iavf_status_to_errno() 121 return -ENOSPC; in iavf_status_to_errno() 123 return -ENOMEM; in iavf_status_to_errno() 126 return -ETIMEDOUT; in iavf_status_to_errno() [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: 55 # ported to 32-bit as well. ) 154 # Word-size accesses may read uninitialized data past the trailing \0 336 default "elf32-i386" if X86_32 337 default "elf64-x86-64" if X86_64 [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * ice_vsi_type_str - maps VSI type enum to string equivalents 38 * ice_vsi_ctrl_all_rx_rings - Start or stop a VSI's Rx rings 55 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings() 67 * ice_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the VSI 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 79 if (vsi->type == ICE_VSI_CHNL) in ice_vsi_alloc_arrays() 83 vsi->tx_rings = devm_kcalloc(dev, vsi->alloc_txq, in ice_vsi_alloc_arrays() 84 sizeof(*vsi->tx_rings), GFP_KERNEL); in ice_vsi_alloc_arrays() 85 if (!vsi->tx_rings) in ice_vsi_alloc_arrays() [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 101 #include <media/cec-notifier.h> 185 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 204 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() 205 struct drm_connector *connector = &aconnector->base; in update_subconnector_property() 208 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property() 211 if (aconnector->dc_sink) in update_subconnector_property() 214 drm_object_property_set_value(&connector->base, in update_subconnector_property() 215 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property() 262 * struct amdgpu_device *adev - [in] desired amdgpu device 263 * int disp_idx - [in] which CRTC to get the counter from [all …]
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005 - 2016 Broadcom 7 * linux-drivers@emulex.com 38 /* Per-module error detection/recovery workq shared across all functions. 146 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free() 148 if (mem->va) { in be_queue_free() 149 dma_free_coherent(&adapter->pdev->dev, mem->size, mem->va, in be_queue_free() 150 mem->dma); in be_queue_free() 151 mem->va = NULL; in be_queue_free() 158 struct be_dma_mem *mem = &q->dma_mem; in be_queue_alloc() [all …]
|
/linux/drivers/pci/ |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 63 * link layer never reaches the active state, with link training reported 64 * repeatedly active ~84% of the time. Forcing the target link speed to 71 * Link Active status bit and in the failed link training scenario it will 77 * at least the active status. 82 * support Link Active reporting and have the Link Control 2 register. 106 int ret = -ENOTTY; in pcie_failed_link_retrain() [all …]
|