Home
last modified time | relevance | path

Searched +full:self +full:- +full:test (Results 1 – 25 of 51) sorted by relevance

123

/Documentation/networking/device_drivers/ethernet/cirrus/
Dcs89x0.rst1 .. SPDX-License-Identifier: GPL-2.0
33 2.1 CS8900-based Adapter Configuration
34 2.2 CS8920-based Adapter Configuration
46 5.2.1 Diagnostic Self-Test
47 5.2.2 Diagnostic Network 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 …]
/Documentation/dev-tools/kunit/
Dusage.rst1 .. SPDX-License-Identifier: GPL-2.0
6 Test Cases
7 ----------
9 The fundamental unit in KUnit is the test case. A test case is a function with
10 the signature ``void (*)(struct kunit *test)``. It calls the function under test
13 .. code-block:: c
15 void example_test_success(struct kunit *test)
19 void example_test_failure(struct kunit *test)
21 KUNIT_FAIL(test, "This test never passes.");
27 which is a special expectation that logs a message and causes the test case to
[all …]
/Documentation/mm/
Dmultigen_lru.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Multi-Gen LRU
6 The multi-gen LRU is an alternative LRU implementation that optimizes
14 ----------
20 * Simple self-correcting heuristics
23 implementations. In the multi-gen LRU, each generation represents a
25 (time-based) common frame of reference and therefore help make better
41 choices; thus self-correction is necessary.
43 The benefits of simple self-correcting heuristics are self-evident.
51 -----------
[all …]
/Documentation/arch/powerpc/
Dcpu_features.rst8 This document describes the system (including self-modifying code) used in the
10 compile-time selection.
23 C code may test 'cur_cpu_spec[smp_processor_id()]->cpu_features' for a
28 several paths that are performance-critical and would suffer if an array
30 performance penalty but still allow for runtime (rather than compile-time) CPU
32 based on CPU 0's capabilities, so a multi-processor system with non-identical
52 and END_FTR_SECTION_IFCLR. These simply test if a flag is set (in
53 cur_cpu_spec[0]->cpu_features) or is cleared, respectively. These two macros
/Documentation/sound/cards/
Dpcmtest.rst1 .. SPDX-License-Identifier: GPL-2.0
3 The Virtual PCM Test Driver
6 The Virtual PCM Test Driver emulates a generic PCM device, and can be used for
16 * Generate random or pattern-based capturing data
21 non-interleaved access modes.
24 which is used in the corresponding selftest (alsa/pcmtest-test.sh) to check the PCM middle
29 -------------
33 * fill_mode (bool) - Buffer fill mode (see below)
41 -----------------------
44 means random data generation, the second (1 in the fill_mode) - pattern-based
[all …]
/Documentation/locking/
Dlocktorture.rst2 Kernel Lock Torture Test Operation
13 grepping for "torture"). The test is started when the module is loaded,
17 This torture test consists of creating a number of kernel threads which
30 Locktorture-specific
31 --------------------
49 - "lock_busted":
52 - "spin_lock":
55 - "spin_lock_irq":
58 - "rw_lock":
61 - "rw_lock_irq":
[all …]
Dmutex-design.rst10 -----------------
24 --------------
28 (->owner) to keep track of the lock state during its lifetime. Field owner
32 if waiter list is non-empty). In its most basic form it also includes a
33 wait-queue and a spinlock that serializes access to it. Furthermore,
34 CONFIG_MUTEX_SPIN_ON_OWNER=y systems use a spinner MCS lock (->osq), described
52 The MCS lock (proposed by Mellor-Crummey and Scott) is a simple spinlock
55 cacheline bouncing that common test-and-set spinlock implementations
56 incur. An MCS-like lock is specially tailored for optimistic spinning
66 the task is added to the wait-queue and sleeps until woken up by the
[all …]
/Documentation/trace/coresight/
Dcoresight-perf.rst1 .. SPDX-License-Identifier: GPL-2.0
4 CoreSight - Perf
15 perf record -e cs_etm//u testbinary
17 This would run some test binary (testbinary) until it exits and record
22 perf report --stdio --dump -i perf.data
26 …ERF_RECORD_AUXTRACE size: 0x11dd0 offset: 0 ref: 0x1b614fc1061b0ad1 idx: 0 tid: 531230 cpu: -1
48 for the support such as libopencsd and libopencsd-dev or download it
60 ------------------------
81 Perf test - Verify kernel and userspace perf CoreSight work
82 -----------------------------------------------------------
[all …]
/Documentation/devicetree/bindings/iio/adc/
Dnxp,imx93-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/nxp,imx93-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Haibo Chen <haibo.chen@nxp.com>
13 The ADC on iMX93 is a 8-channel 12-bit 1MS/s ADC with 4 channels
15 One-Shot and Scan (continuous) conversions. Programmable DMA
18 also has Self-test logic and Software-initiated calibration.
22 const: nxp,imx93-adc
29 - description: WDGnL, watchdog threshold interrupt requests.
[all …]
/Documentation/dev-tools/
Dtesting-overview.rst1 .. SPDX-License-Identifier: GPL-2.0
26 ------------------------------------------
28 KUnit (Documentation/dev-tools/kunit/index.rst) is an entirely in-kernel system
29 for "white box" testing: because test code is part of the kernel, it can access
32 KUnit tests therefore are best written against small, self-contained parts
36 For example, a KUnit test might test an individual kernel function (or even a
43 There is a KUnit test style guide which may give further pointers in
44 Documentation/dev-tools/kunit/style.rst
47 kselftest (Documentation/dev-tools/kselftest.rst), on the other hand, is
57 more information or functionality. If a test runs mostly or entirely within the
[all …]
Dkselftest.rst5 The kernel contains a set of "self tests" under the tools/testing/selftests/
11 from mainline offers the best coverage. Several test rings run mainline
12 kselftest suite on stable releases. The reason is that when a new test
13 gets added to test existing code to regression test a bug, we should be
14 able to run that test on an older kernel. Hence, it is important to keep
15 code that can still test an older kernel and make sure it skips the test
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
[all …]
Dkgdb.rst15 Kdb is simplistic shell-style interface which you can use on a system
22 kernel built-ins or in kernel modules if the code was built with
40 kgdb I/O modules compiled as built-ins or loadable kernel modules in the
41 test machine's kernel.
46 - In order to enable compilation of kdb, you must first enable kgdb.
48 - The kgdb test compile options are described in the kgdb test suite
52 ------------------------------
55 :menuselection:`Kernel hacking --> Kernel debugging` and select
73 certain regions of the kernel's memory space as read-only. If kgdb
93 -----------------------------
[all …]
/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst1 .. SPDX-License-Identifier: GPL-2.0
12 --------------
16 RAM-based filesystem.
39 ------------------
57 Another reason ramdisks are semi-obsolete is that the introduction of
63 ----------------
76 ---------------
92 ------------------
106 - The old initrd was always a separate file, while the initramfs archive is
107 linked into the linux kernel image. (The directory ``linux-*/usr`` is
[all …]
/Documentation/arch/arm64/
Dperf.rst1 .. SPDX-License-Identifier: GPL-2.0
13 :Date: 2019-03-06
16 ------------
24 --------------
39 ----------
46 For a non-VHE host this attribute will exclude EL2 as we consider the
55 ----------------------------
59 The KVM host may run at EL0 (userspace), EL1 (non-VHE kernel) and EL2 (VHE
60 kernel or non-VHE hypervisor).
65 exclusively rely on the PMU's hardware exception filtering - therefore we
[all …]
/Documentation/admin-guide/
Dverify-bugs-and-bisect-regressions.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
9 currently supported by developers -- to then explain how to locate the change
22 read and navigate this document -- especially when you want to look something
26 https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
32 over to the* ':ref:`step-by-step guide <introguide_bissbs>`' *below. It utilizes
45 *segment 2*. Then you can submit a preliminary report -- or continue with
47 full-fledged regression report. In the following example 6.0.13 is assumed to be
55 # * Ensure Secure Boot permits booting self-compiled Linux kernels.
59 git clone -o mainline --no-checkout \
62 git remote add -t master stable \
[all …]
/Documentation/RCU/
Dtorture.rst1 .. SPDX-License-Identifier: GPL-2.0
4 RCU Torture Test Operation
13 be loaded to run a torture test. The test periodically outputs
15 command (perhaps grepping for "torture"). The test is started
19 Documentation/admin-guide/kernel-parameters.txt.
26 …rcu-torture:--- Start of test: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_no_idle_…
27 …rcu-torture: rtc: (null) ver: 155441 tfle: 0 rta: 155441 rtaf: 8884 rtf: 155440 rtmbe: 0…
28 rcu-torture: Reader Pipe: 727860534 34213 0 0 0 0 0 0 0 0 0
29 rcu-torture: Reader Batch: 727877838 17003 0 0 0 0 0 0 0 0 0
30 …rcu-torture: Free-Block Circulation: 155440 155440 155440 155440 155440 155440 155440 155440 1554…
[all …]
Dchecklist.rst1 .. SPDX-License-Identifier: GPL-2.0
14 0. Is RCU being applied to a read-mostly situation? If the data
18 tool for the job. Yes, RCU does reduce read-side overhead by
19 increasing write-side overhead, which is exactly why normal uses
27 Yet another exception is where the low real-time latency of RCU's
28 read-side primitives is critically important.
33 counter-intuitive situation where rcu_read_lock() and
49 them -- even x86 allows later loads to be reordered to precede
59 2. Do the RCU read-side critical sections make proper use of
63 under your read-side code, which can greatly increase the
[all …]
/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt8 - compatible: should be set to "st,lis3lv02d-spi"
9 - reg: the chipselect index
10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless
12 - interrupts: the interrupt generated by the device
15 - compatible: should be set to "st,lis3lv02d"
16 - reg: i2c slave address
17 - Vdd-supply: The input supply for Vdd
18 - Vdd_IO-supply: The input supply for Vdd_IO
23 - st,click-single-{x,y,z}: if present, tells the device to issue an
26 - st,click-double-{x,y,z}: if present, tells the device to issue an
[all …]
/Documentation/filesystems/iomap/
Dporting.rst1 .. SPDX-License-Identifier: GPL-2.0
27 This worked well enough for direct/indirect-mapped filesystems such
28 as ext2, but is very inefficient for extent-based filesystems such
34 3. Direct access to storage on memory-like devices (fsdax) is only
40 No ->write_begin(), ->write_end() or direct_IO
49 Build the kernel, run fstests with the ``-g all`` option across a wide
53 The recommended approach is first to implement ``->iomap_begin`` (and
54 ``->iomap_end`` if necessary) to allow iomap to obtain a read-only
57 ``get_block()`` function for read-only mappings.
62 other read-only mapping operations will do the right thing.
[all …]
/Documentation/networking/devlink/
Ddevlink-health.rst1 .. SPDX-License-Identifier: GPL-2.0
14 * Self healing.
49 auto-dump is set and there is no other dump which is already stored)
52 - Auto-recovery configuration
53 - Grace period vs. time passed since last recover
63 json-like format. The API allows the driver to add nested attributes such as
85 .. list-table:: List of devlink health interfaces
88 * - Name
89 - Description
90 * - ``DEVLINK_CMD_HEALTH_REPORTER_GET``
[all …]
/Documentation/fb/
Dsstfb.rst33 You can apply the patches found in `sstfb/kernel/*-2.{2|4}.x.patch`,
35 `sstfb/patch-2.{2|4}.x-sstfb-yymmdd` to your linux source tree.
58 ----------------
64 white rectangle. why? the function's name is self-explanatory:
80 --------------
91 ----------------------
129 - 50Mhz for Voodoo 1,
130 - 75MHz for Voodoo 2.
146 - `con2fb`, maps a tty to a fbramebuffer::
150 - `sst_dbg_vgapass`, changes vga passthrou. You have to recompile the
[all …]
/Documentation/input/devices/
Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
67 ---------------------------
92 +127...-128 range, the motion is broken into multiple packets.
97 ---------------------------
104 ---------------------
120 ------------------------
[all …]
/Documentation/networking/
Doperstates.rst1 .. SPDX-License-Identifier: GPL-2.0
17 - ethernet requires to be plugged into the switch and, depending on
54 ------------------
76 Interface is in testing mode, for example executing driver self-tests
77 or media (cable) test. It can't be used for normal traffic until tests
90 -----------------
114 Note that for certain kind of soft-devices, which are not managing any
165 - subscribe to RTNLGRP_LINK
166 - set IFLA_LINKMODE to 1 via RTM_SETLINK
167 - query RTM_GETLINK once to get initial state
[all …]
/Documentation/fault-injection/
Dfault-injection.rst5 See also drivers/md/md-faulty.c and "every_nth" module option for scsi_debug.
9 --------------------------------------
11 - failslab
15 - fail_page_alloc
19 - fail_usercopy
23 - fail_futex
27 - fail_sunrpc
31 - fail_make_request
34 /sys/block/<device>/make-it-fail or
35 /sys/block/<device>/<partition>/make-it-fail. (submit_bio_noacct())
[all …]
/Documentation/process/
Dhowto.rst6 This is the be-all, end-all document on this topic. It contains
18 ------------
27 The kernel is written mostly in C, with some architecture-dependent
30 you plan to do low-level development for that architecture. Though they
34 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall]
35 - "Practical C Programming" by Steve Oualline [O'Reilly]
36 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
60 ------------
65 described in :ref:`Documentation/process/license-rules.rst <kernel_licensing>`.
72 https://www.gnu.org/licenses/gpl-faq.html
[all …]

123