/linux/drivers/gpu/drm/ci/ |
H A D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha c6a9a9c3bce90923f7700219354e0b6e5a3c9ba6 6 TARGET_BRANCH: drm-next 10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git 13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs 14 MESA_TEMPLATES_COMMIT: &ci-templates-commit d5aa3941aa03c2f716595116354fb81eb8012acb 16 CI_PRE_CLONE_SCRIPT: |- 17 set -o xtrace 18 …-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT… 19 bash download-git-cache.sh [all …]
|
H A D | container.yml | 1 .container: 3 …CI_REPOSITORY_URL: ${DRM_CI_PROJECT_URL}.git # So ci-templates clones drm-ci instead of the repo t… 6 debian/x86_64_build-base: 8 …airo-dev libdw-dev libjson-c-dev libkmod2 libkmod-dev libpciaccess-dev libproc2-dev libudev-dev li… 10 debian/x86_64_test-gl: 12 …CKAGES: "jq libasound2 libcairo2 libdw1 libglib2.0-0 libjson-c5 libkmod-dev libkmod2 libgles2 libp… 16 …-dev libdw-dev libjson-c-dev libproc2-dev libkmod2 libkmod-dev libpciaccess-dev libudev-dev libunw… 20 EXTRA_LOCAL_PACKAGES: "jq libasound2 libcairo2 libdw1 libglib2.0-0 libjson-c5" 22 # Disable container jobs that we won't use 24 rules: [all …]
|
H A D | build.yml | 3 - .build-rules 4 - .container+build-rules 8 - artifacts 10 - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build.sh 14 - .build 15 - .use-debian/arm64_build 17 - aarch64 25 - .build 26 - .use-debian/arm64_build 28 - aarch64 [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-probe.txt | 1 perf-probe(1) 5 ---- 6 perf-probe - Define new dynamic tracepoints 9 -------- 11 'perf probe' [options] --add='PROBE' [...] 15 'perf probe' [options] --del='[GROUP:]EVENT' [...] 17 'perf probe' --list[=[GROUP:]EVENT] 19 'perf probe' [options] --line='LINE' 21 'perf probe' [options] --vars='PROBEPOINT' 23 'perf probe' [options] --funcs [all …]
|
/linux/include/linux/crush/ |
H A D | crush.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * CRUSH is a pseudo-random data distribution algorithm that 20 * https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf 39 * CRUSH uses user-defined "rules" to describe how inputs should be 73 #define CRUSH_CHOOSE_N_MINUS(x) (-(x)) 99 * A bucket is a named container of other items (either devices or 106 * ------------------------------------------------ 133 __u16 type; /* non-zero; type=0 is reserved for devices */ 136 __u32 weight; /* 16-bit fixed point */ 163 * __weight_set_size__, the weights found at __weight_set_size-1__ are [all …]
|
/linux/Documentation/trace/ |
H A D | kprobetrace.rst | 2 Kprobe-based Event Tracing 8 -------- 9 These events are similar to tracepoint-based events. Instead of tracepoints, 13 Unlike the tracepoint-based event, this can be added and removed 28 ------------------------- 34 -:[GRP/][EVENT] : Clear a probe 50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol) 56 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4) 72 (\*4) "u" means user-space dereference. See :ref:`user_mem_access`. 75 ------------------------------- [all …]
|
/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 3 .. Copyright © 2019-2020 ANSSI 4 .. Copyright © 2021-2022 Microsoft Corporation 16 new security layers in addition to the existing system-wide access-controls. 23 ``dmesg | grep landlock || journalctl -kb -g landlock`` . 29 Landlock rules 33 perform. A set of rules is aggregated in a ruleset, which can then restrict 36 The two existing types of rules are: 38 Filesystem rules [all …]
|
/linux/Documentation/gpu/ |
H A D | drm-vm-bind-async.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 * ``VRAM``: On-device memory. Sometimes referred to as device local memory. 16 an IOCTL. The operations include mapping and unmapping system- or 19 * ``syncobj``: A container that abstracts synchronization objects. The 20 synchronization objects can be either generic, like dma-fences or 24 * ``in-syncobj``: Argument to a VM_BIND IOCTL, the VM_BIND operation waits 27 * ``out-syncobj``: Argument to a VM_BIND_IOCTL, the VM_BIND operation 30 * ``dma-fence``: A cross-driver synchronization object. A basic 31 understanding of dma-fences is required to digest this 33 :doc:`dma-buf doc </driver-api/dma-buf>`. [all …]
|
/linux/include/uapi/drm/ |
H A D | pvr_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only WITH Linux-syscall-note) OR MIT */ 22 * - All members must be type-aligned. 23 * - The overall struct must be padded to 64-bit alignment. 24 * - Explicit padding is almost always required. This takes the form of 25 * ``_padding_[x]`` members of sufficient size to pad to the next power-of-two 29 * - Unions may only appear as the last member of a struct. 30 * - Individual union members may grow in the future. The space between the 36 * device and runtime. These structs are subject to the same rules set out 41 * struct drm_pvr_obj_array - Container used to pass arrays of objects 67 * DRM_PVR_OBJ_ARRAY() - Helper macro for filling &struct drm_pvr_obj_array. [all …]
|
/linux/security/ |
H A D | device_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * device_cgroup.c - device cgroup subsystem 8 #include <linux/bpf-cgroup.h> 30 * exception list locking rules: 72 list_add_tail(&new->list, dest); in dev_exceptions_copy() 79 list_del(&ex->list); in dev_exceptions_copy() 82 return -ENOMEM; in dev_exceptions_copy() 92 list_move_tail(&ex->list, dest); in dev_exceptions_move() 108 return -ENOMEM; in dev_exception_add() 110 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add() [all …]
|
/linux/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing 45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* The size limit for a transmit buffer in a descriptor is (16K - 1). 24 #define ICE_MAX_DATA_PER_TXD (16 * 1024 - 1) 26 (~(ICE_MAX_READ_REQ_SIZE - 1) & ICE_MAX_DATA_PER_TXD) 46 * ice_compute_pad - compute the padding 59 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad() 63 * ice_skb_pad - determine the padding that we can supply 77 * cache-line alignment. in ice_skb_pad() 85 rx_buf_len -= NET_IP_ALIGN; in ice_skb_pad() 112 (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ [all …]
|
H A D | ice_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len() 94 * The PF_STATs are appended to the netdev stats only when ethtool -S 328 u32 bitno; /* bit position in pf->flags */ 337 ICE_PRIV_FLAG("link-down-on-close", ICE_FLAG_LINK_DOWN_ON_CLOSE_ENA), 338 ICE_PRIV_FLAG("fw-lldp-agent", ICE_FLAG_FW_LLDP_AGENT), 339 ICE_PRIV_FLAG("vf-true-promisc-support", 341 ICE_PRIV_FLAG("mdd-auto-reset-vf", ICE_FLAG_MDD_AUTO_RESET_VF), 342 ICE_PRIV_FLAG("vf-vlan-pruning", ICE_FLAG_VF_VLAN_PRUNING), 343 ICE_PRIV_FLAG("legacy-rx", ICE_FLAG_LEGACY_RX), [all …]
|
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/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 1 // SPDX-License-Identifier: GPL-2.0+ 53 itr->offset = offset; in vcap_iter_set() 54 itr->sw_width = sw_width; in vcap_iter_set() 55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set() 56 itr->tg = tg; in vcap_iter_set() 62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg() 64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg() 65 itr->offset += itr->tg->width; in vcap_iter_skip_tg() 66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg() 75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update() [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | acpi_object_usage.rst | 16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT 18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT 20 - Optional: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, 24 - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT, 41 This table describes a non-maskable event, that is used by the platform 68 Optional, not currently supported, with no real use-case for an 83 time as ARM-compatible hardware is available, and the specification 151 UEFI-based; if it is UEFI-based, this table may be supplied. When this 167 the hardware reduced profile, and only 64-bit address fields will 184 filled in properly - that the PSCI_COMPLIANT flag is set and that [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | exstore.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exstore - AML Interpreter object store support 6 * Copyright (C) 2000 - 2023, Intel Corp. 35 * PARAMETERS: *source_desc - Value to be stored 36 * *dest_desc - Where to store it. Must be an NS node 39 * walk_state - Current walk state 46 * the destination operand -- not just simply the actual "Store" 86 switch (dest_desc->common.type) { in acpi_ex_store() 93 /* Allow stores to Constants -- a Noop as per ACPI spec */ in acpi_ex_store() 95 if (dest_desc->common.flags & AOPOBJ_AML_CONSTANT) { in acpi_ex_store() [all …]
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; 60 * Read-only. 62 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. 64 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.h | 3 * Copyright 2009-2013 Broadcom Corporation 10 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL"). 49 u32 cap; /* SR-IOV Capabilities */ 50 u16 ctrl; /* SR-IOV Control */ 81 /* VLAN-MACs object */ 86 /* Queue Slow-path State object */ 96 /* struct bnx2x_vf_queue_construct_params - prepare queue construction 97 * parameters: q-init, q-setup and SB index 157 * - xxq_count = 0 as the queues memory is not allocated yet. 159 * - sb_count = The number of status blocks configured for this VF in [all …]
|
/linux/drivers/dma-buf/ |
H A D | dma-resv.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2012-2014 Canonical Ltd (Maarten Lankhorst) 8 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA 25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 33 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 36 #include <linux/dma-resv.h> 37 #include <linux/dma-fence-array.h> 47 * The reservation object provides a mechanism to manage a container of 52 * locked write-side updates. 76 tmp = (long)rcu_dereference_check(list->table[index], in dma_resv_list_entry() [all …]
|
/linux/arch/x86/kernel/fpu/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 /* Track in-kernel FPU usage */ 70 * - Task context except from within fpregs_lock()'ed critical in irq_fpu_usable() 73 * - Soft interrupt processing context which cannot happen in irq_fpu_usable() 97 if (fpu->fpstate->regs.xsave.header.xfeatures & AVX512_TRACKING_MASK) in update_avx_timestamp() 98 fpu->avx512_timestamp = jiffies; in update_avx_timestamp() 102 * Save the FPU register state in fpu->fpstate->regs. The register state is 118 os_xsave(fpu->fpstate); in save_fpregs_to_fpstate() 124 fxsave(&fpu->fpstate->regs.fxsave); in save_fpregs_to_fpstate() 132 asm volatile("fnsave %[fp]; fwait" : [fp] "=m" (fpu->fpstate->regs.fsave)); in save_fpregs_to_fpstate() [all …]
|
/linux/lib/ |
H A D | kobject.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * kobject.c - library routines for handling generic kernel objects 5 * Copyright (c) 2002-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2006-2007 Greg Kroah-Hartman <greg@kroah.com> 7 * Copyright (c) 2006-2007 Novell Inc. 9 * Please see the file Documentation/core-api/kobject.rst for critical information 23 * kobject_namespace() - Retur [all...] |
/linux/net/ipv4/ |
H A D | fib_frontend.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 58 return -ENOMEM; in fib4_rules_init() 64 hlist_add_head_rcu(&local_table->tb_hlist, in fib4_rules_init() 65 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX]); in fib4_rules_init() 66 hlist_add_head_rcu(&main_table->tb_hlist, in fib4_rules_init() 67 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]); in fib4_rules_init() 72 return -ENOMEM; in fib4_rules_init() 87 if (id == RT_TABLE_LOCAL && !net->ipv4.fib_has_custom_rules) in fib_new_table() 96 rcu_assign_pointer(net->ipv4.fib_main, tb); in fib_new_table() 99 rcu_assign_pointer(net->ipv4.fib_default, tb); in fib_new_table() [all …]
|
/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/posix-timers.h> 20 #include "posix-timers.h" 28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init() 29 pct->timers_active = true; in posix_cputimers_group_init() 35 * tsk->signal->posix_cputimers.bases[clock].nextevt expiration cache if 39 * Returns 0 on success, -ESRCH on failure. Can fail if the task is exiting and 48 return -ESRCH; in update_rlimit_cpu() 102 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions() 115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu() [all …]
|
/linux/drivers/net/dsa/ |
H A D | mt7530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 81 if (priv->bus) in mt7530_mutex_lock() 82 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mutex_lock() 88 if (priv->bus) in mt7530_mutex_unlock() 89 mutex_unlock(&priv->bus->mdio_lock); in mt7530_mutex_unlock() 95 struct mii_bus *bus = priv->bus; in core_write() 101 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 107 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 113 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 119 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() [all …]
|