# git rev-parse -q --verify fe673d3f5bf1fc50cdc4b754831db91a2ec10126^{commit} fe673d3f5bf1fc50cdc4b754831db91a2ec10126 already have revision, skipping fetch # git checkout -q -f -B kisskb fe673d3f5bf1fc50cdc4b754831db91a2ec10126 # git clean -qxdf # < git log -1 # commit fe673d3f5bf1fc50cdc4b754831db91a2ec10126 # Author: Linus Torvalds # Date: Tue Mar 8 11:55:48 2022 -0800 # # mm: gup: make fault_in_safe_writeable() use fixup_user_fault() # # Instead of using GUP, make fault_in_safe_writeable() actually force a # 'handle_mm_fault()' using the same fixup_user_fault() machinery that # futexes already use. # # Using the GUP machinery meant that fault_in_safe_writeable() did not do # everything that a real fault would do, ranging from not auto-expanding # the stack segment, to not updating accessed or dirty flags in the page # tables (GUP sets those flags on the pages themselves). # # The latter causes problems on architectures (like s390) that do accessed # bit handling in software, which meant that fault_in_safe_writeable() # didn't actually do all the fault handling it needed to, and trying to # access the user address afterwards would still cause faults. # # Reported-and-tested-by: Andreas Gruenbacher # Fixes: cdd591fc86e3 ("iov_iter: Introduce fault_in_iov_iter_writeable") # Link: https://lore.kernel.org/all/CAHc6FU5nP+nziNGG0JAF1FUx-GV7kKFvM7aZuU_XD2_1v4vnvg@mail.gmail.com/ # Acked-by: David Hildenbrand # Signed-off-by: Linus Torvalds # < /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 fe673d3f5bf1fc50cdc4b754831db91a2ec10126 # < 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-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" /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-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" WARNING: modpost: vmlinux.o(.text.unlikely+0x4530): 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:26:27.170096