| /linux/drivers/gpu/drm/ci/ |
| H A D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 02337aec715c25dae7ff2479d986f831c77fe536 6 TARGET_BRANCH: drm-next 10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git 13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs 14 MESA_TEMPLATES_COMMIT: &ci-templates-commit c6aeb16f86e32525fa630fb99c66c4f3e62fc3cb 16 CI_PRE_CLONE_SCRIPT: |- 17 set -o xtrace 18 …-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT… 19 bash download-git-cache.sh [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 22 PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config 25 GENFLAGS := -DHAVE_GENHDR 28 BPF_GCC ?= $(shell command -v bpf-gcc;) 32 OPT_FLAGS ?= $(if $(RELEASE),-O2,-O0) 34 LIBELF_CFLAGS := $(shell $(PKG_CONFIG) libelf - 370 docs: global() target [all...] |
| /linux/drivers/media/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Additional info and docs are available on the web at 36 If not selected, all non-optional media core functionality 47 By default, a media driver auto-selects all possible ancillary 65 # Multimedia support - automatically enable V4L2 and DVB core 107 Additional info and docs are available on the web at 127 prompt "Platform-specific devices" if MEDIA_SUPPORT_FILTER 141 prompt "Test drivers" if MEDIA_SUPPORT_FILTER 146 that simulate real hardware. Very useful to test userspace 150 Say Y if you want to use some virtual test driver. [all …]
|
| /linux/fs/ |
| H A D | Kconfig.binfmt | 1 # SPDX-License-Identifier: GPL-2.0-only 18 however) and makes building run-time libraries very easy. Many new 23 <http://www.tldp.org/docs.html#howto>. 37 prior bug fixes into a regression test collection. This is really 39 compat_binfmt_elf KUnit test is also created. 93 the /proc/PID/coredump_filter pseudo-file; this setting is 148 If you say Y here, it will be possible to plug wrapper-driven binary 151 Emacs-Lisp. It's also useful if you often run DOS executables under 152 the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from 153 <http://www.tldp.org/docs.html#howto>). Once you have [all …]
|
| /linux/rust/pin-init/ |
| H A D | README.md | 1 [](https://crates.io/crates/pin-init) 2 [](https://docs.rs/pin-init/) 3 [](https://deps.rs/repo/github/Rust-fo [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | buildid.sh | 3 # SPDX-License-Identifier: GPL-2.0 6 if ! [ -x "$(command -v readelf)" ]; then 12 if ! [ -x "$(command -v cc)" ]; then 17 # check what we need to test windows binaries 20 if ! perf version --build-options | grep -q 'libbfd: .* on '; then 31 if [ ${run_pe} -eq 1 ]; then 32 wineprefix=$(mktemp -d /tmp/perf.wineprefix.XXX) 41 ex_pe=$(dirname $0)/../pe-file.exe 43 echo 'int main(void) { return 0; }' | cc -Wl,--build-id=sha1 -o ${ex_sha1} -x c - 44 echo 'int main(void) { return 0; }' | cc -Wl,--build-id=md5 -o ${ex_md5} -x c - [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | bug-bisect.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 9 change that broke something -- for example when some functionality stopped 13 kernel, better follow Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst 17 care about the result -- for example, because the problem happens after the 29 a fully reliable and straight-forward way to reproduce the regression, too.* 38 Instead of Git tags like 'v6.0' and 'v6.1' you can specify commit-ids, too. 68 test after this (roughly 10 steps)'. In that case go back to step 1. 75 mentioning the culprit's commit-id. 85 git bisect log > ~/bisection-log 86 cp .config ~/bisection-config-culprit [all …]
|
| H A D | java.rst | 2 ---------------------------------------------- 14 ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO 45 ':Applet:M::<!--applet::/usr/bin/appletviewer:' 52 existing html-files to contain ``<!--applet-->`` in the first line 62 gcc -O2 -o javaclassname javaclassname.c 71 .. code-block:: sh 74 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java 76 if [ -z "$1" ]; then 78 echo Usage: $0 class-file 84 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'` [all …]
|
| /linux/drivers/firewire/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # firewire-core does not depend on PCI but is 11 This is the new-generation IEEE 1394 (FireWire) driver stack 14 See http://ieee1394.docs.kernel.org/en/latest/migration.html 19 called firewire-core. 31 kernel devs running KUnit test harness and are not for inclusion 35 to the KUnit documentation in Documentation/dev-tools/kunit/. 47 kernel devs running KUnit test harness and are not for inclusion 51 to the KUnit documentation in Documentation/dev-tools/kunit/. 63 kernel devs running KUnit test harness and are not for inclusion [all …]
|
| /linux/Documentation/bpf/ |
| H A D | s390.rst | 10 document describes how to test BPF in an s390 QEMU guest. 12 2. One-time setup 15 The following is required to build and run the test suite: 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain [all …]
|
| H A D | bpf_devel_QA.rst | 10 Documentation/process/submitting-patches.rst. This document only describes 21 -------------------------------------------- 48 ------------------------------------------------------------------------ 49 A: BPF CI is GitHub based and hosted at https://github.com/kernel-patches/bpf. 55 - Create a fork of the aforementioned repository in your own account (one time 58 - Clone the fork locally, check out a new branch tracking either the bpf-next 59 or bpf branch, and apply your to-be-tested patches on top of it 61 - Push the local branch to your fork and create a pull request against 62 kernel-patches/bpf's bpf-next_base or bpf_base branch, respectively 68 Note furthermore that both base branches (bpf-next_base and bpf_base) will be [all …]
|
| /linux/Documentation/rust/ |
| H A D | testing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 This document contains useful information how to test the Rust code in the 11 - The KUnit tests. 12 - The ``#[test]`` tests. 13 - The Kselftests. 16 --------------- 27 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y 29 Alternatively, KUnit can run them as kernel built-in at boot. Refer to 30 Documentation/dev-tools/kunit/index.rst for the general KUnit documentation 31 and Documentation/dev-tools/kunit/architecture.rst for the details of kernel [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | gcov.rst | 6 is exported in gcov-compatible format via the "gcov" debugfs directory. 8 directory and use gcov with the ``-o`` option as follows (requires root):: 10 # cd /tmp/linux-out 11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c 14 in the current directory. In addition, graphical gcov front-ends such 21 * test improvement (how do I change my test to cover these lines?) 26 .. _lcov: https://github.com/linux-test-project/lcov 30 ----------- 48 mount -t debugfs none /sys/kernel/debug 52 ------------- [all …]
|
| H A D | checkpatch.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 27 - -q, --quiet 31 - -v, --verbose 32 Enable verbose mode. Additional verbose test descriptions are output 35 - --no-tree 39 - --no-signoff 41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at 43 or otherwise have the right to pass it on as an open-source patch. 47 Signed-off-by: Random J Developer <random@developer.example.org> 49 Setting this flag effectively stops a message for a missing signed-off-by [all …]
|
| /linux/rust/kernel/ |
| H A D | kunit.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! KUnit-based macros for Rust unit tests. 5 //! C header: [`include/kunit/test.h`](srctree/include/kunit/test.h) 7 //! Reference: <https://docs.kernel.org/dev-tools/kunit/index.html> 15 /// Prints a KUnit error-level message. 20 // SAFETY: The format string is null-terminate in err() [all...] |
| /linux/rust/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_RUST) += core.o compiler_builtins.o ffi.o 7 always-$(CONFIG_RUST) += exports_core_generated.h 11 obj-$(CONFIG_RUST) += helpers/helpers.o 12 CFLAGS_REMOVE_helpers/helpers.o = -Wmissing-prototypes -Wmissing-declarations 14 always-$(CONFIG_RUST) += bindings/bindings_generated.rs bindings/bindings_helpers_generated.rs 15 obj-$(CONFIG_RUST) += bindings.o pin_init.o kernel.o 16 always-$(CONFIG_RUST) += exports_helpers_generated.h \ 19 always-$(CONFIG_RUST) += uapi/uapi_generated.rs 20 obj-$(CONFIG_RUST) += uapi.o [all …]
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * kselftest.h: low-level kselftest framework to include from 16 * For each test, report any progress, debugging, etc with: 21 * and finally report the pass/fail/skip/xfail/xpass state of the test 164 … "# %u skipped test(s) detected. Consider enabling relevant config options to improve coverage.\n", in ksft_print_cnts() 234 * ksft_test_result() - Report test success based on truth of condition 236 * @condition: if true, report test success, otherwise failure. 334 /* Docs seem to call for double space if directive is absent */ in ksft_test_result_code() 349 * ksft_test_result() - Report test success based on truth of condition 351 * @condition: if true, report test success, otherwise failure. [all …]
|
| /linux/Documentation/process/ |
| H A D | backporting.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 merging branches, or resolving conflicts in their day-to-day work, so 24 This document aims to be a comprehensive, step-by-step guide to 31 in which case you just cherry-pick it directly using 32 ``git cherry-pick``. However, if the patch comes from an email, as it 42 where the patch applies cleanly and *then* cherry-pick it over to your 47 can apply it to the most recent mainline kernel and then cherry-pick it 54 in more unrelated changes in the context of the diff when cherry-picking 57 A good reason to prefer ``git cherry-pick`` over ``git am`` is that git 64 email, you can use ``b4 am`` with the options ``-g``/``--guess-base`` [all …]
|
| /linux/include/linux/ |
| H A D | compiler_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * see https://github.com/rust-lang/rust-bindgen/issues/2244. 27 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */ 40 # define __cond_acquires(x) __attribute__((context(x,0,-1))) 43 # define __release(x) __context__(x,-1) 50 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) 78 # define ACCESS_PRIVATE(p, member) ((p)->member) 98 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-cold-function-at… 99 * gcc: https://gcc.gnu.org/onlinedocs/gcc/Label-Attributes.html#index-cold-label-attribute 101 * When -falign-functions=N is in use, we must avoid the cold attribute as [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 19 logger = logging.getLogger("hidtools.test.tablet") 44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 67 def from_evdev(cls, evdev, test_button) -> "PenState": 100 ) -> "PenState": 147 def valid_transitions(self) -> Tuple["PenState", ...]: 207 def historically_tolerated_transitions(self) -> Tuple["PenState", ...]: 209 for skipping the in-range state, due to historical reasons. 272 def legal_transitions() -> Dict[str, Tuple["PenState", ...]]: [all …]
|
| /linux/net/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 when running on a stand-alone machine that isn't connected to any 20 contained in the package net-tools, the location and version number 24 recommended to read the NET-HOWTO, available from 25 <http://www.tldp.org/docs.html#howto>. 42 achieve this, you need to set skb_shinfo(skb)->frag_list to the 47 compat-independen [all...] |
| /linux/include/uapi/linux/ |
| H A D | fdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 36 #define STATUS_DMA 0x20 /* 0- DMA mode */ 37 #define STATUS_DIR 0x40 /* 0- cpu->fdc */ 51 #define ST1_ND 0x04 /* No Data - unreadable */ 67 #define ST3_DS 0x08 /* drive is double-sided */ 95 * http://www.intel.com/design/archives/periphrl/docs/29046803.htm */ 118 #define FDC_765ED 0x30 /* Non-Intel 1MB-compatible FDC, can't detect */ 122 #define FDC_82077 0x52 /* 82077AA-1 */ 125 #define FDC_82078_1 0x61 /* 82078-1 (2Mbps fdc) */ 126 #define FDC_S82078B 0x62 /* S82078B (first seen on Adaptec AVA-2825 VLB [all …]
|
| /linux/rust/kernel/alloc/ |
| H A D | allocator.rs | 1 // SPDX-License-Identifier: GPL-2.0 9 //! Reference: <https://docs.kernel.org/core-api/memory-allocation.html> 61 ) -> *mut crate::ffi::c_void, 81 /// - it accepts any pointer to a valid memory allocation allocated by this function. 82 /// - memory allocated by this function remains valid until it is passed to this function. 91 ) -> Result<NonNull<[u8]>, AllocError> { in call() 105 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc` and thus only requires that in call() 107 // - `ptr` is either NULL or valid by the safety requirements of this function. in call() 110 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc`. in call() 111 // - Those functions provide the guarantees of this function. in call() [all …]
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 .. include:: ../disclaimer-zh_TW.rst 11 英文版維護者: Greg Kroah-Hartman <greg@kroah.com> 32 ---- 44 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall] 46 - "Practical C Programming" by Steve Oualline [O'Reilly] 48 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall] 65 -------- 70 :ref:`Documentation/translations/zh_TW/process/license-rules.rst <tw_kernel_licensing>` 75 https://www.gnu.org/licenses/gpl-faq.html [all …]
|
| /linux/Documentation/translations/zh_CN/process/ |
| H A D | howto.rst | 3 .. include:: ../disclaimer-zh_CN.rst 9 英文版维护者: Greg Kroah-Hartman <greg@kroah.com> 29 ---- 41 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall] 43 - "Practical C Programming" by Steve Oualline [O'Reilly] 45 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall] 62 -------- 67 :ref:`Documentation/translations/zh_CN/process/license-rules.rst <cn_kernel_licensing>` 72 https://www.gnu.org/licenses/gpl-faq.html 76 ---- [all …]
|