/linux/tools/testing/ktest/examples/include/ |
H A D | min-config.conf | 3 # (A .config file that is the minimum for a machine to boot, or 8 # .config by only setting the configs in your MIN_CONFIG. The closer 10 # boot your machine, the closer the config you test with will be 11 # to the users config that had the failure. 16 # In this example, the final config will reside in 17 # ${CONFIG_DIR}/config-new-min and ${CONFIG_DIR}/config-new-min-net. 26 # This is because the second test config is a subset of the first). 28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs 30 # The config-new-min holds configs that ktest.pl could not test 31 # directly because another config that was needed to boot the box [all …]
|
/linux/tools/testing/ktest/ |
H A D | sample.conf | 2 # Config file for ktest.pl 7 # the name of your config file as the first argument of ktest.pl. 34 # You can skip a test by adding SKIP (before or after the ITERATE 37 # TEST_START SKIP 39 # TEST_START SKIP ITERATE 10 41 # TEST_START ITERATE 10 SKIP 43 # The SKIP label causes the options and the test itself to be ignored. 44 # This is useful to set up several different tests in one config file, and 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default [all …]
|
H A D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 67 "GRUB_REBOOT" => "grub2-reboot", 68 "GRUB_BLS_GET" => "grubby --info=ALL", 76 "LOCALVERSION" => "-test", 79 "TARGET_IMAGE" => "/boot/vmlinuz-test", 249 # set when creating a new config 257 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs. 260 # do not force reboots on config problems [all …]
|
/linux/tools/testing/selftests/net/rds/ |
H A D | run.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 set -e 5 set -u 13 if test -f "$build_include"; then 26 kconfig="$ksrc_dir/.config" 41 GCC_VER=$(gcc -dumpfullversion) 42 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| awk 'BEGIN {FS="-"}{print $1}') 45 GCOV_CMD=gcov-$(gcc -dumpversion) 55 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| \ 56 awk 'BEGIN {FS="-"}{print $1}') [all …]
|
/linux/lib/ |
H A D | Kconfig.kcsan | 1 # SPDX-License-Identifier: GPL-2.0-only 3 config HAVE_ARCH_KCSAN 6 config HAVE_KCSAN_COMPILER 7 def_bool (CC_IS_CLANG && $(cc-option,-fsanitize=thread -mllvm -tsan-distinguish-volatile=1)) || \ 8 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-distinguish-volatile=1)) 11 <file:Documentation/dev-tools/kcsan.rst>. 21 data-race detector that relies on compile-time instrumentation. 22 KCSAN uses a watchpoint-based sampling approach to detect races. 29 See <file:Documentation/dev-tools/kcsan.rst> for more details. 33 config CC_HAS_TSAN_COMPOUND_READ_BEFORE_WRITE [all …]
|
/linux/scripts/ |
H A D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 29 use Getopt::Long qw(:config no_auto_abbrev); 30 use Config; 42 # Kernel addresses vary by architecture. We can only auto-detect the following 43 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 57 my $opt_32bit = 0; # Scan 32-bit kernel. 58 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_build.sh | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 -h|--help) 6 echo -e "$0 [-j <n>]" 7 echo -e "\tTest the different ways of building bpftool." 8 echo -e "" 9 echo -e "\tOptions:" 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 19 SCRIPT_REL_PATH=$(realpath --relative-to=$PWD $0) 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then 24 echo -e "skip: bpftool files not found!\n" [all …]
|
/linux/tools/testing/selftests/drivers/net/ |
H A D | README.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 (for example) can be run under ``virtme-ng`` like the core networking selftests. 33 and a real device. SW-only tests should instead be placed in net/ or 34 drivers/net/netdevsim, HW-only tests in drivers/net/hw. 39 The variables can be set in the environment or by creating a net.config 46 $ cat tools/testing/selftests/drivers/net/net.config 69 Test framework has built-in support for ``netns`` and ``ssh`` channels. 86 for netns - name of the "remote" namespace 87 for ssh - name/address of the remote host 94 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw" [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | test_ingress_egress_chaining.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 10 if [ "$(id -u)" -ne 0 ];then 11 echo "SKIP: Need root privileges" 17 modinfo $mod &>/dev/null || { echo "SKIP: Need act_mirred module"; exit $ksft_skip; } 34 killall -q -9 udpgso_bench_rx 41 function config() { function 54 echo "Add tc filter ingress->egress forwarding $veth1 <-> $veth2" 62 echo "Add tc filter egress->ingress forwarding $peer1 -> $veth1, bypassing the veth pipe" 70 ./udpgso_bench_rx -t & [all …]
|
/linux/tools/testing/selftests/gpio/ |
H A D | gpio-sim.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 CONFIGFS_DIR="/sys/kernel/config/gpio-sim" 7 MODULE="gpio-sim" 15 skip() { function 17 echo "GPIO $MODULE test SKIP" 26 if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then 30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line` 33 if [ -e $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog ]; then 86 test -d $LINE_DIR || mkdir $LINE_DIR 128 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` num-lines || \ [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /************************* Config Specific Defines ************************/ 9 /* PKO queues per port for interface 0 (ports 0-15) */ 11 /* PKO queues per port for interface 1 (ports 16-31) */ 17 /* PKO queues per port for PCI (ports 32-35) */ 19 /* PKO queues per port for Loop devices (ports 36-39) */ 81 * available FAU address that is not allocated in cvmx-config.h. This 90 * the use of 8-byte aligned addresses, so proper alignment needs to 95 /* First location available after cvmx-config.h allocated region. */ 102 * SKIP details. [all …]
|
/linux/drivers/net/ethernet/renesas/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 config NET_VENDOR_RENESAS 13 kernel: saying N will just cause the configurator to skip all 19 config SH_ETH 29 config RAVB 42 config RENESAS_ETHER_SWITCH 53 config RENESAS_GEN4_PTP 54 tristate "Renesas R-Car Gen4 gPTP support" if COMPILE_TEST 60 Renesas R-Car Gen4 gPTP device driver. 62 config RTSN [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 24 #include "pinctrl-mvebu.h" 59 unsigned int pid, unsigned long *config) in mvebu_mmio_mpp_ctrl_get() argument 64 *config = (readl(data->base + off) >> shift) & MVEBU_MPP_MASK; in mvebu_mmio_mpp_ctrl_get() 70 unsigned int pid, unsigned long config) in mvebu_mmio_mpp_ctrl_set() argument 76 reg = readl(data->base + off) & ~(MVEBU_MPP_MASK << shift); in mvebu_mmio_mpp_ctrl_set() 77 writel(reg | (config << shift), data->base + off); in mvebu_mmio_mpp_ctrl_set() 86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid() 87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() [all …]
|
/linux/drivers/clk/qcom/ |
H A D | clk-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 17 #include "clk-pll.h" 31 ret = regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_enable() 35 /* Skip if already enabled or in FSM mode */ in clk_pll_enable() 40 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_BYPASSNL, in clk_pll_enable() 47 * de-asserting the reset. Delay 10us just to be safe. in clk_pll_enable() 51 /* De-assert active-low PLL reset. */ in clk_pll_enable() 52 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_RESET_N, in clk_pll_enable() 61 return regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_OUTCTRL, in clk_pll_enable() [all …]
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_XILINX 13 kernel: saying N will just cause the configurator to skip all 19 config XILINX_EMACLITE 26 config XILINX_AXI_EMAC 36 config XILINX_LL_TEMAC 37 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
|
/linux/drivers/net/wireless/rsi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config WLAN_VENDOR_RSI 9 kernel: saying N will just cause the configurator to skip all the 15 config RSI_91X 23 config RSI_DEBUGFS 31 config RSI_SDIO 39 config RSI_USB 47 config RSI_COEX
|
/linux/drivers/net/ethernet/qlogic/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_QLOGIC 14 kernel: saying N will just cause the configurator to skip all 20 config QLA3XXX 29 config QLCNIC 37 config QLCNIC_SRIOV 38 bool "QLOGIC QLCNIC 83XX family SR-IOV Support" 47 config QLCNIC_DCB 58 config QLCNIC_HWMON 69 config NETXEN_NIC [all …]
|
/linux/drivers/net/ethernet/micrel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_MICREL 14 kernel: saying N will just cause the configurator to skip all 20 config KS8842 24 This platform driver is for KSZ8841(1-port) / KS8842(2-port) 28 config KS8851 40 config KS8851_MLL 53 config KSZ884X_PCI
|
/linux/drivers/net/ethernet/i825xx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_I825XX 14 kernel: saying N will just cause the configurator to skip all 20 config ARM_ETHER1 27 config BVME6000_NET 36 config LASI_82596 41 found in Hewlett-Packard PA-RISC machines with 10Mbit ethernet. 43 config MVME16x_NET 52 config SNI_82596 56 Say Y here to support the on-board Intel 82596 ethernet controller [all …]
|
/linux/drivers/net/ethernet/sgi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_SGI 14 kernel: saying N will just cause the configurator to skip all 20 config SGI_IOC3_ETH 29 config SGI_O2MACE_ETH
|
/linux/drivers/net/ethernet/microchip/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_MICROCHIP 13 kernel: saying N will just cause the configurator to skip all 19 config ENC28J60 29 config ENC28J60_WRITEVERIFY 36 config ENCX24J600 45 config LAN743X
|
/linux/drivers/net/ethernet/atheros/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_ATHEROS 14 kernel: saying N will just cause the configurator to skip all 20 config AG71XX 21 tristate "Atheros AR7XXX/AR9XXX built-in ethernet mac support" 29 config ATL2 40 config ATL1 52 config ATL1E 63 config ATL1C 74 config ALX [all …]
|
/linux/drivers/net/ethernet/natsemi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_NATSEMI 13 kernel: saying N will just cause the configurator to skip all 19 config MACSONIC 24 the onboard Ethernet in many Quadras as well as some LC-PDS, 31 config MIPS_JAZZ_SONIC 36 Acer PICA, Olivetti M700-10 and a few other identical OEM systems. 38 config NATSEMI 49 config NS83820 55 the D-Link DGE-500T, PureData's PDP8023Z-TG, SMC's SMC9462TX, [all …]
|
/linux/drivers/net/ethernet/cirrus/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_CIRRUS 14 kernel: saying N will just cause the configurator to skip all 20 config CS89x0 23 config CS89x0_ISA 39 config CS89x0_PLATFORM 50 config EP93XX_ETH 58 config MAC89x0 63 Nubus or LC-PDS network (Ethernet) card of this type, say Y here.
|
/linux/drivers/net/ethernet/seeq/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_SEEQ 14 kernel: saying N will just cause the configurator to skip all 20 config ARM_ETHER3 27 config SGISEEQ
|