Home
last modified time | relevance | path

Searched +full:check +full:- +full:patch (Results 1 – 9 of 9) sorted by relevance

/kvm-unit-tests/scripts/
H A Dcheck-patch.py3 # check-patch.py: run checkpatch.pl across all commits in a branch
7 # SPDX-License-Identifier: GPL-2.0-or-later
9 # This file is taken from qemu.git 029e13a8a56a2 .gitlab-ci.d/check-patch.py
17 namespace = "kvm-unit-tests"
28 subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
29 subprocess.check_call(["git", "fetch", "check-patch", "master"])
34 ancestor = subprocess.check_output(["git", "merge-base",
35 "check-patch/master", "HEAD"],
40 log = subprocess.check_output(["git", "log", "--format=%H %s",
44 subprocess.check_call(["git", "remote", "rm", "check-patch"])
[all …]
H A Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
44 my $check = 0;
73 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
76 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
78 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
92 -q, --quiet quiet
93 -v, --verbose verbose mode
94 --no-tree run without a kernel tree
[all …]
H A Dget_maintainer.pl2 # SPDX-License-Identifier: GPL-2.0
8 # the files modified in a patch or for a file
10 # usage: perl scripts/get_maintainer.pl [OPTIONS] <patch>
11 # perl scripts/get_maintainer.pl [OPTIONS] -f <file>
42 my $email_git_since = "1-year-ago";
43 my $email_hg_since = "-365";
73 my @fixes = (); # If a patch description includes Fixes: lines
85 push(@signature_tags, "Signed-off-by:");
86 push(@signature_tags, "Reviewed-by:");
87 push(@signature_tags, "Acked-by:");
[all …]
H A Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
22 kernel-doc - Print formatted kernel documentation to stdout
26 …kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-section…
27 [ -man |
28 -rst [-sphinx-version VERSION] [-enable-lineno] |
29 -none
32 -export |
33 -internal |
34 [-function NAME] ... |
[all …]
/kvm-unit-tests/
H A DREADME1 # Welcome to kvm-unit-tests
3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level
18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md).
20 ## Cross-compiling
25 ./configure --arc
[all...]
H A DREADME.md1 # Welcome to kvm-unit-tests
3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level
18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md).
20 ## Cross-compiling
25 ./configure --arch=arm64 --cross-prefix=aarch64-linux-gnu-
32 ./configure --cc=clang
35 clang may also be used with cross binutils when cross-compiling. For example,
38 ./configure --arch=riscv64 --cc=clang --cflags='--target=riscv64' \
39 --cross-prefix=riscv64-linux-gnu-
48 (send tests/some-test somewhere)
[all …]
H A D.gitlab-ci.yml4 - dnf update -y
5 - dnf install -y make python
15 - logs
23 - build/logs
25 build-aarch64:
28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu
29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
30 - make -j2
31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
33 debug-bp
[all …]
/kvm-unit-tests/powerpc/
H A Dtm.c17 /* Check "ibm,pa-features" property of a CPU node for the TM flag */
23 prop = fdt_get_property(dt_fdt(), fdtnode, "ibm,pa-features", &plen); in cpu_has_tm()
26 /* Sanity check for the property layout (first two bytes are header) */ in cpu_has_tm()
27 assert(plen >= 8 && prop->data[1] == 0 && prop->data[0] <= plen - 2); in cpu_has_tm()
35 if (prop->data[0] >= 24 && (prop->data[24] & 0x80) != 0) in cpu_has_tm()
39 /* Check amount of CPUs nodes that have the TM flag */
54 * Returns: FALSE - Failure
55 * TRUE - Success
78 * If the test passes then your kernel probably has the necessary patch.
136 /* kvm-unit-tests can limit number of CPUs present */ in main()
[all …]
H A Dcstart64.S25 /* Switch to 64-bit mode */
41 subi r31, r31, 0b - start /* QEMU's kernel load address */
43 ld r1, (p_stack - start)(r31)
44 ld r2, (p_toc - start)(r31)
62 ld r4, (p_dyn - start)(r31)
82 addi r6,r6,-8
99 /* powernv machine does not check broken_sc1 */
106 /* patch sc1 if needed */
133 /* Switch to 64-bit mode */
142 subi r31, r31, 0b - start /* QEMU's kernel load address */
[all …]