# git rev-parse -q --verify 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62^{commit} 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 already have revision, skipping fetch # git checkout -q -f -B kisskb 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # git clean -qxdf # < git log -1 # commit 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # Merge: 20f463fb3868 795301d3c289 # Author: Linus Torvalds # Date: Wed Mar 23 11:40:25 2022 -0700 # # Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace # # Pull tracing updates from Steven Rostedt: # # - New user_events interface. User space can register an event with the # kernel describing the format of the event. Then it will receive a # byte in a page mapping that it can check against. A privileged task # can then enable that event like any other event, which will change # the mapped byte to true, telling the user space application to start # writing the event to the tracing buffer. # # - Add new "ftrace_boot_snapshot" kernel command line parameter. When # set, the tracing buffer will be saved in the snapshot buffer at boot # up when the kernel hands things over to user space. This will keep # the traces that happened at boot up available even if user space boot # up has tracing as well. # # - Have TRACE_EVENT_ENUM() also update trace event field type # descriptions. Thus if a static array defines its size with an enum, # the user space trace event parsers can still know how to parse that # array. # # - Add new TRACE_CUSTOM_EVENT() macro. This acts the same as the # TRACE_EVENT() macro, but will attach to an existing tracepoint. This # will make one tracepoint be able to trace different content and not # be stuck at only what the original TRACE_EVENT() macro exports. # # - Fixes to tracing error logging. # # - Better saving of cmdlines to PIDs when tracing (use the wakeup events # for mapping). # # * tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (30 commits) # tracing: Have type enum modifications copy the strings # user_events: Add trace event call as root for low permission cases # tracing/user_events: Use alloc_pages instead of kzalloc() for register pages # tracing: Add snapshot at end of kernel boot up # tracing: Have TRACE_DEFINE_ENUM affect trace event types as well # tracing: Fix strncpy warning in trace_events_synth.c # user_events: Prevent dyn_event delete racing with ioctl add/delete # tracing: Add TRACE_CUSTOM_EVENT() macro # tracing: Move the defines to create TRACE_EVENTS into their own files # tracing: Add sample code for custom trace events # tracing: Allow custom events to be added to the tracefs directory # tracing: Fix last_cmd_set() string management in histogram code # user_events: Fix potential uninitialized pointer while parsing field # tracing: Fix allocation of last_cmd in last_cmd_set() # user_events: Add documentation file # user_events: Add sample code for typical usage # user_events: Add self-test for validator boundaries # user_events: Add self-test for perf_event integration # user_events: Add self-test for dynamic_events integration # user_events: Add self-test for ftrace integration # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # < make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:11.18-14.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x0: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:15.23-18.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x400000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:19.23-22.6: Warning (unit_address_format): /soc/flash@08000000/partition@0xa00000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:23.23-26.6: Warning (unit_address_format): /soc/flash@08000000/partition@0xfe0000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi:11.18-14.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x0: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi:15.23-18.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x3f0000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:11.18-14.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x0: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:15.24-18.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:19.24-22.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:23.24-26.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:11.18-14.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x0: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:15.23-18.6: Warning (unit_address_format): /soc/flash@08000000/partition@0x400000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:19.23-22.6: Warning (unit_address_format): /soc/flash@08000000/partition@0xa00000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi:23.23-26.6: Warning (unit_address_format): /soc/flash@08000000/partition@0xfe0000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:11.18-14.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x0: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:15.24-18.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:19.24-22.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x" /kisskb/src/arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi:23.24-26.6: Warning (unit_address_format): /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x" WARNING: modpost: vmlinux.o(.text.unlikely+0x45ec): Section mismatch in reference from the function __trace_event_discard_commit() to the variable .init.data:initcall_level_names The function __trace_event_discard_commit() references the variable __initdata initcall_level_names. This is often because __trace_event_discard_commit lacks a __initdata annotation or the annotation of initcall_level_names is wrong. WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14410): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14428): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14440): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14458): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14470): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14488): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x144a0): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_legacy_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x144f0): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14508): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14520): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14538): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14550): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14568): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14580): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qed/qed.o(.data+0x14598): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:qed_mfw_legacy_bb_100g The variable qed_mfw_ext_maps references the variable __initconst qed_mfw_legacy_bb_100g If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x4790): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x47a8): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x47c0): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x47d8): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x47f0): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x4808): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console WARNING: modpost: drivers/net/ethernet/qlogic/qede/qede.o(.data+0x4820): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:qede_forced_speed_100000 The variable qede_forced_speed_maps references the variable __initconst qede_forced_speed_100000 If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Completed OK # rm -rf /kisskb/build/linus_xtensa-allmodconfig_xtensa-gcc11 # Build took: 0:14:56.985506