/openbmc/linux/tools/memory-model/scripts/ |
H A D | README | 6 These scripts are run from the tools/memory-model directory. 10 Run all litmus tests in the litmus-tests directory, checking 17 archive that are C-language and that have "Result:" comment lines 24 initlitmushist.sh or newlitmushist.sh runs, comparing the 25 herd7 output to that of the original runs. 36 followed by "--" followed by pathnames starting from the current 41 Compare output from two different runs of the same litmus tests, 43 name per line on standard input. Not normally run manually, 67 Parse command-line arguments. Not normally run manually, 73 name per line on standard input. Not normally run manually, [all …]
|
/openbmc/u-boot/include/ |
H A D | post.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 65 #define POST_POWERON 0x01 /* test runs on power-on booting */ 66 #define POST_NORMAL 0x02 /* test runs on normal booting */ 68 #define POST_POWERTEST 0x08 /* test runs after watchdog reset */ 70 #define POST_COLDBOOT 0x80 /* first boot after power-on */ 72 #define POST_ROM 0x0100 /* test runs in ROM */ 73 #define POST_RAM 0x0200 /* test runs in RAM */ 74 #define POST_MANUAL 0x0400 /* test runs on diag command */ 76 #define POST_PREREL 0x1000 /* test runs before relocation */ 79 #define POST_STOP 0x4000 /* Interrupt POST sequence on fail */ [all …]
|
/openbmc/linux/arch/mips/jazz/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 depends on MACH_JAZZ 8 kernel that runs on these, say Y here. For details about Linux on 9 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at 10 <http://www.linux-mips.org/>. 14 depends on MACH_JAZZ 19 kernel that runs on these, say Y here. For details about Linux on 20 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at 21 <http://www.linux-mips.org/>. 24 bool "Support for Olivetti M700-10" [all …]
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | mbm_test.c | 1 // SPDX-License-Identifier: GPL-2.0 22 int runs, ret, avg_diff_per; in show_bw_info() local 29 for (runs = 1; runs < NUM_OF_RUNS ; runs++) { in show_bw_info() 30 sum_bw_imc += bw_imc[runs]; in show_bw_info() 31 sum_bw_resc += bw_resc[runs]; in show_bw_info() 36 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_bw_info() 55 int runs, ret; in check_results() local 67 runs = 0; in check_results() 77 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results() 78 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results() [all …]
|
/openbmc/qemu/scripts/simplebench/ |
H A D | simplebench.py | 33 """Benchmark one test-case 35 test_func -- benchmarking function with prototype 37 arguments and on success returns dict with 'seconds' or 41 info. On failure test_func should return {'error': str}. 43 test_env -- test environment - opaque first argument for test_func 44 test_case -- test case - opaque second argument for test_func 45 count -- how many times to call test_func, to calculate average 46 initial_run -- do initial run of test_func, which don't get into result 47 slow_limit -- stop at slow run (that exceedes the slow_limit by seconds). 49 drop_caches -- drop caches before each run [all …]
|
/openbmc/openbmc/poky/documentation/test-manual/ |
H A D | ptest.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 7 A Package Test (ptest) runs tests against packages built by the 8 OpenEmbedded build system on the target machine. A ptest contains at 9 least two items: the actual test, and a shell script (``run-ptest``) 11 contain the actual test --- the script only starts the test. On the other 12 hand, the test can be anything from a simple shell script that runs a 28 A recipe is "ptest-enabled" if it inherits the :ref:`ref-classes-ptest` 39 EXTRA_IMAGE_FEATURES += "ptest-pkgs" 48 The ``ptest-runner`` package installs a shell script that loops through 49 all installed ptest test suites and runs them in sequence. Consequently, [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | lockup-watchdogs.rst | 14 "softlockup_panic" (see "Documentation/admin-guide/kernel-parameters.rst" for 26 (see "Documentation/admin-guide/kernel-parameters.rst" for details). 36 The soft and hard lockup detectors are built on top of the hrtimer and 41 A periodic hrtimer runs to generate interrupts and kick the watchdog 43 (compile-time initialized to 10 and configurable through sysctl of the 47 generate a kernel warning or call panic, depending on the 50 The watchdog job runs in a stop scheduling thread that updates a 64 event. The right value for a particular environment is a trade-off 67 By default, the watchdog runs on all online cores. However, on a 68 kernel configured with NO_HZ_FULL, by default the watchdog runs only [all …]
|
/openbmc/linux/Documentation/virt/ |
H A D | ne_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 For example, an application that processes sensitive data and runs in a VM, 16 application then runs in a separate VM than the primary VM, namely an enclave. 17 It runs alongside the VM that spawned it. This setup matches low latency 29 1. An enclave abstraction process - a user space process running in the primary 38 translated into actions taken on the hypervisor side; that's the Nitro 39 hypervisor running on the host where the primary VM is running. The Nitro 40 hypervisor is based on core KVM technology. 42 2. The enclave itself - a VM running on the same host as the primary VM that 52 An enclave runs on dedicated cores. CPU 0 and its CPU siblings need to remain [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-check-branches.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a group of kvm.sh tests on the specified commits. This currently 5 # unconditionally does three-minute runs on each scenario in CFLIST, 9 # might grow some command-line arguments. 11 # Usage: kvm-check-branches.sh commit1 commit2..commit3 commit4 ... 14 # specification of commits is needed, please use "git rev-list" to 19 # This script creates a yyyy.mm.dd-hh.mm.ss-group entry in the "res" 21 # moves them under the yyyy.mm.dd-hh.mm.ss-group entry, each in its own 22 # directory numbered in run order, that is, "0001", "0002", and so on. 23 # For successful runs, the large build artifacts are removed. Doing this [all …]
|
/openbmc/qemu/include/sysemu/ |
H A D | block-backend-common.h | 4 * Copyright (C) 2014-2016 Red Hat, Inc. 10 * or later. See the COPYING.LIB file in the top-level directory. 17 #include "block/throttle-groups.h" 34 * See include/block/block-global-state.h for more information about 39 * Runs when virtual media changed (monitor commands eject, change) 40 * Argument load is true on load and false on eject. 47 * Runs when an eject request is issued from the monitor, the tray 63 * Runs when the backend receives a drain request. 67 * Runs when the backend's last drain request ends. 76 * I/O API functions. These functions are thread-safe. [all …]
|
/openbmc/linux/Documentation/powerpc/ |
H A D | kasan.txt | 1 KASAN is supported on powerpc on 32-bit and Radix 64-bit only. 6 KASAN is supported on both hash and nohash MMUs on 32-bit. 18 and Book3E processors floating around on the mailing list, but nothing has been 21 KASAN support on Book3S is a bit tricky to get right: 23 - It would be good to support inline instrumentation so as to be able to catch 26 - Inline instrumentation requires a fixed offset. 28 - Book3S runs code with translations off ("real mode") during boot, including a 29 lot of generic device-tree parsing code which is used to determine MMU 32 - Some code - most notably a lot of KVM code - also runs with translations off 35 - Therefore any offset has to point to memory that is valid with [all …]
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 KUnit - Linux Kernel Unit Testing 28 of test cases called test suites. The tests either run on kernel boot 29 if built-in, or load as a module. KUnit automatically flags and reports 31 :doc:`KTAP (Kernel - Test Anything Protocol) format</dev-tools/ktap>`. 40 calls, memory management, device drivers and so on. 42 KUnit follows the white-box testing approach. The test has access to 43 internal system functionality. KUnit runs in kernel space and is not 44 restricted to things exposed to user-space. 47 that configures the Linux kernel, runs KUnit tests under QEMU or UML [all …]
|
H A D | architecture.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - `In-Kernel Testing Framework`_ 10 - `kunit_tool (Command-line Test Harness)`_ 12 In-Kernel Testing Framework 19 - Organizes tests 20 - Reports test results 21 - Provides test utilities 24 ---------- 32 ``generate_params`` is optional for non-parameterized tests. 38 - ``->priv``: The setup functions can use it to store arbitrary test [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | test-main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <dm/uclass-internal.h> 26 struct dm_test_state *dms = uts->priv; in dm_test_init() 29 gd->dm_root = NULL; in dm_test_init() 35 gd->of_root = of_live ? uts->of_root : NULL; in dm_test_init() 38 dms->root = dm_root(); in dm_test_init() 82 const char *fname = strrchr(test->file, '/') + 1; in dm_do_test() 84 printf("Test: %s: %s%s\n", test->name, fname, in dm_do_test() 88 uts->start = mallinfo(); in dm_do_test() 89 if (test->flags & DM_TESTF_SCAN_PDATA) in dm_do_test() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/ |
H A D | design.md | 3 This document describes the high-level design of the `phosphor-regulators` 6 The low-level design is documented using doxygen comments in the source files. 13 The `phosphor-regulators` application is a single-threaded C++ executable. It is 14 a 'daemon' process that runs continually. The application is launched by systemd 15 when the BMC reaches the Ready state and before the chassis is powered on. 17 The application is driven by a system-specific JSON configuration file. The JSON 24 - Manager 25 - Top level class created in `main()`. 26 - Loads the JSON configuration file. 27 - Implements the D-Bus `configure` and `monitor` methods. [all …]
|
/openbmc/linux/kernel/rcu/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RCU-related debugging configuration options 13 depends on PROVE_RCU && RCU_EXPERT 19 false-positive splats, we keep it default disabled but once all 28 depends on DEBUG_KERNEL 32 This option provides a kernel module that runs performance 33 tests on the RCU infrastructure. The kernel module may be built 34 after the fact on the running kernel to be tested, if desired. 43 depends on DEBUG_KERNEL 47 This option provides a kernel module that runs torture tests [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | get_managed_objects.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 11 * distributed under the License is distributed on an "AS IS" BASIS, 34 * D-Bus method to find and add the results. When that is done, 35 * it then runs any actions listed in the JSON. 82 * @param[in] jsonObj - JSON configuration of this action 83 * @param[in] groups - Groups of dbus objects the action uses 90 * @param[in] zone - Zone to run the action on 95 * @brief Set the zones on the action and the embedded actions 97 * @param[in] zones - Zones for the action and timer's actions 99 * Sets the zones on this action and the timer's actions to run against [all …]
|
/openbmc/openbmc/meta-raspberrypi/.github/workflows/ |
H A D | compliance.yml | 1 # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> 3 # SPDX-License-Identifier: MIT 7 on: 13 runs-on: ubuntu-latest 15 - name: Checkout the code 18 fetch-depth: 0 19 - name: Build a temporary DCO image 20 uses: ./.github/actions/docker-build 22 docker_image: dco-check 24 - name: Do DCO check [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | test_vmalloc.sh | 2 # SPDX-License-Identifier: GPL-2.0 14 NUM_CPUS=`grep -c ^processor /proc/cpuinfo` 19 # Kselftest framework requirement - SKIP code is 4. 32 uid=$(id -u) 33 if [ $uid -ne 0 ]; then 53 echo "It runs all test cases on one single CPU with sequential order." 84 echo -n "Usage: $0 [ performance ] | [ stress ] | | [ smoke ] | " 96 echo "# Runs 1 test(id_1), repeats it 5 times by NUM_CPUS workers" 99 echo -n "# Runs 4 tests(id_1|id_2|id_4|id_16) on one CPU with " 101 echo -n "./${DRIVER}.sh sequential_test_order=1 " [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-mic | 8 PCIe form factor add-in Coprocessor card based on the Intel Many 9 Integrated Core (MIC) architecture that runs a Linux OS. 26 MIC device. For example - "x100" 34 MIC device. For example - "A0" or "B0" 48 On reading this entry after an OSPM resume, 77 An Intel MIC device runs a Linux OS during its operation. This 79 entry provides the status on why the card OS was shutdown. 96 An Intel MIC device runs a Linux OS during its operation. Before 99 self-bootable machines. When read, this entry provides 113 /lib/firmware/ where the firmware image to be booted on the [all …]
|
/openbmc/linux/Documentation/driver-api/mmc/ |
H A D | mmc-async-req.rst | 11 pre-fetch makes the cache overhead relatively significant. If the DMA 15 The intention of non-blocking (asynchronous) MMC requests is to minimize the 19 dma_unmap_sg are processing. Using non-blocking MMC requests makes it 26 The mmc_blk_issue_rw_rq() in the MMC block driver is made non-blocking. 32 performance gain is 5% for large writes and 10% on large reads on a L2 cache 33 platform. In power save mode, when clocks run on a lower frequency, the DMA 37 Details on measurements from IOZone and mmc_test 40 https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req 48 truly non-blocking. If there is an ongoing async request it waits 56 There are two optional members in the mmc_host_ops -- pre_req() and [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | pgalloc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * __pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 17 * Return: pointer to the allocated memory or %NULL on error 31 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table 34 * Return: pointer to the allocated memory or %NULL on error 43 * pte_free_kernel - free PTE-level kernel page table memory 53 * __pte_alloc_one - allocate memory for a PTE-level user page table 57 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor(). 62 * Return: `struct page` referencing the ptdesc or %NULL on error 81 * pte_alloc_one - allocate a page for PTE-level user page table [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_rng-test.c | 21 #include "libqtest-single.h" 77 while (retries-- > 0) { in rng_wait_ready() 87 * Perform a frequency (monobit) test, as defined by NIST SP 800-22, on the 88 * sequence in buf and return the P-value. This represents the probability of a 104 * Each 1 counts as 1, each 0 counts as -1. in calc_monobit_p() 105 * s = cp - (8 - cp) = 2 * cp - 8 in calc_monobit_p() 107 sn += 2 * ctpop8(buf[i]) - 8; in calc_monobit_p() 116 * Perform a runs test, as defined by NIST SP 800-22, and return the P-value. 118 * number of runs (i.e. uninterrupted sequences of identical bits) as the 136 for (k = 0; k < nr_bits - 1; k++) { in calc_runs_p() [all …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | perf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 :Date: 2019-03-06 16 ------------ 20 Userspace always runs at EL0 and thus this attribute will exclude EL0. 24 -------------- 28 The kernel runs at EL2 with VHE and EL1 without. Guest kernels always run 31 For the host this attribute will exclude EL1 and additionally EL2 on a VHE 39 ---------- 46 For a non-VHE host this attribute will exclude EL2 as we consider the 47 hypervisor to be any code that runs at EL2 which is predominantly used for [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | device_monitor.hpp | 4 #include <phosphor-logging/log.hpp> 22 * on an interval. Do the monitoring by calling run(). 38 * @param[in] d - device to monitor 39 * @param[in] e - event object 40 * @param[in] i - polling interval in ms 49 * Starts the timer to monitor the device on an interval. 60 * Runs in the timer callback 66 device->analyze(); in analyze() 70 * The device to run the analysis on 75 * The timer that runs fault check polls.
|