/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_subset.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_subset.c -- "CDC Subset" Ethernet link function driver 5 * Copyright (C) 2003-2005,2008 David Brownell 20 * This function packages a simple "CDC Subset" Ethernet port with no real 22 * The data transfer model is exactly that of CDC Ethernet, which is 23 * why we call it the "CDC Subset". 27 * so simple (CDC Ethernet). The original versions of this protocol used 29 * SA-1100 "Itsy" board, which could run Linux 2.4 kernels and supported 37 * Subset" in terms of data transfer and lack of control model. This was 42 * descriptors to the CDC Subset code, making this code look like a SAFE [all …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | asymmetric-32bit.rst | 2 Asymmetric 32-bit SoCs 7 This document describes the impact of asymmetric 32-bit SoCs on the 8 execution of 32-bit (``AArch32``) applications. 10 Date: 2021-05-17 15 Some Armv9 SoCs suffer from a big.LITTLE misfeature where only a subset 16 of the CPUs are capable of executing 32-bit user applications. On such 19 ``execve(2)`` of 32-bit ELF binaries, with the latter returning 20 ``-ENOEXEC``. If the mismatch is detected during late onlining of a 21 64-bit-only CPU, then the onlining operation fails and the new CPU is 24 Surprisingly, these SoCs have been produced with the intention of [all …]
|
/openbmc/linux/Documentation/userspace-api/media/ |
H A D | glossary.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 9 The goal of this section is to standardize the terms used within the media 29 Part of the Linux Kernel that implements support for a hardware 34 transfer data in and out of a Kernel driver. 39 An API designed to control a subset of the :term:`Media Hardware` 48 optimized for the operational needs of digital signal processing. 51 **Field-programmable Gate Array** 56 See https://en.wikipedia.org/wiki/Field-programmable_gate_array. 59 A subset of the :term:`Media Hardware`. For example an :term:`I²C` or 64 A group of :term:`hardware components <Hardware Component>` that [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | ppc-spapr-hcalls.rst | 5 When used with the ``pseries`` machine type, ``qemu-system-ppc64`` implements 6 a set of hypervisor calls (a.k.a. hcalls) defined in the Linux on Power 7 Architecture Reference ([LoPAR]_) document. This document is a subset of the 11 The subset in LoPAR is selected based on the requirements of Linux as a guest. 23 RTAS stands for Run-Time Abstraction Sercies and is a set of runtime services 25 predates the existence of hypervisors (it was originally an extension to Open 30 "firmware" blob in the guest is a small stub of a few instructions which 37 ``r4``: Guest physical address of RTAS parameter block. 51 only has access to a subset of memory and no I/Os. 53 PAPR and LoPAR provides a set of hypervisor calls to perform cacheable or [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-mvebu-icu.c | 5 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 * This file is licensed under the terms of the GNU General Public 9 * warranty of any kind, whether express or implied. 23 #include <dt-bindings/interrupt-controller/mvebu-icu.h> 75 const struct mvebu_icu_subset_data *subset = msi_data->subset_data; in mvebu_icu_init() local 77 if (atomic_cmpxchg(&msi_data->initialized, false, true)) in mvebu_icu_init() 81 writel_relaxed(msg[0].address_hi, icu->base + subset->offset_set_ah); in mvebu_icu_init() 82 writel_relaxed(msg[0].address_lo, icu->base + subset->offset_set_al); in mvebu_icu_init() 84 if (subset->icu_group != ICU_GRP_NSR) in mvebu_icu_init() 87 /* Set 'CLEAR' ICU SPI message address in AP (level-MSI only) */ in mvebu_icu_init() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This file contains AppArmor mediation of files 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 40 * file_audit_cb - call back for file specific audit fields 42 * @va: audit struct to audit values of (NOT NULL) 48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 51 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 53 map_mask_to_chr_mask(ad->request)); in file_audit_cb() 56 if (ad->denied & AA_AUDIT_FILE_MASK) { in file_audit_cb() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | irq_affinity.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 10 pool->irqs_per_cpu[cpu]--; in cpu_put() 15 pool->irqs_per_cpu[cpu]++; in cpu_get() 22 int best_cpu = -1; in cpu_get_least_loaded() 27 if (!pool->irqs_per_cpu[cpu]) { in cpu_get_least_loaded() 33 if (pool->irqs_per_cpu[cpu] < pool->irqs_per_cpu[best_cpu]) in cpu_get_least_loaded() 36 if (best_cpu == -1) { in cpu_get_least_loaded() 38 mlx5_core_err(pool->dev, "NO online CPUs in req_mask (%*pbl)\n", in cpu_get_least_loaded() 42 pool->irqs_per_cpu[best_cpu]++; in cpu_get_least_loaded() 55 err = xa_alloc(&pool->irqs, &irq_index, NULL, pool->xa_num_irqs, GFP_KERNEL); in irq_pool_request_irq() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | frontend.json | 3 … a subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline… 6 …subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline du…
|
H A D | pipeline.json | 15 …sprediction occurs when the processor incorrectly predicts the destination of the branch. When th… 21 …"PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. … 29 …"PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. … 36 …"PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. Th… 44 …"PublicDescription": "This is an architectural event that counts the number of thread cycles while… 48 "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event", 51 …"PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon eve… 56 "BriefDescription": "Number of instructions retired. General Counter - architectural event", 60 …"PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon eve… 67 …of times where store forwarding was prevented for a load operation. The most common case is a load… [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ethtool.sh | 2 # SPDX-License-Identifier: GPL-2.0 55 # Check that when each of the reported speeds is forced, the links come 57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0)) 68 log_test "force of same speed autoneg off" 72 ethtool -s $h2 autoneg on 73 ethtool -s $h1 autoneg on 82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0)) 94 log_test "force of different speeds autoneg off" 96 ethtool -s $h2 autoneg on 97 ethtool -s $h1 autoneg on [all …]
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | ether.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options 5 * Copyright (C) 2003-2005,2008 David Brownell 6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 26 * Ethernet gadget driver -- with CDC and non-CDC options 32 * this USB-IF standard as its open-systems interoperability solution; 36 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new 40 * implement a "minimalist" vendor-agnostic CDC core: same framing, but 41 * link-level setup only requires activating the configuration. Only the 44 * systems may not. (This is a subset of CDC Ethernet.) [all …]
|
/openbmc/linux/include/uapi/linux/sched/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 * However, the possibility of specifying more than just a priority for 18 * the tasks may be useful for a wide variety of application fields, e.g., 27 * A subset of sched_attr attributes specifies the 30 * @size size of the structure, for fwd/bwd compat. 37 * predefined set of flags via the attribute: 41 * Sporadic Time-Constrained Task Attributes 44 * A subset of sched_attr attributes allows to describe a so-called 45 * sporadic time-constrained task. 48 * - the activation period or minimum instance inter-arrival time; [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | kconfig.rst | 7 QEMU is a very versatile emulator; it can be built for a variety of 9 time different targets can share large amounts of code. For example, 13 SCSI adapters. Arm, s390 and x86 boards can all present a virtio-blk 16 Each QEMU target enables a subset of the boards, devices and buses that 18 only links a small subset of the files that form QEMU's source code; 21 QEMU uses a simple domain-specific language to describe the dependencies 25 architecture of the hardware emulation subsystems. Boards only have 30 * users can easily build reduced versions of QEMU that support only a subset 31 of boards or devices. For example, by default most targets will include 36 This domain-specific language is based on the Kconfig language that [all …]
|
/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-accel-ops.h | 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 26 /* state subset only touched by the VCPU itself during runtime */ 28 /* state subset modified during VCPU reset */
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-cache.json | 8 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 19 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 25 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 30 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 41 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 52 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 63 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 74 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 80 …"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line wri… 85 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-cache.json | 8 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 19 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 25 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 30 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 41 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 52 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 63 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 74 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 80 …"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line wri… 85 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 24 - [all …]
|
/openbmc/linux/kernel/ |
H A D | cred.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Task credentials management - see Documentation/security/credentials.rst 25 printk("[%-5.5s%5u] " FMT "\n", \ 26 current->comm, current->pid, ##__VA_ARGS__) 31 no_printk("[%-5.5s%5u] " FMT "\n", \ 32 current->comm, current->pid, ##__VA_ARGS__); \ 38 /* init to 2 - one for init_task, one to ensure it is never freed */ 66 * The RCU callback to actually dispose of a set of credentials 74 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 76 cred, atomic_long_read(&cred->usage)); in put_cred_rcu() [all …]
|
/openbmc/linux/include/linux/ceph/ |
H A D | ceph_frag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * "Frags" are a way to describe a subset of a 32-bit number space, 8 * (subset of the number space) can be partitioned into 2^n sub-frags. 10 * Frags are encoded into a 32-bit word: 15 * We use the _most_ significant bits of the 24 bit value. This makes 25 (v & (0xffffffu << (24-b)) & 0xffffffu); in ceph_frag_make() 37 return (0xffffffu << (24-ceph_frag_bits(f))) & 0xffffffu; in ceph_frag_mask() 41 return 24 - ceph_frag_bits(f); in ceph_frag_mask_shift() 53 ceph_frag_value(f) | (i << (24 - newbits))); in ceph_frag_make_child()
|
/openbmc/qemu/qapi/ |
H A D | machine-target.json | 1 # -*- Mode: Python -*- 4 # This work is licensed under the terms of the GNU GPL, version 2 or later. 5 # See the COPYING file in the top-level directory. 7 { 'include': 'machine-common.json' } 14 # A CPU model consists of the name of a CPU definition, to which delta 20 # @name: the name of the CPU definition the model is based on 22 # @props: a dictionary of QOM properties to be applied 33 # An enumeration of CPU model expansion types. 35 # @static: Expand to a static CPU model, a combination of a static 38 # same, independent of QEMU version, machine type, machine [all …]
|
/openbmc/linux/Documentation/i2c/ |
H A D | summary.rst | 6 a protocol developed by Philips. It is a slow two-wire protocol (variable 8 an inexpensive bus for connecting many types of devices with infrequent or 14 The latest official I2C specification is the `"I2C-bus specification and user 16 published by NXP Semiconductors. However, you need to log-in to the site to 17 access the PDF. An older version of the specification (revision 6) is archived 18 `here <https://web.archive.org/web/20210813122132/https://www.nxp.com/docs/en/user-guide/UM10204.pd… 21 a subset of I2C protocols and signaling. Many I2C devices will work on an 27 Because the SMBus is mostly a subset of the generalized I2C bus, we can 39 .. kernel-figure:: i2c_bus.svg 49 whole class of I2C adapters. Each specific adapter driver either depends on [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kselftest.rst | 5 The kernel contains a set of "self tests" under the tools/testing/selftests/ 23 On some systems, hot-plug tests could hang forever waiting for cpu and 24 memory to be ready to be offlined. A special hot-plug target is created 25 to run the full range of hot-plug tests. In default mode, hot-plug tests run 26 in safe mode with a limited scope. In limited mode, cpu-hotplug test is 28 hotplug test is run on 2% of hotplug capable memory instead of 10%. 40 $ make -C tools/testing/selftests 44 $ make -C tools/testing/selftests run_tests 54 are supported. In both cases the working directory must be the root of the 55 kernel src. This is applicable to "Running a subset of selftests" section [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-cache.json | 13 …ed in Counter 0. The filtering available is found in the control register - threshold, invert an… 27 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 36 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 45 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 54 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 63 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 72 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 81 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 90 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 99 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… [all …]
|
/openbmc/linux/Documentation/netlink/ |
H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 19 description: Specification of a genetlink protocol 21 required: [ name, doc, attribute-sets, operations ] 25 description: Name of the genetlink family. 36 uapi-header: [all …]
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | proc-subset-pid.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * Test that "mount -t proc -o subset=pid" hides everything but pids, 18 * /proc/self and /proc/thread-self. 42 if (unshare(CLONE_NEWNS) == -1) { in make_private_proc() 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc() 51 if (mount(NULL, "/proc", "proc", 0, "subset=pid") == -1) { in make_private_proc() 88 if (streq(de->d_name, ".")) { in main() [all …]
|