/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 ip -d link show dev sw0p1 | grep switchid 23 Dual mac mode 26 - The new (cpsw_new.c) driver is operating in dual-emac mode by default, thus 27 working as 2 individual network interfaces. Main differences from legacy CPSW 30 - optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in 32 So, Ports in promiscuous mode will keep possibility of mcast and vlan 34 to the same bridge, but without enabling "switch" mode, or to different 36 - learning disabled on ports as it make not too much sense for 37 segregated ports - no forwarding in HW. [all …]
|
H A D | am65_nuss_cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ip -d link show dev sw0p1 | grep switchid 20 Multi mac mode 23 - The driver is operating in multi-mac mode by default, thus 24 working as N individual network interfaces. 29 See Documentation/networking/devlink/am65-nuss-cpsw-switch.rst 34 The Switch mode can be enabled by configuring devlink driver parameter 40 This can be done regardless of the state of Port's netdev devices - UP/DOWN, but 45 When the both interfaces joined the bridge - CPSW switch driver will enable 65 [*] bridge vlan add dev br0 vid 1 pvid untagged self [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
/linux/scripts/kconfig/tests/ |
H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 24 This class provides methods to run text-based interface of Kconfig 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument 41 """Run text-based Kconfig executable and save the result. 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 46 interactive: flag to specify the interactive mode 51 command = [CONF_PATH, mode, 'Kconfig'] 54 extra_env['srctree'] = self._test_dir [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/cirrus/ |
H A D | cs89x0.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 2.1 CS8900-based Adapter Configuration 34 2.2 CS8920-based Adapter Configuration 40 4.2 Compiling the driver to support memory mode 46 5.2.1 Diagnostic Self-Test 66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 69 in 16-bit ISA or EISA bus expansion slots and are available in 70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 73 CS8920-based adapters are similar to the CS8900-based adapter with additional [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 26 clock-names: 28 - const: dmc_clk 30 operating-points-v2: true [all …]
|
/linux/tools/perf/tests/shell/base_report/ |
H A D | test_basic.sh | 3 # SPDX-License-Identifier: GPL-2.0 15 # include working environment 25 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err 28 ../common/check_all_patterns_found.pl "PERF-REPORT" "NAME" "SYNOPSIS" "DESCRIPTION" "OPTIONS" "OVERHEAD\s+CALCULATION" "SEE ALSO" < $LOGS_DIR/basic_helpmsg.log 30 ../common/check_all_patterns_found.pl "input" "verbose" "show-nr-samples" "show-cp [all...] |
/linux/Documentation/trace/coresight/ |
H A D | coresight-cpu-debug.rst | 9 ------------ 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 29 -------------- 31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID 32 registers to decide if sample-based profiling is implemented or not. On some [all …]
|
/linux/arch/x86/realmode/rm/ |
H A D | reboot.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <asm/processor-flags.h> 7 #include <asm/msr-index.h> 12 * mode and jumping to the BIOS reset entry point, as if the CPU has 16 * to stop this code working; hence the copious comments. 31 /* Disable paging to drop us out of long mode */ 47 /* Set up the IDT for real mode. */ 52 * mode. The GDT is not used in real mode; it is just needed here to 58 * Load the data segment registers with 16-bit compatible values 70 * This is 16-bit protected mode code to disable paging and the cache, [all …]
|
/linux/arch/alpha/kernel/ |
H A D | sys_eiger.c | 1 // SPDX-License-Identifier: GPL-2.0 39 static unsigned long cached_irq_mask[2] = { -1, -1 }; 46 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in eiger_update_irq_hw() 47 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in eiger_update_irq_hw() 54 unsigned int irq = d->irq; in eiger_enable_irq() 63 unsigned int irq = d->irq; in eiger_disable_irq() 88 * mode. in eiger_device_interrupt() 90 * OTOH, the accelerator thing doesn't seem to be working in eiger_device_interrupt() 116 int irq = (vector - 0x800) >> 4; in eiger_srm_device_interrupt() 134 eiger_update_irq_hw(i, -1); in eiger_init_irq() [all …]
|
H A D | sys_takara.c | 1 // SPDX-License-Identifier: GPL-2.0 34 static unsigned long cached_irq_mask[2] = { -1, -1 }; 41 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in takara_update_irq_hw() 42 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in takara_update_irq_hw() 49 unsigned int irq = d->irq; in takara_enable_irq() 58 unsigned int irq = d->irq; in takara_disable_irq() 83 * mode. in takara_device_interrupt() 85 * OTOH, the accelerator thing doesn't seem to be working in takara_device_interrupt() 111 int irq = (vector - 0x800) >> 4; in takara_srm_device_interrupt() 127 /* Return to non-accelerated mode. */ in takara_init_irq() [all …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h616-orangepi-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "sun50i-h616-orangepi-zero.dtsi" 9 #include "sun50i-h616-cpu-opp.dtsi" 13 compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616"; 17 cpu-supply = <®_dcdca>; 21 allwinner,rx-delay-ps = <3100>; 22 allwinner,tx-delay-ps = <700>; 23 phy-mode = "rgmii"; 24 phy-supply = <®_dcdce>; [all …]
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 128 static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) in atmel_hlcdc_format_to_plane_mode() argument 132 *mode = ATMEL_HLCDC_C8_MODE; in atmel_hlcdc_format_to_plane_mode() 135 *mode = ATMEL_HLCDC_XRGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 138 *mode = ATMEL_HLCDC_ARGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 141 *mode = ATMEL_HLCDC_RGBA4444_MODE; in atmel_hlcdc_format_to_plane_mode() 144 *mode = ATMEL_HLCDC_RGB565_MODE; in atmel_hlcdc_format_to_plane_mode() [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7) 73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11) 76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) 79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 35 working state), such that the processors can spend time in their deepest idle 38 The system is woken up from this state by in-band interrupts, so theoretically 39 any devices that can cause interrupts to be generated in the working state can 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the [all …]
|
/linux/arch/arc/kernel/ |
H A D | jump_label.c | 1 // SPDX-License-Identifier: GPL-2.0 32 if ((a >> L1_CACHE_SHIFT) != ((a + len - 1) >> L1_CACHE_SHIFT)) in instruction_align_assert() 43 * N N <.d> delay slot mode 50 u32 u_offset = target - pcl; in arc_gen_branch() 54 * Offset in 32-bit branch instruction must to fit into s25. in arc_gen_branch() 58 if ((s32)u_offset < -16777216 || (s32)u_offset > 16777214) in arc_gen_branch() 85 jump_label_t *instr_addr = (jump_label_t *)entry->code; in arch_jump_label_transform() 91 instr = arc_gen_branch(entry->code, entry->target); in arch_jump_label_transform() 96 flush_icache_range(entry->code, entry->code + JUMP_LABEL_NOP_SIZE); in arch_jump_label_transform() 100 #define SELFTEST_MSG "ARC: instruction generation self-test: " [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-trace.txt | 1 perf-trace(1) 5 ---- 6 perf-trace - strace inspired tool 9 --- [all...] |
H A D | security.txt | 6 https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html 15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31) 16 and install it so rpmbuild directory would exist in the current working directory: 18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm 22 # rpmbuild -bp selinux-policy.spec 24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02 27 # patch -p1 < selinux-policy-perf-events-perfmon.patch 30 # cat selinux-policy-perf-events-perfmon.patch 31 diff -Nura a/policy/flask/access_vectors b/policy/flask/access_vectors 32 --- a/policy/flask/access_vectors 2020-02-04 18:19:53.000000000 +0300 [all …]
|
/linux/Documentation/networking/ |
H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Copyright |copy| 2014-2015 Scott Feldman <sfeldma@gmail.com> 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 19 an example setup using a data-center-class switch ASIC chip. Other setups 20 with SR-IOV or soft switches, such as OVS, are possible. 25 User-space tools 28 +-------------------------------------------------------------------+ 31 +--------------+-------------------------------+ 35 +----------------------------------------------+ 41 +--+----+----+----+----+----+---+ +-----+-----+ [all …]
|
/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2022-2024 Red Hat */ 22 static void detach_bpf(FIXTURE_DATA(hid_bpf) * self) in detach_bpf() argument 26 if (self->hidraw_fd) in detach_bpf() 27 close(self->hidraw_fd); in detach_bpf() 28 self->hidraw_fd = 0; in detach_bpf() 30 if (!self->skel) in detach_bpf() 33 hid__detach(self->skel); in detach_bpf() 35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf() 36 if (self->hid_links[i]) in detach_bpf() [all …]
|
/linux/Documentation/admin-guide/LSM/ |
H A D | Smack.rst | 7 - The Elevator, from Dark Star 21 - The kernel 22 - Basic utilities, which are helpful but not required 23 - Configuration data 41 git://github.com/smack-team/smack.git 103 to the directory includes the transmute ("t") mode the object 120 # attr -S -s SMACK64 -V "value" path 121 # chsmack -a value path 124 reading ``/proc/self/attr/current``. A process with ``CAP_MAC_ADMIN`` 128 in the smackfs filesystem. This pseudo-filesystem is mounted [all …]
|
/linux/arch/microblaze/kernel/ |
H A D | hw_exception_handler.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> 8 * Copyright (C) 2008-2009 PetaLogix 13 * Copyright (C) 1995-1996 Gary Thomas <gdt@linuxppc.org> 18 * Low-level exception handers, MMU support, and rewrite. 21 * Copyright (C) 1998-1999 TiVo, Inc. 39 * and do all processing in real mode. All what they need is a valid current 43 * The handlers which require translation are in entry.S --KAA 46 * - Non self-modifying exception handler for the following exception conditions 47 * - Unalignment [all …]
|
/linux/drivers/scsi/ |
H A D | sense_codes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817] 9 SENSE_CODE(0x0002, "End-of-partition/medium detected") 11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected") 12 SENSE_CODE(0x0005, "End-of-data detected") 51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress") 66 SENSE_CODE(0x0419, "Logical unit not ready, operating in sequential mode") 87 SENSE_CODE(0x0801, "Logical unit communication time-out") 89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)") 102 SENSE_CODE(0x0B01, "Warning - specified temperature exceeded") [all …]
|
/linux/lib/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 50 int "Default console loglevel (1-15)" 60 Note: This does not affect the log level of un-prefixed printk() 65 int "quiet console loglevel (1-15)" 76 int "Default message log level (1-7)" 82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks 118 enabled/disabled based on various levels of scope - per source file, 158 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > 162 nullarbor:~ # echo -n 'file svcsock.c +p' > [all …]
|
/linux/drivers/ata/ |
H A D | pata_cmd64x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_cmd64x.c - CMD64x PATA for new ATA layer 6 * (C) 2009-2010 Bartlomiej Zolnierkiewicz 21 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org> 75 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_cable_detect() 80 if (r & (1 << ap->port_no)) in cmd648_cable_detect() 86 * cmd64x_set_timing - set PIO and MWDMA timing 89 * @mode: mode 91 * Called to do the PIO and MWDMA mode setup. 94 static void cmd64x_set_timing(struct ata_port *ap, struct ata_device *adev, u8 mode) in cmd64x_set_timing() argument [all …]
|