Centos-kernel-stream-9/scripts
Rafael Aquini 1ac04de9a1 scripts/gdb: redefine MAX_ORDER sanely
JIRA: https://issues.redhat.com/browse/RHEL-84184

This patch is a backport of the following upstream commit:
commit 63ce5947ef45071d825d4712d6c5ece13f1ce2f6
Author: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
Date:   Wed Jun 19 15:49:06 2024 +0800

    scripts/gdb: redefine MAX_ORDER sanely

    Patch series "Fix GDB command error".

    This patchset fixes some GDB command errors.

    1. Since memory layout of AARCH64 has been changed, we need to modify
       the layout in GDB scripts as well.

    2. Fix pool_index naming of stackdepot.

    This patch (of 6):

    Change the definition of MAX_ORDER to be inclusive.

    Link: https://lkml.kernel.org/r/20240619074911.100434-1-kuan-ying.lee@canonical.com
    Link: https://lkml.kernel.org/r/20240619074911.100434-2-kuan-ying.lee@canonical.com
    Fixes: 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely")
    Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
    Cc: Jan Kiszka <jan.kiszka@siemens.com>
    Cc: Kieran Bingham <kbingham@kernel.org>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2025-04-18 08:39:49 -04:00
..
atomic instrumentation: Wire up cmpxchg128() 2024-09-05 20:36:20 -04:00
basic
clang-tools scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
coccinelle
dtc treewide: Replace zero-length arrays with flexible-array members 2023-10-20 06:12:35 -04:00
dummy-tools scripts: dummy-tools, add pahole 2022-10-25 14:58:09 +02:00
gcc-plugins gcc-plugins/stackleak: Avoid .head.text section 2024-07-23 13:47:51 -04:00
gdb scripts/gdb: redefine MAX_ORDER sanely 2025-04-18 08:39:49 -04:00
genksyms genksyms: adjust the output format to modpost 2024-06-17 14:17:17 -04:00
kconfig
ksymoops
mod x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE 2024-07-26 14:33:35 -04:00
package buildtar: fix tarballs with EFI_ZBOOT enabled 2024-09-12 20:17:28 -04:00
selinux
tracing tracing: Always use canonical ftrace path 2023-09-18 12:02:13 +02:00
.gitignore scripts: add `generate_rust_target.rs` 2024-03-20 09:42:43 -04:00
Kbuild.include kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Kconfig.include
Lindent
Makefile ftrace: Have architectures opt-in for mcount build time sorting 2024-06-17 14:17:12 -04:00
Makefile.asm-generic kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.btf kbuild,bpf: Add module-specific pahole flags for distilled base BTF 2024-11-26 15:55:10 +01:00
Makefile.build kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Makefile.clean kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.compiler kbuild: add test-{ge,gt,le,lt} macros 2024-03-20 09:42:51 -04:00
Makefile.dtbinst kbuild: add kbuild-file macro 2024-04-22 15:46:37 -04:00
Makefile.extrawarn Makefile.compiler: replace cc-ifversion with compiler-specific macros 2024-03-20 09:42:51 -04:00
Makefile.gcc-plugins randstruct: Split randstruct Makefile and CFLAGS 2024-03-20 09:42:35 -04:00
Makefile.headersinst
Makefile.host
Makefile.kasan kasan: remove hwasan-kernel-mem-intrinsic-prefix=1 for clang-14 2024-04-30 17:51:32 -06:00
Makefile.kcov
Makefile.kcsan kcsan: Ignore GCC 11+ warnings about TSan runtime support 2023-09-22 13:20:59 -04:00
Makefile.kmsan kmsan: add KMSAN runtime core 2023-10-20 06:14:34 -04:00
Makefile.lib x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNK 2024-07-26 14:33:36 -04:00
Makefile.modfinal kbuild,bpf: Add module-specific pahole flags for distilled base BTF 2024-11-26 15:55:10 +01:00
Makefile.modinst
Makefile.modpost kbuild: do not create *.prelink.o for Clang LTO or IBT 2024-07-26 14:33:35 -04:00
Makefile.package
Makefile.randstruct randstruct: Split randstruct Makefile and CFLAGS 2024-03-20 09:42:35 -04:00
Makefile.ubsan
Makefile.userprogs
Makefile.vmlinux kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS 2024-06-17 14:17:17 -04:00
Makefile.vmlinux_o x86/bugs: Rename CONFIG_CPU_SRSO => CONFIG_MITIGATION_SRSO 2024-07-26 14:33:36 -04:00
adjust_autoksyms.sh kbuild: split the second line of *.mod into *.usyms 2023-03-24 17:06:53 -04:00
as-version.sh
asn1_compiler.c
bin2c.c
bloat-o-meter
bootgraph.pl
bpf_doc.py scripts/bpf_doc: Use silent mode when exec make cmd 2024-10-15 10:49:16 +02:00
cc-can-link.sh
cc-version.sh scripts: Remove ICC-related dead code 2024-03-20 09:42:45 -04:00
check-sysctl-docs
check_extable.sh
checkdeclares.pl
checkincludes.pl
checkkconfigsymbols.py scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
checkpatch.pl checkpatch: add ethtool_sprintf rules 2024-04-05 11:27:37 +02:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
config
const_structs.checkpatch
decode_stacktrace.sh
decodecode
depmod.sh
dev-needs.sh
diffconfig scripts: handle BrokenPipeError for python scripts 2024-03-20 09:42:44 -04:00
documentation-file-ref-check
export_report.pl
extract-cert.c cert host tools: Stop complaining about deprecated OpenSSL functions 2023-01-09 13:32:41 -05:00
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
extract_xc3028.pl
faddr2line
file-size.sh
find-unused-docs.sh
gcc-ld
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_autoksyms.sh kbuild: split the second line of *.mod into *.usyms 2023-03-24 17:06:53 -04:00
gen_ksymdeps.sh
generate_initcall_order.pl
generate_rust_target.rs x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINE 2024-07-26 14:33:35 -04:00
get_abi.pl
get_dvb_firmware
get_feat.pl
get_maintainer.pl
gfp-translate scripts: fix the gfp flags header path in gfp-translate 2023-10-20 06:16:06 -04:00
headerdep.pl
headers_check.pl
headers_install.sh x86: Remove the arch_calc_vm_prot_bits() macro from the UAPI 2024-03-20 09:43:23 -04:00
insert-sys-cert.c
install.sh kbuild: factor out the common installation code into scripts/install.sh 2024-04-10 21:00:29 -04:00
jobserver-exec
kallsyms.c kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[] 2024-06-17 14:17:21 -04:00
kernel-doc compiler_types: add Endianness-dependent __counted_by_{le,be} 2024-11-23 10:36:56 +01:00
ld-version.sh
leaking_addresses.pl
link-vmlinux.sh btf: remove redundant CONFIG_BPF test in scripts/link-vmlinux.sh 2025-01-21 11:27:07 +01:00
makelst
markup_oops.pl
min-tool-version.sh scripts/min-tool-version.sh: raise minimum clang version to 14.0.0 for s390 2024-05-10 10:49:46 +02:00
mkcompile_h
mksysmap
mkuboot.sh
module.lds.S Revert "arm64: unwind: add asynchronous unwind tables to kernel and modules" 2023-08-31 22:40:39 -04:00
modules-check.sh
nsdeps scripts/nsdeps: adjust to the format change of *.mod files 2023-03-24 17:06:54 -04:00
objdiff kbuild: clean .tmp_* pattern by make clean 2023-06-30 19:59:54 -04:00
objdump-func scripts: Create objdump-func helper script 2022-10-27 15:26:52 -04:00
pahole-version.sh kbuild: Add CONFIG_PAHOLE_VERSION 2022-10-25 14:57:45 +02:00
parse-maintainers.pl
patch-kernel
profile2linkerlist.pl
prune-kernel
recordmcount.c
recordmcount.h
recordmcount.pl
remove-stale-files x86/purgatory: Omit use of bin2c 2024-05-15 10:32:32 +08:00
setlocalversion kbuild: do not include include/config/auto.conf from shell scripts 2022-10-27 14:27:57 -04:00
show_delta
sign-file.c cert host tools: Stop complaining about deprecated OpenSSL functions 2023-01-09 13:32:41 -05:00
sorttable.c scripts: ftrace - move the sort-processing in ftrace_init 2024-06-17 14:17:12 -04:00
sorttable.h x86,objtool: Split UNWIND_HINT_EMPTY in two 2024-09-18 15:14:40 +02:00
spdxcheck-test.sh
spdxcheck.py
spelling.txt Merge: ALSA - update drivers for 9.3 2023-07-04 11:15:01 +02:00
sphinx-pre-install
split-man.pl
stackdelta
stackusage
subarch.include
syscallhdr.sh
syscallnr.sh
syscalltbl.sh
tags.sh kbuild: allow to combine multiple V= levels 2024-03-20 09:42:55 -04:00
test_fortify.sh fortify: Update compile-time tests for Clang 14 2022-12-10 23:01:44 +01:00
tools-support-relr.sh
unifdef.c
ver_linux
xen-hypercalls.sh
xz_wrap.sh