/linux/tools/testing/kunit/ |
H A D | kunit_parser.py | 1 # SPDX-License-Identifier: GPL-2.0 4 # results with reader-friendly format. Stores and returns test results in a 14 import re 29 status : TestStatus - status of the test 30 name : str - name of the test 31 expected_count : int - expected number of subtests (0 if single 33 subtests : List[Test] - list of subtests 34 log : List[str] - log of KTAP lines that correspond to the test 35 counts : TestCounts - counts of the test statuses and errors of 39 def __init__(self) -> None: [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | p2p.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 10 #define P2P_WILDCARD_SSID "DIRECT-" 18 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen() 19 u8 channel = p2p->listen_chan.hw_value; in wil_p2p_start_listen() 22 lockdep_assert_held(&wil->mutex); in wil_p2p_start_listen() 42 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_listen_expired); in wil_p2p_start_listen() 43 mod_timer(&p2p->discovery_timer, in wil_p2p_start_listen() 44 jiffies + msecs_to_jiffies(p2p->listen_duration)); in wil_p2p_start_listen() 55 return (request->n_channels == 1) && in wil_p2p_is_social_scan() [all …]
|
/linux/tools/workqueue/ |
H A D | wq_monitor.py | 12 infl The number of currently in-flight work items. 18 CPUitsv The number of times a concurrency-managed work item hogged CPU 23 CMW/RPR For per-cpu workqueues, the number of concurrency-management 24 wake-ups while executing a work item of the workqueue. For 26 to its affinity scope after being migrated to an off-scope CPU by 36 import re 48 parser.add_argument('-i', '--interval', metavar='SECS', type=float, default=1, 50 parser.add_argument('-j', '--json', action='store_true', 59 PWQ_STAT_STARTED = prog['PWQ_STAT_STARTED'] # work items started execution 63 PWQ_STAT_CM_WAKEUP = prog['PWQ_STAT_CM_WAKEUP'] # concurrency-management worker wakeups [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_modem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 38 * struct ipa_priv - IPA network device private data 51 /** ipa_open() - Opens the modem network interface */ 55 struct ipa *ipa = priv->ipa; in ipa_open() 59 dev = ipa->dev; in ipa_open() 64 ret = ipa_endpoint_enable_one(priv->tx); in ipa_open() 68 ret = ipa_endpoint_enable_one(priv->rx); in ipa_open() 80 ipa_endpoint_disable_one(priv->tx); in ipa_open() [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2014-2019 Intel Corporation 58 * We need to know as early as possible if we're going to use GuC or not to 59 * take the correct setup paths. Additionally, once we've started loading the 67 * structures); if we hit such a problem during driver load we're broken even 71 * we're committed to using the microcontroller: 72 * - Not supported: not available in HW and/or firmware not defined. 73 * - Supported: available in HW and firmware defined. 74 * - Wanted: supported + enabled in modparam. 75 * - In use: wanted + firmware found on the system and successfully fetched. [all …]
|
H A D | intel_guc_log.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2014-2019 Intel Corporation 19 * While we're using plain log level in i915, GuC controls are much more... 21 * log enabling, and separate bit for default logging - which "conveniently" 30 GUC_LOG_LEVEL_IS_VERBOSE(_x) ? _x - 2 : 0; \ 48 s32 units; /* GuC API units - 1MB or 4KB */ 61 bool started; member 96 return log->level; in intel_guc_log_get_level()
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 54 internal-api 63 Lower-level packet transport is implemented in the *packet transport layer 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 90 Refer to Documentation/driver-api/surface_aggregator/client.rst for 93 that chapter and the Documentation/driver-api/surface_aggregator/ssh.rst 104 ------- 153 ------------ 163 re-submitted to this queue due to timeouts or NAK packets sent by the EC. [all …]
|
/linux/arch/arm/mach-bcm/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2015 Broadcom Corporation 12 #include <linux/irqchip/irq-bcm2836.h> 34 #define OF_SECONDARY_BOOT "secondary-boot-reg" 41 * cores present. We assume we're running on a Cortex A9 processor, 54 return -ENXIO; in scu_a9_enable() 61 return -ENOENT; in scu_a9_enable() 68 return -ENOMEM; in scu_a9_enable() 106 return -EINVAL; in nsp_write_lut() 111 pr_warn("unable to ioremap SKU-ROM LUT register for cpu %u\n", cpu); in nsp_write_lut() [all …]
|
/linux/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 94 * struct hisi_ptt_tune_desc - Describe tune event for PTT tune 106 * struct hisi_ptt_dma_buffer - Describe a single trace buffer of PTT trace. 118 * struct hisi_ptt_trace_ctrl - Control and status of PTT trace 124 * @started: current trace status, true for started 125 * @is_port: whether we're tracing root port or not 136 bool started; member 154 * struct hisi_ptt_filter_desc - Descriptor of the PTT trace filter 170 * struct hisi_ptt_filter_update_info - Information for PTT filter updating 182 * struct hisi_ptt_pmu_buf - Descriptor of the AUX buffer of PTT trace [all …]
|
/linux/kernel/locking/ |
H A D | rtmutex_api.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 mutex_acquire_nest(&lock->dep_map, subclass, 0, nest_lock, _RET_IP_); in __rt_mutex_lock_common() 31 ret = __rt_mutex_lock(&lock->rtmutex, state); in __rt_mutex_lock_common() 33 mutex_release(&lock->dep_map, _RET_IP_); in __rt_mutex_lock_common() 45 * rt_mutex_lock_nested - lock a rt_mutex 65 * rt_mutex_lock - lock a rt_mutex 77 * rt_mutex_lock_interruptible - lock a rt_mutex interruptible 83 * -EINTR when interrupted by a signal 92 * rt_mutex_lock_killable - lock a rt_mutex killable 98 * -EINTR when interrupted by a signal [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | running-nested-guests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 can be KVM-based or a different hypervisor). The straightforward 12 .----------------. .----------------. 17 |----------------'--'----------------| 22 .------------------------------------------------------. 25 |------------------------------------------------------| 27 '------------------------------------------------------' 31 - L0 – level-0; the bare metal host, running KVM 33 - L1 – level-1 guest; a VM running on L0; also called the "guest 36 - L2 – level-2 guest; a VM running on L1, this is the "nested guest" [all …]
|
/linux/Documentation/arch/arm/sa1100/ |
H A D | serial_uart.rst | 7 > Date: Sun, 24 Sep 2000 21:40:27 -0700 11 > Subject: Re: device 20 > 204 char Low-density serial ports 25 > 205 char Low-density serial ports (alternate device) 32 by your SA1100-based device:: 44 you might have a getty process started on ttyS0. 48 - replace occurrences of ttyS0 with ttySA0, ttyS1 with ttySA1, etc. 50 - don't forget to add 'ttySA0', 'console', or the appropriate tty name
|
/linux/arch/arm/common/ |
H A D | bL_switcher.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/common/bL_switcher.c -- big.LITTLE cluster switcher core driver 6 * Copyright: (C) 2012-2013 Linaro Limited 32 #include <linux/irqchip/arm-gic.h> 78 handshake = -1; in bL_do_switch() 141 * bL_switch_to - Switch to a specific cluster for the current CPU 169 pr_debug("before switch: CPU %d MPIDR %#x -> %#x\n", in bL_switch_to() 263 struct completion started; member 278 complete(&t->started); in bL_switcher_thread() 283 wait_event_interruptible(t->wq, in bL_switcher_thread() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 - ARM Ltd 27 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in enter_vmid_context() 28 vcpu = host_ctxt->__hyp_running_vcpu; in enter_vmid_context() 29 cxt->mmu = NULL; in enter_vmid_context() 34 * - ensure that the page table updates are visible to all in enter_vmid_context() 35 * CPUs, for which a dsb(DOMAIN-st) is what we need, DOMAIN in enter_vmid_context() 39 * - complete any speculative page table walk started before in enter_vmid_context() 45 * Inner-Shareable and Non-Shareable, as specified by the in enter_vmid_context() 54 * If we're already in the desired context, then there's nothing to do. in enter_vmid_context() [all …]
|
/linux/Documentation/virt/kvm/s390/ |
H A D | s390-pv-dump.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 27 ------------ 52 time of the export does not matter as no re-encryption is 64 step completes successfully a new dump initiation can be started.
|
H A D | s390-pv-boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------- 13 Documentation/virt/kvm/s390/s390-pv.rst for details." 15 On IPL (boot) a small plaintext bootloader is started, which provides 33 ------- 46 The new PV load-device-specific-parameters field specifies all data 52 * AES-XTS Tweak prefix 63 contain the guest content. All non-specified pages will start out as 73 non-clearing IPL subcodes are not allowed. 76 Re-IPL into a protected mode is only possible via a detour into non [all …]
|
/linux/Documentation/driver-api/md/ |
H A D | md-cluster.rst | 5 The cluster MD is a shared-device RAID for a cluster, it supports 9 1. On-disk format 12 Separate write-intent-bitmaps are used for each cluster node. 13 The bitmaps record all writes that may have been started on that node, 14 and may not yet have finished. The on-disk layout is:: 17 ------------------------------------------------------------------- 26 - set the appropriate bit (if not already set) 27 - commit the write to all mirrors 28 - schedule the bit to be cleared after a timeout. 41 ------------------------------------- [all …]
|
/linux/fs/btrfs/ |
H A D | transaction.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "disk-io.h" 20 #include "tree-log.h" 22 #include "dev-replace.h" 24 #include "block-group.h" 25 #include "space-info.h" 28 #include "extent-tree.h" 29 #include "root-tree.h" 30 #include "dir-item.h" 31 #include "uuid-tree.h" [all …]
|
/linux/net/mac80211/ |
H A D | offchannel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Off-channel operation helpers 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 11 * Copyright (C) 2019, 2022-2024 Intel Corporation 16 #include "driver-ops.h" 21 * the frames while we are doing off-channel work. This is optional 22 * because we *may* be doing work on-operating channel, and want our 27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() 28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable() 31 /* FIXME: what to do when local->pspolling is true? */ in ieee80211_offchannel_ps_enable() [all …]
|
/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/linux/arch/arm64/kernel/ |
H A D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <asm/debug-monitors.h> 62 * PSTATE was not saved over suspend/resume, re-enable any detected in __cpu_suspend_exit() 86 /* Restore additional feature-specific configuration */ in __cpu_suspend_exit() 136 * resume if we're using pseudo-NMIs. in cpu_suspend() 150 * If the return value is set to 0 force ret = -EOPNOTSUPP in cpu_suspend() 154 ret = -EOPNOTSUPP; in cpu_suspend() 169 * reenabled if it was enabled when core started shutdown. in cpu_suspend() 183 return -ENOMEM; in cpu_suspend_init()
|
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <linux/irqchip/arm-gic-v3.h> 98 return -ENOSYS; in op_cpu_kill() 111 if (ops->cpu_boot) in boot_secondary() 112 return ops->cpu_boot(cpu); in boot_secondary() 114 return -EOPNOTSUPP; in boot_secondary() 134 if (ret != -EPERM) in __cpu_up() 140 * CPU was successfully started, wait for it to come online or in __cpu_up() 170 pr_crit("CPU%u: does not support 52-bit VAs\n", cpu); in __cpu_up() 181 return -EIO; in __cpu_up() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | md.rst | 5 --------------------------------- 49 -1 linear mode 58 (raid-0 and raid-1 only) 78 -------------------------------------- 87 that all auto-detected arrays are assembled as partitionable. 90 ------------------------------------------- 102 mdadm --assemble --force .... 108 arrays to be started. 112 md-mod.start_dirty_degraded=1 116 ------------------ [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 37 *platform-dependent suspend* states in what follows. 42 Suspend-to-idle Suspend Code Flow [all …]
|
/linux/arch/arc/include/asm/ |
H A D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -Refactored get_new_mmu_context( ) to only handle live-mm. 7 * retiring-mm handled in other hooks 10 * -Major rewrite of Core ASID allocation routine get_new_mmu_context 21 #include <asm-generic/mm_hooks.h> 25 * MMU tags TLBs with an 8-bit ASID, avoiding need to flush the TLB on 26 * context-switch. 32 * Each task is assigned unique ASID, with a simple round-robin allocator 33 * tracked in @asid_cpu. When 8-bit value rolls over,a new cycle is started [all …]
|