| /kernel/linux/linux-6.6/drivers/gpu/drm/ci/ |
| D | check-patch.py | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # check-patch.py: run checkpatch.pl across all commits in a branch 6 # Based on qemu/.gitlab-ci.d/check-patch.py 22 subprocess.call(["git", "remote", "remove", "check-patch"], stdout=subprocess.DEVNULL, stderr=subpr… 23 subprocess.check_call(["git", "remote", "add", "check-patch", repourl]) 24 subprocess.check_call(["git", "fetch", "check-patch", os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NA… 28 ancestor = subprocess.check_output(["git", "merge-base", 29 … "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"], 34 log = subprocess.check_output(["git", "log", "--format=%H %s", 38 subprocess.check_call(["git", "remote", "rm", "check-patch"]) [all …]
|
| D | static-checks.yml | 1 check-patch: 3 - .build 4 - .use-debian/x86_64_build 6 - drivers/gpu/drm/ci/check-patch.py 10 - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
| /kernel/linux/linux-6.6/scripts/ |
| D | patch-kernel | 2 # SPDX-License-Identifier: GPL-2.0 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 5 # The source directory defaults to /usr/src/linux, and the patch 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 12 # Get the latest Linux kernel and patch it with the latest ac patch 13 # scripts/patch-kernel . .. 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 [all …]
|
| D | coccicheck | 2 # SPDX-License-Identifier: GPL-2.0 5 # Read Documentation/dev-tools/coccinelle.rst 8 # version 1.0.0-rc11. 10 DIR="$(dirname $(readlink -f $0))/.." 13 if [ ! -x "$SPATCH" ]; then 18 SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}') 21 $SPATCH --help | grep -e "--jobs" > /dev/null && USE_JOBS="yes" 26 if [ -n "$V" -a "$V" != "0" ]; then 32 FLAGS="--very-quiet" 42 …occicheck MODE=report DEBUG_FILE="all.err" SPFLAGS="--profile --show-trying" M=./drivers/mfd/arizo… [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | patch-kernel | 2 # SPDX-License-Identifier: GPL-2.0 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 5 # The source directory defaults to /usr/src/linux, and the patch 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 12 # Get the latest Linux kernel and patch it with the latest ac patch 13 # scripts/patch-kernel . .. 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 [all …]
|
| D | coccicheck | 2 # SPDX-License-Identifier: GPL-2.0 5 # Read Documentation/dev-tools/coccinelle.rst 8 # version 1.0.0-rc11. 10 DIR="$(dirname $(readlink -f $0))/.." 13 if [ ! -x "$SPATCH" ]; then 18 SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}') 19 SPATCH_VERSION_NUM=$(echo $SPATCH_VERSION | ${DIR}/scripts/ld-version.sh) 22 $SPATCH --help | grep "\-\-jobs" > /dev/null && USE_JOBS="yes" 27 if [ -n "$V" -a "$V" != "0" ]; then 33 FLAGS="--very-quiet" [all …]
|
| /kernel/linux/linux-6.6/kernel/livepatch/ |
| D | state.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * system_state.c - State of the system modified by livepatches 15 #define klp_for_each_state(patch, state) \ argument 16 for (state = patch->states; state && state->id; state++) 19 * klp_get_state() - get information about system state modified by 20 * the given patch 21 * @patch: livepatch that modifies the given system state 24 * Checks whether the given patch modifies the given system state. 26 * The function can be called either from pre/post (un)patch 31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() argument [all …]
|
| D | transition.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * transition.c - Kernel Live Patching transition functions 5 * Copyright (C) 2015-2016 Josh Poimboeuf <jpoimboe@redhat.com> 14 #include "patch.h" 32 * cond_resched(). This helps CPU-bound kthreads get patched. 74 * We allow to patch also functions where RCU is not watching, 87 * The transition to the target patch state is complete. Clean up the data 98 klp_transition_patch->mod->name, in klp_complete_transition() 101 if (klp_transition_patch->replace && klp_target_state == KLP_PATCHED) { in klp_complete_transition() 115 * from this patch on the ops->func_stack. Otherwise, after in klp_complete_transition() [all …]
|
| /kernel/linux/linux-5.10/kernel/livepatch/ |
| D | state.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * system_state.c - State of the system modified by livepatches 15 #define klp_for_each_state(patch, state) \ argument 16 for (state = patch->states; state && state->id; state++) 19 * klp_get_state() - get information about system state modified by 20 * the given patch 21 * @patch: livepatch that modifies the given system state 24 * Checks whether the given patch modifies the given system state. 26 * The function can be called either from pre/post (un)patch 31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() argument [all …]
|
| D | transition.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * transition.c - Kernel Live Patching transition functions 5 * Copyright (C) 2015-2016 Josh Poimboeuf <jpoimboe@redhat.com> 13 #include "patch.h" 53 * We allow to patch also functions where RCU is not watching, 66 * The transition to the target patch state is complete. Clean up the data 77 klp_transition_patch->mod->name, in klp_complete_transition() 80 if (klp_transition_patch->replace && klp_target_state == KLP_PATCHED) { in klp_complete_transition() 94 * from this patch on the ops->func_stack. Otherwise, after in klp_complete_transition() 95 * func->transition gets cleared, the handler may choose a in klp_complete_transition() [all …]
|
| /kernel/linux/linux-6.6/Documentation/dev-tools/ |
| D | coccinelle.rst | 14 tree-wide patches and detection of problematic programming patterns. 17 ------------------ 20 which are provided by Coccinelle version 1.0.0-rc11 and above. 27 - Debian 28 - Fedora 29 - Ubuntu 30 - OpenSUSE 31 - Arch Linux 32 - NetBSD 33 - FreeBSD [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | submit-checklist.rst | 3 Linux Kernel patch submission checklist 7 kernel patch submissions accepted more quickly. 10 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` 28 Use ``make htmldocs`` or ``make pdfdocs`` to check the build and 31 3) Builds on multiple CPU architectures by using local cross-compile tools 34 4) ppc64 is a good architecture for cross-compilation checking because it 35 tends to use ``unsigned long`` for 64-bit quantities. 37 5) Check your patch for general style as detailed in 38 :ref:`Documentation/process/coding-style.rst <codingstyle>`. 39 Check for trivial violations with the patch style checker prior to [all …]
|
| D | submitting-patches.rst | 13 works, see :doc:`development-process`. Also, read :doc:`submit-checklist` 14 for a list of items to check before submitting code. If you are submitting 15 a driver, also read :doc:`submitting-drivers`; for device tree binding patches, 16 read :doc:`submitting-patches`. 19 If you're unfamiliar with ``git``, you would be well-advised to learn how to 24 ---------------------------- 41 --------------------- 43 Describe your problem. Whether your patch is a one-line bug fix or 49 Describe user-visible impact. Straight up crashes and lockups are 54 vendor/product-specific trees that cherry-pick only specific patches [all …]
|
| /kernel/linux/linux-5.10/Documentation/dev-tools/ |
| D | coccinelle.rst | 14 tree-wide patches and detection of problematic programming patterns. 17 ------------------ 20 which are provided by Coccinelle version 1.0.0-rc11 and above. 27 - Debian 28 - Fedora 29 - Ubuntu 30 - OpenSUSE 31 - Arch Linux 32 - NetBSD 33 - FreeBSD [all …]
|
| /kernel/linux/linux-6.6/Documentation/process/ |
| D | submit-checklist.rst | 3 Linux Kernel patch submission checklist 7 kernel patch submissions accepted more quickly. 10 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` 28 Use ``make htmldocs`` or ``make pdfdocs`` to check the build and 31 3) Builds on multiple CPU architectures by using local cross-compile tools 34 4) ppc64 is a good architecture for cross-compilation checking because it 35 tends to use ``unsigned long`` for 64-bit quantities. 37 5) Check your patch for general style as detailed in 38 :ref:`Documentation/process/coding-style.rst <codingstyle>`. 39 Check for trivial violations with the patch style checker prior to [all …]
|
| D | submitting-patches.rst | 13 works, see Documentation/process/development-process.rst. Also, read 14 Documentation/process/submit-checklist.rst 15 for a list of items to check before submitting code. 17 Documentation/devicetree/bindings/submitting-patches.rst. 20 If you're unfamiliar with ``git``, you would be well-advised to learn how to 26 :ref:`Documentation/process/maintainer-handbooks.rst <maintainer_handbooks_main>`. 29 ---------------------------- 46 --------------------- 48 Describe your problem. Whether your patch is a one-line bug fix or 54 Describe user-visible impact. Straight up crashes and lockups are [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
| D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2008-2011 Advanced Micro Devices Inc. 9 * 2013-2018 Borislav Petkov <bp@alien8.de> 47 * microcode patch we found to match. 63 * Microcode patch container file is prepended to the initrd in cpio 73 if (!et || !et->num_entries) in find_equiv_id() 76 for (i = 0; i < et->num_entries; i++) { in find_equiv_id() 77 struct equiv_cpu_entry *e = &et->entry[i]; in find_equiv_id() 79 if (sig == e->installed_cpu) in find_equiv_id() 80 return e->equiv_cpu; in find_equiv_id() [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | submitting-patches.rst | 1 How to Get Your Patch Accepted Into the Hwmon Subsystem 10 ---------- 14 - Documentation/process/submit-checklist.rst 15 - Documentation/process/submitting-drivers.rst 16 - Documentation/process/submitting-patches.rst 17 - Documentation/process/coding-style.rst 19 * Please run your patch through 'checkpatch --strict'. There should be no 20 errors, no warnings, and few if any check messages. If there are any 23 * Please use the standard multi-line comment style. Do not mix C and C++ 27 * If your patch generates checkpatch errors, warnings, or check messages, [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | submitting-patches.rst | 1 How to Get Your Patch Accepted Into the Hwmon Subsystem 10 ---------- 14 - Documentation/process/submit-checklist.rst 15 - Documentation/process/submitting-patches.rst 16 - Documentation/process/coding-style.rst 18 * Please run your patch through 'checkpatch --strict'. There should be no 19 errors, no warnings, and few if any check messages. If there are any 22 * Please use the standard multi-line comment style. Do not mix C and C++ 26 * If your patch generates checkpatch errors, warnings, or check messages, 32 * Please test your patch thoroughly. We are not your test group. [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/cpu/microcode/ |
| D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2008-2011 Advanced Micro Devices Inc. 9 * 2013-2018 Borislav Petkov <bp@alien8.de> 127 * microcode patch we found to match. 137 * Microcode patch container file is prepended to the initrd in cpio 148 * 2. To match which patches to load because the patch revision ID 168 if (patch_id == pd->patch_id) in cmp_id() 170 else if (patch_id < pd->patch_id) in cmp_id() 171 return -1; in cmp_id() 207 …pr_info("You should not be seeing this. Please send the following couple of lines to x86-<at>-kern… in need_sha_check() [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/media/ |
| D | maintainer-entry-profile.rst | 5 -------- 13 - drivers/media 14 - drivers/staging/media 15 - Documentation/admin-guide/media 16 - Documentation/driver-api/media 17 - Documentation/userspace-api/media 18 - Documentation/devicetree/bindings/media/\ [1]_ 19 - include/media 33 maintainership model is to have sub-maintainers that have a broad 34 knowledge of a specific aspect of the subsystem. It is the sub-maintainers' [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/lib/ |
| D | feature-fixups.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <asm/code-patching.h> 75 start = calc_addr(fcur, fcur->start_off); in patch_feature_section_mask() 76 end = calc_addr(fcur, fcur->end_off); in patch_feature_section_mask() 77 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section_mask() 78 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section_mask() 80 if ((alt_end - alt_start) > (end - start)) in patch_feature_section_mask() 83 if ((value & fcur->mask & mask) == (fcur->value & mask)) in patch_feature_section_mask() 112 printk("Unable to patch feature section at %p - %p" \ in do_feature_fixups_mask() 113 " with %p - %p\n", in do_feature_fixups_mask() [all …]
|
| /kernel/linux/linux-6.6/sound/synth/emux/ |
| D | soundfont.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de> 69 mutex_lock(&sflist->presets_mutex); in lock_preset() 70 spin_lock_irqsave(&sflist->lock, flags); in lock_preset() 71 sflist->presets_locked = 1; in lock_preset() 72 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset() 83 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset() 84 sflist->presets_locked = 0; in unlock_preset() 85 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset() 86 mutex_unlock(&sflist->presets_mutex); in unlock_preset() [all …]
|
| /kernel/linux/linux-5.10/sound/synth/emux/ |
| D | soundfont.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de> 69 mutex_lock(&sflist->presets_mutex); in lock_preset() 70 spin_lock_irqsave(&sflist->lock, flags); in lock_preset() 71 sflist->presets_locked = 1; in lock_preset() 72 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset() 83 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset() 84 sflist->presets_locked = 0; in unlock_preset() 85 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset() 86 mutex_unlock(&sflist->presets_mutex); in unlock_preset() [all …]
|
| /kernel/linux/linux-6.6/scripts/coccinelle/misc/ |
| D | swap.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /// Check for opencoded swap() implementation. 7 // Options: --no-includes --include-headers 12 virtual patch 17 @rvar depends on !patch@ 37 @r depends on !patch@ 47 @rpvar depends on patch@ 54 - T tmp; 56 - T tmp = 0; 58 - T *tmp = NULL; [all …]
|