stable-rc/queue/5.10 build: 185 builds: 6 failed, 179 passed, 367 errors, 12 warnings (v5.10.155-182-gefc3944849e5)
Full Build Summary: https://kernelci.org/build/stable-rc/branch/queue%2F5.10/kernel/v5.10.155-1…
Tree: stable-rc
Branch: queue/5.10
Git Describe: v5.10.155-182-gefc3944849e5
Git Commit: efc3944849e5edad343f28092ab8a9f002c92668
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Built: 7 unique architectures
Build Failures Detected:
arm64:
defconfig: (gcc-10) FAIL
defconfig+arm64-chromebook: (gcc-10) FAIL
arm:
multi_v7_defconfig: (gcc-10) FAIL
rpc_defconfig: (gcc-10) FAIL
mips:
ip27_defconfig: (gcc-10) FAIL
ip28_defconfig: (gcc-10) FAIL
Errors and Warnings Detected:
arc:
arm64:
defconfig (gcc-10): 121 errors, 1 warning
defconfig+arm64-chromebook (gcc-10): 121 errors, 1 warning
arm:
multi_v7_defconfig (gcc-10): 121 errors, 1 warning
rpc_defconfig (gcc-10): 4 errors
i386:
mips:
32r2el_defconfig (gcc-10): 1 warning
decstation_64_defconfig (gcc-10): 1 warning
decstation_defconfig (gcc-10): 1 warning
decstation_r4k_defconfig (gcc-10): 1 warning
rm200_defconfig (gcc-10): 1 warning
riscv:
rv32_defconfig (gcc-10): 4 warnings
x86_64:
Errors summary:
3 drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
Warnings summary:
3 kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
3 cc1: some warnings being treated as errors
2 <stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
2 <stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
1 drivers/block/paride/bpck.c:32: warning: "PC" redefined
1 WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
Section mismatches summary:
1 WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
1 WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
32r2el_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath25_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1000-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1830-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
decstation_64_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_r4k_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
defconfig+arm64-chromebook (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gcw0_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gemini_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hsdk_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1b_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1c_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
milbeaut_m10v_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mps2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v4t_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nommu_k210_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omega2p_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
oxnas_v6_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pic32mzda_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pistachio_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
drivers/block/paride/bpck.c:32: warning: "PC" redefined
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-10) — FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
--------------------------------------------------------------------------------
rs90_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rv32_defconfig (riscv, gcc-10) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tango4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vocore2_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
---
For more info write to <info(a)kernelci.org>
esta es la Dra. Aisha al-Gaddafi, me comunico con usted porque necesito un
Socio o inversionista Que me ayudara a invertir la suma de $27.5
MillionUSD en su o
su país? Los fondos están depositados en Burkina Faso, pero estoy viviendo
en Omán para
el momento con mis hijos, intenta responderme lo antes posible, así
que daré más detalles, Dra. Aisha al-gaddafi.
Hello,
A reputable pharmaceutical company from Vietnam is in need of a reliable individual or corporate entity in your state to act as their Liaison; this will not affect your current job or business operations in anyway. If interested, reply for more information.
Sincerely,
Ms. Kelvin Lin
CC
stable-rc/queue/5.10 build: 185 builds: 6 failed, 179 passed, 367 errors, 12 warnings (v5.10.155-182-g71be344c40e8)
Full Build Summary: https://kernelci.org/build/stable-rc/branch/queue%2F5.10/kernel/v5.10.155-1…
Tree: stable-rc
Branch: queue/5.10
Git Describe: v5.10.155-182-g71be344c40e8
Git Commit: 71be344c40e8bc342a5c761815b2873661550e3c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Built: 7 unique architectures
Build Failures Detected:
arm64:
defconfig: (gcc-10) FAIL
defconfig+arm64-chromebook: (gcc-10) FAIL
arm:
multi_v7_defconfig: (gcc-10) FAIL
rpc_defconfig: (gcc-10) FAIL
mips:
ip27_defconfig: (gcc-10) FAIL
ip28_defconfig: (gcc-10) FAIL
Errors and Warnings Detected:
arc:
arm64:
defconfig (gcc-10): 121 errors, 1 warning
defconfig+arm64-chromebook (gcc-10): 121 errors, 1 warning
arm:
multi_v7_defconfig (gcc-10): 121 errors, 1 warning
rpc_defconfig (gcc-10): 4 errors
i386:
mips:
32r2el_defconfig (gcc-10): 1 warning
decstation_64_defconfig (gcc-10): 1 warning
decstation_defconfig (gcc-10): 1 warning
decstation_r4k_defconfig (gcc-10): 1 warning
rm200_defconfig (gcc-10): 1 warning
riscv:
rv32_defconfig (gcc-10): 4 warnings
x86_64:
Errors summary:
3 drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
Warnings summary:
3 kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
3 cc1: some warnings being treated as errors
2 <stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
2 <stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
1 drivers/block/paride/bpck.c:32: warning: "PC" redefined
1 WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
Section mismatches summary:
1 WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
1 WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
32r2el_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath25_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1000-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1830-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
decstation_64_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_r4k_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
defconfig+arm64-chromebook (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gcw0_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gemini_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hsdk_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1b_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1c_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
milbeaut_m10v_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mps2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v4t_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nommu_k210_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omega2p_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
oxnas_v6_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pic32mzda_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pistachio_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
drivers/block/paride/bpck.c:32: warning: "PC" redefined
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-10) — FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
--------------------------------------------------------------------------------
rs90_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rv32_defconfig (riscv, gcc-10) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tango4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vocore2_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
---
For more info write to <info(a)kernelci.org>
--
Greetings,
We are privileged and delighted to reach you via email" And we are
urgently waiting to hear from you. and again your number is not
connecting.
Thanks,
Dr. Michael Omar
The patch titled
Subject: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
Date: Fri, 25 Nov 2022 22:37:14 +0100
Any codepath that zaps page table entries must invoke MMU notifiers to
ensure that secondary MMUs (like KVM) don't keep accessing pages which
aren't mapped anymore. Secondary MMUs don't hold their own references to
pages that are mirrored over, so failing to notify them can lead to page
use-after-free.
I'm marking this as addressing an issue introduced in commit f3f0e1d2150b
("khugepaged: add support of collapse for tmpfs/shmem pages"), but most of
the security impact of this only came in commit 27e1f8273113 ("khugepaged:
enable collapse pmd for pte-mapped THP"), which actually omitted flushes
for the removal of present PTEs, not just for the removal of empty page
tables.
Link: https://lkml.kernel.org/r/20221125213714.4115729-3-jannh@google.com
Fixes: f3f0e1d2150b ("khugepaged: add support of collapse for tmpfs/shmem pages")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/mm/khugepaged.c~mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths
+++ a/mm/khugepaged.c
@@ -1399,6 +1399,7 @@ static void collapse_and_free_pmd(struct
unsigned long addr, pmd_t *pmdp)
{
pmd_t pmd;
+ struct mmu_notifier_range range;
mmap_assert_write_locked(mm);
if (vma->vm_file)
@@ -1410,8 +1411,12 @@ static void collapse_and_free_pmd(struct
if (vma->anon_vma)
lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
+ mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, NULL, mm, addr,
+ addr + HPAGE_PMD_SIZE);
+ mmu_notifier_invalidate_range_start(&range);
pmd = pmdp_collapse_flush(vma, addr, pmdp);
tlb_remove_table_sync_one();
+ mmu_notifier_invalidate_range_end(&range);
mm_dec_nr_ptes(mm);
page_table_check_pte_clear_range(mm, addr, pmd);
pte_free(mm, pmd_pgtable(pmd));
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
The patch titled
Subject: mm/khugepaged: fix GUP-fast interaction by sending IPI
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: fix GUP-fast interaction by sending IPI
Date: Fri, 25 Nov 2022 22:37:13 +0100
Since commit 70cbc3cc78a99 ("mm: gup: fix the fast GUP race against THP
collapse"), the lockless_pages_from_mm() fastpath rechecks the pmd_t to
ensure that the page table was not removed by khugepaged in between.
However, lockless_pages_from_mm() still requires that the page table is
not concurrently freed. Fix it by sending IPIs (if the architecture uses
semi-RCU-style page table freeing) before freeing/reusing page tables.
Link: https://lkml.kernel.org/r/20221125213714.4115729-2-jannh@google.com
Fixes: ba76149f47d8 ("thp: khugepaged")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
include/asm-generic/tlb.h | 4 ++++
mm/khugepaged.c | 2 ++
mm/mmu_gather.c | 4 +---
3 files changed, 7 insertions(+), 3 deletions(-)
--- a/include/asm-generic/tlb.h~mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi
+++ a/include/asm-generic/tlb.h
@@ -222,12 +222,16 @@ extern void tlb_remove_table(struct mmu_
#define tlb_needs_table_invalidate() (true)
#endif
+void tlb_remove_table_sync_one(void);
+
#else
#ifdef tlb_needs_table_invalidate
#error tlb_needs_table_invalidate() requires MMU_GATHER_RCU_TABLE_FREE
#endif
+static inline void tlb_remove_table_sync_one(void) { }
+
#endif /* CONFIG_MMU_GATHER_RCU_TABLE_FREE */
--- a/mm/khugepaged.c~mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi
+++ a/mm/khugepaged.c
@@ -1051,6 +1051,7 @@ static int collapse_huge_page(struct mm_
_pmd = pmdp_collapse_flush(vma, address, pmd);
spin_unlock(pmd_ptl);
mmu_notifier_invalidate_range_end(&range);
+ tlb_remove_table_sync_one();
spin_lock(pte_ptl);
result = __collapse_huge_page_isolate(vma, address, pte, cc,
@@ -1410,6 +1411,7 @@ static void collapse_and_free_pmd(struct
lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
pmd = pmdp_collapse_flush(vma, addr, pmdp);
+ tlb_remove_table_sync_one();
mm_dec_nr_ptes(mm);
page_table_check_pte_clear_range(mm, addr, pmd);
pte_free(mm, pmd_pgtable(pmd));
--- a/mm/mmu_gather.c~mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi
+++ a/mm/mmu_gather.c
@@ -153,7 +153,7 @@ static void tlb_remove_table_smp_sync(vo
/* Simply deliver the interrupt */
}
-static void tlb_remove_table_sync_one(void)
+void tlb_remove_table_sync_one(void)
{
/*
* This isn't an RCU grace period and hence the page-tables cannot be
@@ -177,8 +177,6 @@ static void tlb_remove_table_free(struct
#else /* !CONFIG_MMU_GATHER_RCU_TABLE_FREE */
-static void tlb_remove_table_sync_one(void) { }
-
static void tlb_remove_table_free(struct mmu_table_batch *batch)
{
__tlb_remove_table_free(batch);
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
The patch titled
Subject: mm/khugepaged: take the right locks for page table retraction
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: take the right locks for page table retraction
Date: Fri, 25 Nov 2022 22:37:12 +0100
pagetable walks on address ranges mapped by VMAs can be done under the
mmap lock, the lock of an anon_vma attached to the VMA, or the lock of the
VMA's address_space. Only one of these needs to be held, and it does not
need to be held in exclusive mode.
Under those circumstances, the rules for concurrent access to page table
entries are:
- Terminal page table entries (entries that don't point to another page
table) can be arbitrarily changed under the page table lock, with the
exception that they always need to be consistent for
hardware page table walks and lockless_pages_from_mm().
This includes that they can be changed into non-terminal entries.
- Non-terminal page table entries (which point to another page table)
can not be modified; readers are allowed to READ_ONCE() an entry, verify
that it is non-terminal, and then assume that its value will stay as-is.
Retracting a page table involves modifying a non-terminal entry, so
page-table-level locks are insufficient to protect against concurrent page
table traversal; it requires taking all the higher-level locks under which
it is possible to start a page walk in the relevant range in exclusive
mode.
The collapse_huge_page() path for anonymous THP already follows this rule,
but the shmem/file THP path was getting it wrong, making it possible for
concurrent rmap-based operations to cause corruption.
Link: https://lkml.kernel.org/r/20221125213714.4115729-1-jannh@google.com
Fixes: 27e1f8273113 ("khugepaged: enable collapse pmd for pte-mapped THP")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 55 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 51 insertions(+), 4 deletions(-)
--- a/mm/khugepaged.c~mm-khugepaged-take-the-right-locks-for-page-table-retraction
+++ a/mm/khugepaged.c
@@ -1379,16 +1379,37 @@ static int set_huge_pmd(struct vm_area_s
return SCAN_SUCCEED;
}
+/*
+ * A note about locking:
+ * Trying to take the page table spinlocks would be useless here because those
+ * are only used to synchronize:
+ *
+ * - modifying terminal entries (ones that point to a data page, not to another
+ * page table)
+ * - installing *new* non-terminal entries
+ *
+ * Instead, we need roughly the same kind of protection as free_pgtables() or
+ * mm_take_all_locks() (but only for a single VMA):
+ * The mmap lock together with this VMA's rmap locks covers all paths towards
+ * the page table entries we're messing with here, except for hardware page
+ * table walks and lockless_pages_from_mm().
+ */
static void collapse_and_free_pmd(struct mm_struct *mm, struct vm_area_struct *vma,
unsigned long addr, pmd_t *pmdp)
{
- spinlock_t *ptl;
pmd_t pmd;
mmap_assert_write_locked(mm);
- ptl = pmd_lock(vma->vm_mm, pmdp);
+ if (vma->vm_file)
+ lockdep_assert_held_write(&vma->vm_file->f_mapping->i_mmap_rwsem);
+ /*
+ * All anon_vmas attached to the VMA have the same root and are
+ * therefore locked by the same lock.
+ */
+ if (vma->anon_vma)
+ lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
+
pmd = pmdp_collapse_flush(vma, addr, pmdp);
- spin_unlock(ptl);
mm_dec_nr_ptes(mm);
page_table_check_pte_clear_range(mm, addr, pmd);
pte_free(mm, pmd_pgtable(pmd));
@@ -1439,6 +1460,14 @@ int collapse_pte_mapped_thp(struct mm_st
if (!hugepage_vma_check(vma, vma->vm_flags, false, false, false))
return SCAN_VMA_CHECK;
+ /*
+ * Symmetry with retract_page_tables(): Exclude MAP_PRIVATE mappings
+ * that got written to. Without this, we'd have to also lock the
+ * anon_vma if one exists.
+ */
+ if (vma->anon_vma)
+ return SCAN_VMA_CHECK;
+
/* Keep pmd pgtable for uffd-wp; see comment in retract_page_tables() */
if (userfaultfd_wp(vma))
return SCAN_PTE_UFFD_WP;
@@ -1472,6 +1501,20 @@ int collapse_pte_mapped_thp(struct mm_st
goto drop_hpage;
}
+ /*
+ * We need to lock the mapping so that from here on, only GUP-fast and
+ * hardware page walks can access the parts of the page tables that
+ * we're operating on.
+ * See collapse_and_free_pmd().
+ */
+ i_mmap_lock_write(vma->vm_file->f_mapping);
+
+ /*
+ * This spinlock should be unnecessary: Nobody else should be accessing
+ * the page tables under spinlock protection here, only
+ * lockless_pages_from_mm() and the hardware page walker can access page
+ * tables while all the high-level locks are held in write mode.
+ */
start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl);
result = SCAN_FAIL;
@@ -1526,6 +1569,8 @@ int collapse_pte_mapped_thp(struct mm_st
/* step 4: remove pte entries */
collapse_and_free_pmd(mm, vma, haddr, pmd);
+ i_mmap_unlock_write(vma->vm_file->f_mapping);
+
maybe_install_pmd:
/* step 5: install pmd entry */
result = install_pmd
@@ -1539,6 +1584,7 @@ drop_hpage:
abort:
pte_unmap_unlock(start_pte, ptl);
+ i_mmap_unlock_write(vma->vm_file->f_mapping);
goto drop_hpage;
}
@@ -1595,7 +1641,8 @@ static int retract_page_tables(struct ad
* An alternative would be drop the check, but check that page
* table is clear before calling pmdp_collapse_flush() under
* ptl. It has higher chance to recover THP for the VMA, but
- * has higher cost too.
+ * has higher cost too. It would also probably require locking
+ * the anon_vma.
*/
if (vma->anon_vma) {
result = SCAN_PAGE_ANON;
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mm-khugepaged-fix-gup-fast-interaction-by-sending-ipi.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
stable-rc/queue/5.10 build: 185 builds: 6 failed, 179 passed, 367 errors, 12 warnings (v5.10.155-182-g2b702941bf8a)
Full Build Summary: https://kernelci.org/build/stable-rc/branch/queue%2F5.10/kernel/v5.10.155-1…
Tree: stable-rc
Branch: queue/5.10
Git Describe: v5.10.155-182-g2b702941bf8a
Git Commit: 2b702941bf8a64bc89b778e203dc5c462018b8de
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Built: 7 unique architectures
Build Failures Detected:
arm64:
defconfig: (gcc-10) FAIL
defconfig+arm64-chromebook: (gcc-10) FAIL
arm:
multi_v7_defconfig: (gcc-10) FAIL
rpc_defconfig: (gcc-10) FAIL
mips:
ip27_defconfig: (gcc-10) FAIL
ip28_defconfig: (gcc-10) FAIL
Errors and Warnings Detected:
arc:
arm64:
defconfig (gcc-10): 121 errors, 1 warning
defconfig+arm64-chromebook (gcc-10): 121 errors, 1 warning
arm:
multi_v7_defconfig (gcc-10): 121 errors, 1 warning
rpc_defconfig (gcc-10): 4 errors
i386:
mips:
32r2el_defconfig (gcc-10): 1 warning
decstation_64_defconfig (gcc-10): 1 warning
decstation_defconfig (gcc-10): 1 warning
decstation_r4k_defconfig (gcc-10): 1 warning
rm200_defconfig (gcc-10): 1 warning
riscv:
rv32_defconfig (gcc-10): 4 warnings
x86_64:
Errors summary:
3 drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
3 drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
2 arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
2 arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
Warnings summary:
3 kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
3 cc1: some warnings being treated as errors
2 <stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
2 <stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
1 drivers/block/paride/bpck.c:32: warning: "PC" redefined
1 WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
Section mismatches summary:
1 WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
1 WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
32r2el_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
WARNING: modpost: Symbol info of vmlinux is missing. Unresolved symbol check will be entirely skipped.
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
aspeed_g5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath25_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
axs103_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_be_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
bmips_stb_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ci20_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1000-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
cu1830-neo_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
decstation_64_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
decstation_r4k_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
kernel/rcu/tasks.h:710:13: warning: ‘show_rcu_tasks_rude_gp_kthread’ defined but not used [-Wunused-function]
--------------------------------------------------------------------------------
defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
defconfig (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
defconfig+arm64-chromebook (arm64, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gcw0_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gemini_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
haps_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
hsdk_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-10) — FAIL, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab_gpl+ixp4xx_irq_init+0x0): Section mismatch in reference from the variable __ksymtab_ixp4xx_irq_init to the function .init.text:ixp4xx_irq_init()
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1b_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson1c_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
Section mismatches:
WARNING: modpost: vmlinux.o(___ksymtab+prom_init_numa_memory+0x0): Section mismatch in reference from the variable __ksymtab_prom_init_numa_memory to the function .init.text:prom_init_numa_memory()
--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
malta_qemu_32r6_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
maltaup_xpa_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
milbeaut_m10v_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mps2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v4t_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-10) — FAIL, 121 errors, 1 warning, 0 section mismatches
Errors:
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: implicit declaration of function ‘RK_MUXROUTE_SAME’ [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-rockchip.c:819:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:820:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:821:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:822:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:823:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:824:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:825:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:826:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:827:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:828:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:829:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:830:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:831:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:832:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:833:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:834:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:835:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:836:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:837:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:838:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:839:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:840:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:841:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:842:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:843:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:844:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:845:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:846:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:847:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:848:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:849:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:850:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:851:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:852:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:853:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:854:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:855:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:856:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:857:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:858:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:859:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:860:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:861:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:862:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:863:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:864:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:865:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:866:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:870:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:871:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:872:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:873:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:874:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:875:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:876:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:880:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:881:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:885:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:886:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:887:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:888:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:889:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:890:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:891:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:892:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:893:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:894:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:895:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:896:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:897:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:898:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:899:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:900:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:901:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:902:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:906:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:907:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:911:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:912:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:913:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:914:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:915:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:916:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:917:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:918:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:919:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:920:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:921:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:922:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:923:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:924:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:925:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:926:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:927:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:928:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:929:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:930:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:931:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:932:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:933:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:934:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:935:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:936:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:940:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:941:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:942:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:943:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:944:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:945:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:946:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:947:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:948:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:949:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:950:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:951:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:955:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:956:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:957:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:958:2: error: initializer element is not constant
drivers/pinctrl/pinctrl-rockchip.c:959:2: error: initializer element is not constant
Warnings:
cc1: some warnings being treated as errors
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nommu_k210_defconfig (riscv, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
nsimosci_hs_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
omega2p_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
oxnas_v6_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pic32mzda_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pistachio_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
pxa_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
Warnings:
drivers/block/paride/bpck.c:32: warning: "PC" redefined
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-10) — FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
arm-linux-gnueabihf-gcc: error: unrecognized -march target: armv3m
arm-linux-gnueabihf-gcc: error: missing argument to ‘-march=’
--------------------------------------------------------------------------------
rs90_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
rv32_defconfig (riscv, gcc-10) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
<stdin>:830:2: warning: #warning syscall fstat64 not implemented [-Wcpp]
<stdin>:1127:2: warning: #warning syscall fstatat64 not implemented [-Wcpp]
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tango4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (i386, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
tinyconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vdk_hs38_smp_defconfig (arc, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vocore2_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-10) — PASS, 0 errors, 0 warnings, 0 section mismatches
---
For more info write to <info(a)kernelci.org>
Hello,
A reputable pharmaceutical company from Vietnam is in need of a reliable individual or corporate entity in your state to act as their Liaison; this will not affect your current job or business operations in anyway. If interested, reply for more information.
Sincerely,
Ms. Kelvin Lin
CC
This is a note to let you know that I've just added the patch titled
iio: adc: ad_sigma_delta: do not use internal iio_dev lock
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
From 20228a1d5a55e7db0c6720840f2c7d2b48c55f69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nuno=20S=C3=A1?= <nuno.sa(a)analog.com>
Date: Tue, 20 Sep 2022 13:28:07 +0200
Subject: iio: adc: ad_sigma_delta: do not use internal iio_dev lock
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Drop 'mlock' usage by making use of iio_device_claim_direct_mode().
This change actually makes sure we cannot do a single conversion while
buffering is enable. Note there was a potential race in the previous
code since we were only acquiring the lock after checking if the bus is
enabled.
Fixes: af3008485ea0 ("iio:adc: Add common code for ADI Sigma Delta devices")
Signed-off-by: Nuno Sá <nuno.sa(a)analog.com>
Reviewed-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: <Stable(a)vger.kernel.org> #No rush as race is very old.
Link: https://lore.kernel.org/r/20220920112821.975359-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
---
drivers/iio/adc/ad_sigma_delta.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c
index 261a9a6b45e1..d8570f620785 100644
--- a/drivers/iio/adc/ad_sigma_delta.c
+++ b/drivers/iio/adc/ad_sigma_delta.c
@@ -281,10 +281,10 @@ int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev,
unsigned int data_reg;
int ret = 0;
- if (iio_buffer_enabled(indio_dev))
- return -EBUSY;
+ ret = iio_device_claim_direct_mode(indio_dev);
+ if (ret)
+ return ret;
- mutex_lock(&indio_dev->mlock);
ad_sigma_delta_set_channel(sigma_delta, chan->address);
spi_bus_lock(sigma_delta->spi->master);
@@ -323,7 +323,7 @@ int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev,
ad_sigma_delta_set_mode(sigma_delta, AD_SD_MODE_IDLE);
sigma_delta->bus_locked = false;
spi_bus_unlock(sigma_delta->spi->master);
- mutex_unlock(&indio_dev->mlock);
+ iio_device_release_direct_mode(indio_dev);
if (ret)
return ret;
--
2.38.1
This is a note to let you know that I've just added the patch titled
iio: adc: ad_sigma_delta: do not use internal iio_dev lock
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the char-misc-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
From 20228a1d5a55e7db0c6720840f2c7d2b48c55f69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nuno=20S=C3=A1?= <nuno.sa(a)analog.com>
Date: Tue, 20 Sep 2022 13:28:07 +0200
Subject: iio: adc: ad_sigma_delta: do not use internal iio_dev lock
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Drop 'mlock' usage by making use of iio_device_claim_direct_mode().
This change actually makes sure we cannot do a single conversion while
buffering is enable. Note there was a potential race in the previous
code since we were only acquiring the lock after checking if the bus is
enabled.
Fixes: af3008485ea0 ("iio:adc: Add common code for ADI Sigma Delta devices")
Signed-off-by: Nuno Sá <nuno.sa(a)analog.com>
Reviewed-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: <Stable(a)vger.kernel.org> #No rush as race is very old.
Link: https://lore.kernel.org/r/20220920112821.975359-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
---
drivers/iio/adc/ad_sigma_delta.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c
index 261a9a6b45e1..d8570f620785 100644
--- a/drivers/iio/adc/ad_sigma_delta.c
+++ b/drivers/iio/adc/ad_sigma_delta.c
@@ -281,10 +281,10 @@ int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev,
unsigned int data_reg;
int ret = 0;
- if (iio_buffer_enabled(indio_dev))
- return -EBUSY;
+ ret = iio_device_claim_direct_mode(indio_dev);
+ if (ret)
+ return ret;
- mutex_lock(&indio_dev->mlock);
ad_sigma_delta_set_channel(sigma_delta, chan->address);
spi_bus_lock(sigma_delta->spi->master);
@@ -323,7 +323,7 @@ int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev,
ad_sigma_delta_set_mode(sigma_delta, AD_SD_MODE_IDLE);
sigma_delta->bus_locked = false;
spi_bus_unlock(sigma_delta->spi->master);
- mutex_unlock(&indio_dev->mlock);
+ iio_device_release_direct_mode(indio_dev);
if (ret)
return ret;
--
2.38.1
Hi Greg
6.0.10-rc2
compiles [1], boots and runs here on x86_64
(Intel i5-11400, Fedora 37)
[1]
no rtc_wake_setup error seen here
Thanks
Tested-by: Ronald Warsow <rwarsow(a)gmx.de>
>
> On 24.11.22 02:08, Dominic Jones wrote:
> >> On Fri, Oct 28, 2022 at 02:51:43PM +0000, Dominic Jones wrote:
> >>> Updating the machine's kernel from v5.19.x to v6.0.x causes the machine to not
> >>> successfully boot. The machine boots successfully (and exhibits stable operation)
> >>> with version v5.19.17 and multiple earlier releases in the 5.19 line. Multiple releases
> >>> from the 6.0 line (including 6.0.0, 6.0.3, and 6.0.5), with no other changes to the
> >>> software environment, do not boot. Instead, the machine hangs after loading services
> >>> but before presenting a display manager; the machine instead shows repetitive hard
> >>> drive activity at this point and then no apparent activity.
> >>>
> >>> ''uname'' output for the machine successfully running v5.19.17 is:
> >>>
> >>> Linux [MACHINE_NAME] 5.19.17 #1 SMP PREEMPT_DYNAMIC Mon Oct 24 13:32:29 2022 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
> >>>
> >>> The machine is an OCZ Neutrino netbook, running a custom OS build largely similar to
> >>> LFS development. The kernel update uses ''make olddefconfig''.
> >>
> >> Can you use 'git bisect' to find the offending change that causes this
> >> to happen?
> >
> > Bisection is complete. Here's what it returned.
> >
> > ---
> >
> > 3a194f3f8ad01bce00bd7174aaba1563bcc827eb is the first bad commit
>
> Many thx for this. A fix for that particular commit for recently
> committed to 6.0.y:
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=…
>
> That thus bears the question: does your problem still happen with the
> latest 6.0.y version?
I'll test; it looks like 6.0.9 is the current stable release so I'll give that a
try.
Dominic
This is an automatic generated email to let you know that the following patch were queued:
Subject: media: dvb-core: Fix double free in dvb_register_device()
Author: Keita Suzuki <keitasuzuki.park(a)sslab.ics.keio.ac.jp>
Date: Tue Apr 26 06:29:19 2022 +0100
In function dvb_register_device() -> dvb_register_media_device() ->
dvb_create_media_entity(), dvb->entity is allocated and initialized. If
the initialization fails, it frees the dvb->entity, and return an error
code. The caller takes the error code and handles the error by calling
dvb_media_device_free(), which unregisters the entity and frees the
field again if it is not NULL. As dvb->entity may not NULLed in
dvb_create_media_entity() when the allocation of dvbdev->pad fails, a
double free may occur. This may also cause an Use After free in
media_device_unregister_entity().
Fix this by storing NULL to dvb->entity when it is freed.
Link: https://lore.kernel.org/linux-media/20220426052921.2088416-1-keitasuzuki.pa…
Fixes: fcd5ce4b3936 ("media: dvb-core: fix a memory leak bug")
Cc: stable(a)vger.kernel.org
Cc: Wenwen Wang <wenwen(a)cs.uga.edu>
Signed-off-by: Keita Suzuki <keitasuzuki.park(a)sslab.ics.keio.ac.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab(a)kernel.org>
drivers/media/dvb-core/dvbdev.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/drivers/media/dvb-core/dvbdev.c b/drivers/media/dvb-core/dvbdev.c
index d5a142ef9876..5b275a9395c1 100644
--- a/drivers/media/dvb-core/dvbdev.c
+++ b/drivers/media/dvb-core/dvbdev.c
@@ -333,6 +333,7 @@ static int dvb_create_media_entity(struct dvb_device *dvbdev,
GFP_KERNEL);
if (!dvbdev->pads) {
kfree(dvbdev->entity);
+ dvbdev->entity = NULL;
return -ENOMEM;
}
}
From: Thomas Huth <thuth(a)redhat.com>
We recently experienced some weird huge time jumps in nested guests when
rebooting them in certain cases. After adding some debug code to the epoch
handling in vsie.c (thanks to David Hildenbrand for the idea!), it was
obvious that the "epdx" field (the multi-epoch extension) did not get set
to 0xff in case the "epoch" field was negative.
Seems like the code misses to copy the value from the epdx field from
the guest to the shadow control block. By doing so, the weird time
jumps are gone in our scenarios.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2140899
Fixes: 8fa1696ea781 ("KVM: s390: Multiple Epoch Facility support")
Signed-off-by: Thomas Huth <thuth(a)redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger(a)linux.ibm.com>
Acked-by: David Hildenbrand <david(a)redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda(a)linux.ibm.com>
Reviewed-by: Janosch Frank <frankja(a)linux.ibm.com>
Cc: stable(a)vger.kernel.org # 4.19+
Link: https://lore.kernel.org/r/20221123090833.292938-1-thuth@redhat.com
Message-Id: <20221123090833.292938-1-thuth(a)redhat.com>
Signed-off-by: Janosch Frank <frankja(a)linux.ibm.com>
---
arch/s390/kvm/vsie.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c
index 94138f8f0c1c..ace2541ababd 100644
--- a/arch/s390/kvm/vsie.c
+++ b/arch/s390/kvm/vsie.c
@@ -546,8 +546,10 @@ static int shadow_scb(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
if (test_kvm_cpu_feat(vcpu->kvm, KVM_S390_VM_CPU_FEAT_CEI))
scb_s->eca |= scb_o->eca & ECA_CEI;
/* Epoch Extension */
- if (test_kvm_facility(vcpu->kvm, 139))
+ if (test_kvm_facility(vcpu->kvm, 139)) {
scb_s->ecd |= scb_o->ecd & ECD_MEF;
+ scb_s->epdx = scb_o->epdx;
+ }
/* etoken */
if (test_kvm_facility(vcpu->kvm, 156))
--
2.38.1
From: Ziyang Xuan <william.xuanziyang(a)huawei.com>
In can327_feed_frame_to_netdev(), it did not free the skb when netdev
is down, and all callers of can327_feed_frame_to_netdev() did not free
allocated skb too. That would trigger skb leak.
Fix it by adding kfree_skb() in can327_feed_frame_to_netdev() when netdev
is down. Not tested, just compiled.
Fixes: 43da2f07622f ("can: can327: CAN/ldisc driver for ELM327 based OBD-II adapters")
Signed-off-by: Ziyang Xuan <william.xuanziyang(a)huawei.com>
Link: https://lore.kernel.org/all/20221110061437.411525-1-william.xuanziyang@huaw…
Reviewed-by: Max Staudt <max(a)enpas.org>
Cc: stable(a)vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl(a)pengutronix.de>
---
drivers/net/can/can327.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/can/can327.c b/drivers/net/can/can327.c
index 094197780776..ed3d0b8989a0 100644
--- a/drivers/net/can/can327.c
+++ b/drivers/net/can/can327.c
@@ -263,8 +263,10 @@ static void can327_feed_frame_to_netdev(struct can327 *elm, struct sk_buff *skb)
{
lockdep_assert_held(&elm->lock);
- if (!netif_running(elm->dev))
+ if (!netif_running(elm->dev)) {
+ kfree_skb(skb);
return;
+ }
/* Queue for NAPI pickup.
* rx-offload will update stats and LEDs for us.
base-commit: ad17c2a3f11b0f6b122e7842d8f7d9a5fcc7ac63
--
2.35.1
Hello friend,
I am writing to you on behalf of my client Mr. Yusuf Habib. My name is
Lukas, I am an investment portfolio Manager at MetLife, and my client
(Mr. Yusuf Habib) has a large sum of money and he is looking for someone
to help him manage the funds.
The Saudi government filed charges against my-client Mr. Yusuf Habib
with the aim of keeping him in prison indefinitely. A variety of local
and foreign politicians, civil activists, and journalists consider the
process leading to the imprisonment of Mr. Yusuf to be politically
motivated. My client's involvement and financial support for Jamal Ahmad
Khashoggi posed the most challenge ever to Mohammed bin Salman Al Saud
who happens to be the current Crown Prince of Saudi Arabia. The money is
currently deposited in the name of an existing Investment entity.
My client Mr. Yusuf Habib has presented a subtle offer that will need
the help of a partner like you to complete successfully. Mr. Yusuf Habib
is in a difficult situation, and he must immediately relocate certain
sums of money and this must be done in such a way that it must not be
tied to Mr. Yusuf Habib. The money is currently deposited in the name of
an existing Investment entity.
Your role will be to:
[1]. Act as the original beneficiary of the funds.
[2]. Receive the funds into a business / private bank account.
[3]. Invest / Manage the funds outside of Turkey
[4]. Value of funds: 35 million US Dollars.
See the website below to understand better the problem Mr. Yusuf Habib
faced all these past years:
Everything will be done legally to ensure the rights to the funds are
transferred to you. If you agree to partner with Mr. Yusuf Habib in this
partnership business proposal, he will compensate you with 35% percent
of the total sum.
Terms will be discussed when you show interest and if you aren't
interested and you know of someone looking for an investor, please give
him / her my contact.
Should you prefer I re-contact you with more express facts. Then make
your interest known.
Sincerely,
Lukas.
The patch titled
Subject: mm: migrate: fix THP's mapcount on isolation
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-migrate-fix-thps-mapcount-on-isolation.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Gavin Shan <gshan(a)redhat.com>
Subject: mm: migrate: fix THP's mapcount on isolation
Date: Thu, 24 Nov 2022 17:55:23 +0800
The issue is reported when removing memory through virtio_mem device. The
transparent huge page, experienced copy-on-write fault, is wrongly
regarded as pinned. The transparent huge page is escaped from being
isolated in isolate_migratepages_block(). The transparent huge page can't
be migrated and the corresponding memory block can't be put into offline
state.
Fix it by replacing page_mapcount() with total_mapcount(). With this, the
transparent huge page can be isolated and migrated, and the memory block
can be put into offline state. Besides, The page's refcount is increased
a bit earlier to avoid the page is released when the check is executed.
Link: https://lkml.kernel.org/r/20221124095523.31061-1-gshan@redhat.com
Fixes: 1da2f328fa64 ("mm,thp,compaction,cma: allow THP migration for CMA allocations")
Signed-off-by: Gavin Shan <gshan(a)redhat.com>
Reported-by: Zhenyu Zhang <zhenyzha(a)redhat.com>
Suggested-by: David Hildenbrand <david(a)redhat.com>
Acked-by: David Hildenbrand <david(a)redhat.com>
Cc: Alistair Popple <apopple(a)nvidia.com>
Cc: Hugh Dickins <hughd(a)google.com>
Cc: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Cc: Matthew Wilcox <willy(a)infradead.org>
Cc: William Kucharski <william.kucharski(a)oracle.com>
Cc: Zi Yan <ziy(a)nvidia.com>
Cc: <stable(a)vger.kernel.org> [5.7+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/compaction.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
--- a/mm/compaction.c~mm-migrate-fix-thps-mapcount-on-isolation
+++ a/mm/compaction.c
@@ -985,28 +985,28 @@ isolate_migratepages_block(struct compac
}
/*
+ * Be careful not to clear PageLRU until after we're
+ * sure the page is not being freed elsewhere -- the
+ * page release code relies on it.
+ */
+ if (unlikely(!get_page_unless_zero(page)))
+ goto isolate_fail;
+
+ /*
* Migration will fail if an anonymous page is pinned in memory,
* so avoid taking lru_lock and isolating it unnecessarily in an
* admittedly racy check.
*/
mapping = page_mapping(page);
- if (!mapping && page_count(page) > page_mapcount(page))
- goto isolate_fail;
+ if (!mapping && (page_count(page) - 1) > total_mapcount(page))
+ goto isolate_fail_put;
/*
* Only allow to migrate anonymous pages in GFP_NOFS context
* because those do not depend on fs locks.
*/
if (!(cc->gfp_mask & __GFP_FS) && mapping)
- goto isolate_fail;
-
- /*
- * Be careful not to clear PageLRU until after we're
- * sure the page is not being freed elsewhere -- the
- * page release code relies on it.
- */
- if (unlikely(!get_page_unless_zero(page)))
- goto isolate_fail;
+ goto isolate_fail_put;
/* Only take pages on LRU: a check now makes later tests safe */
if (!PageLRU(page))
_
Patches currently in -mm which might be from gshan(a)redhat.com are
mm-migrate-fix-thps-mapcount-on-isolation.patch
The quilt patch titled
Subject: mm: migrate: Fix THP's mapcount on isolation
has been removed from the -mm tree. Its filename was
mm-migrate-fix-thps-mapcount-on-isolation.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Gavin Shan <gshan(a)redhat.com>
Subject: mm: migrate: Fix THP's mapcount on isolation
Date: Wed, 23 Nov 2022 08:57:52 +0800
The issue is reported when removing memory through virtio_mem device. The
transparent huge page, experienced copy-on-write fault, is wrongly
regarded as pinned. The transparent huge page is escaped from being
isolated in isolate_migratepages_block(). The transparent huge page can't
be migrated and the corresponding memory block can't be put into offline
state.
Fix it by replacing page_mapcount() with total_mapcount(). With this, the
transparent huge page can be isolated and migrated, and the memory block
can be put into offline state.
Link: https://lkml.kernel.org/r/20221123005752.161003-1-gshan@redhat.com
Fixes: 3917c80280c9 ("thp: change CoW semantics for anon-THP")
Signed-off-by: Gavin Shan <gshan(a)redhat.com>
Reported-by: Zhenyu Zhang <zhenyzha(a)redhat.com>
Suggested-by: David Hildenbrand <david(a)redhat.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Cc: William Kucharski <william.kucharski(a)oracle.com>
Cc: Zi Yan <ziy(a)nvidia.com>
Cc: <stable(a)vger.kernel.org> [v5.8+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/compaction.c~mm-migrate-fix-thps-mapcount-on-isolation
+++ a/mm/compaction.c
@@ -990,7 +990,7 @@ isolate_migratepages_block(struct compac
* admittedly racy check.
*/
mapping = page_mapping(page);
- if (!mapping && page_count(page) > page_mapcount(page))
+ if (!mapping && page_count(page) > total_mapcount(page))
goto isolate_fail;
/*
_
Patches currently in -mm which might be from gshan(a)redhat.com are
Make nfsd_splice_actor work with reads with a non-zero offset that doesn't end on a page boundary.
This was found when virtual machines with nfs-mounted qcow2 disks failed to boot properly (originally found
on v6.0.5, fix also needed and tested on v6.0.9 and v6.1-rc6).
Signed-off-by: Anders Blomdell <anders.blomdell(a)control.lth.se>
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2142132
Fixes: bfbfb6182ad1 "nfsd_splice_actor(): handle compound pages"
Cc: stable(a)vger.kernel.org # v6.0+
-- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -869,12 +869,13 @@ nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
struct splice_desc *sd)
{
struct svc_rqst *rqstp = sd->u.data;
- struct page *page = buf->page; // may be a compound one
+ // buf->page may be a compound one
unsigned offset = buf->offset;
+ struct page *first = buf->page + offset / PAGE_SIZE;
+ struct page *last = buf->page + (offset + sd->len - 1) / PAGE_SIZE;
- page += offset / PAGE_SIZE;
- for (int i = sd->len; i > 0; i -= PAGE_SIZE)
- svc_rqst_replace_page(rqstp, page++);
+ for (struct page *page = first; page <= last; page++)
+ svc_rqst_replace_page(rqstp, page);
if (rqstp->rq_res.page_len == 0) // first call
rqstp->rq_res.page_base = offset % PAGE_SIZE;
rqstp->rq_res.page_len += sd->len;
--
Anders Blomdell Email: anders.blomdell(a)control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118
SE-221 00 Lund, Sweden
From: "Steven Rostedt (Google)" <rostedt(a)goodmis.org>
commit 94eedf3dded5 ("tracing: Fix race where eprobes can be called before
the event") fixed an issue where if an event is soft disabled, and the
trigger is being added, there's a small window where the event sees that
there's a trigger but does not see that it requires reading the event yet,
and then calls the trigger with the record == NULL.
This could be solved with adding memory barriers in the hot path, or to
make sure that all the triggers requiring a record check for NULL. The
latter was chosen.
Commit 94eedf3dded5 set the eprobe trigger handle to check for NULL, but
the same needs to be done with histograms.
Link: https://lore.kernel.org/linux-trace-kernel/20221118211809.701d40c0f8a757b0d…
Link: https://lore.kernel.org/linux-trace-kernel/20221123164323.03450c3a@gandalf.…
Cc: Tom Zanussi <zanussi(a)kernel.org>
Cc: stable(a)vger.kernel.org
Fixes: 7491e2c442781 ("tracing: Add a probe that attaches to trace events")
Reported-by: Masami Hiramatsu (Google) <mhiramat(a)kernel.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat(a)kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt(a)goodmis.org>
---
kernel/trace/trace_events_hist.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index 087c19548049..1c82478e8dff 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -5143,6 +5143,9 @@ static void event_hist_trigger(struct event_trigger_data *data,
void *key = NULL;
unsigned int i;
+ if (unlikely(!rbe))
+ return;
+
memset(compound_key, 0, hist_data->key_size);
for_each_hist_key_field(i, hist_data) {
--
2.35.1
From: Keith Busch <kbusch(a)kernel.org>
commit 23e085b2dead13b51fe86d27069895b740f749c0 upstream.
The passthrough commands already have this restriction, but the other
operations do not. Require the same capabilities for all users as all of
these operations, which include resets and rescans, can be disruptive.
Signed-off-by: Keith Busch <kbusch(a)kernel.org>
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Ovidiu Panait <ovidiu.panait(a)windriver.com>
---
These backports are for CVE-2022-3169.
drivers/nvme/host/core.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 3f106771d15b..d9c78fe85cb3 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -3330,11 +3330,17 @@ static long nvme_dev_ioctl(struct file *file, unsigned int cmd,
case NVME_IOCTL_IO_CMD:
return nvme_dev_user_cmd(ctrl, argp);
case NVME_IOCTL_RESET:
+ if (!capable(CAP_SYS_ADMIN))
+ return -EACCES;
dev_warn(ctrl->device, "resetting controller\n");
return nvme_reset_ctrl_sync(ctrl);
case NVME_IOCTL_SUBSYS_RESET:
+ if (!capable(CAP_SYS_ADMIN))
+ return -EACCES;
return nvme_reset_subsystem(ctrl);
case NVME_IOCTL_RESCAN:
+ if (!capable(CAP_SYS_ADMIN))
+ return -EACCES;
nvme_queue_scan(ctrl);
return 0;
default:
--
2.38.1
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 6532783310e2b2f50dc13f46c49aa6546cb6e7a3
Gitweb: https://git.kernel.org/tip/6532783310e2b2f50dc13f46c49aa6546cb6e7a3
Author: Alexander Antonov <alexander.antonov(a)linux.intel.com>
AuthorDate: Thu, 17 Nov 2022 12:28:25
Committer: Peter Zijlstra <peterz(a)infradead.org>
CommitterDate: Thu, 24 Nov 2022 11:09:20 +01:00
perf/x86/intel/uncore: Clear attr_update properly
Current clear_attr_update procedure in pmu_set_mapping() sets attr_update
field in NULL that is not correct because intel_uncore_type pmu types can
contain several groups in attr_update field. For example, SPR platform
already has uncore_alias_group to update and then UPI topology group will
be added in next patches.
Fix current behavior and clear attr_update group related to mapping only.
Fixes: bb42b3d39781 ("perf/x86/intel/uncore: Expose an Uncore unit to IIO PMON mapping")
Signed-off-by: Alexander Antonov <alexander.antonov(a)linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Reviewed-by: Kan Liang <kan.liang(a)linux.intel.com>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/20221117122833.3103580-4-alexander.antonov@linux.…
---
arch/x86/events/intel/uncore_snbep.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/x86/events/intel/uncore_snbep.c b/arch/x86/events/intel/uncore_snbep.c
index d3323f1..0d06b56 100644
--- a/arch/x86/events/intel/uncore_snbep.c
+++ b/arch/x86/events/intel/uncore_snbep.c
@@ -3872,6 +3872,21 @@ static const struct attribute_group *skx_iio_attr_update[] = {
NULL,
};
+static void pmu_clear_mapping_attr(const struct attribute_group **groups,
+ struct attribute_group *ag)
+{
+ int i;
+
+ for (i = 0; groups[i]; i++) {
+ if (groups[i] == ag) {
+ for (i++; groups[i]; i++)
+ groups[i - 1] = groups[i];
+ groups[i - 1] = NULL;
+ break;
+ }
+ }
+}
+
static int
pmu_set_mapping(struct intel_uncore_type *type, struct attribute_group *ag,
ssize_t (*show)(struct device*, struct device_attribute*, char*),
@@ -3926,7 +3941,7 @@ clear_attrs:
clear_topology:
pmu_free_topology(type);
clear_attr_update:
- type->attr_update = NULL;
+ pmu_clear_mapping_attr(type->attr_update, ag);
return ret;
}
Hi,
I'd like to request the follow commits to be backported to 5.15.y.
- dd0f230a0a80 ("mm: hwpoison: refactor refcount check handling")
- 4966455d9100 ("mm: hwpoison: handle non-anonymous THP correctly")
- a76054266661 ("mm: shmem: don't truncate page if memory failure happens")
These patches fixed a data lost issue by preventing shmem pagecache from
being removed by memory error. These were not tagged for stable originally,
but that's revisited recently.
Thanks,
Naoya Horiguchi
On Wed, 23 Nov 2022 14:25:58 -0500
Steven Rostedt <rostedt(a)goodmis.org> wrote:
> From: "Steven Rostedt (Google)" <rostedt(a)goodmis.org>
>
> After 65536 dynamic events have been added and removed, the "type" field
> of the event then uses the first type number that is available (not
> currently used by other events). A type number is the identifier of the
> binary blobs in the tracing ring buffer (known as events) to map them to
> logic that can parse the binary blob.
>
> The issue is that if a dynamic event (like a kprobe event) is traced and
> is in the ring buffer, and then that event is removed (because it is
> dynamic, which means it can be created and destroyed), if another dynamic
> event is created that has the same number that new event's logic on
> parsing the binary blob will be used.
>
> To show how this can be an issue, the following can crash the kernel:
>
> # cd /sys/kernel/tracing
> # for i in `seq 65536`; do
> echo 'p:kprobes/foo do_sys_openat2 $arg1:u32' > kprobe_events
> # done
>
> For every iteration of the above, the writing to the kprobe_events will
> remove the old event and create a new one (with the same format) and
> increase the type number to the next available on until the type number
> reaches over 65535 which is the max number for the 16 bit type. After it
> reaches that number, the logic to allocate a new number simply looks for
> the next available number. When an dynamic event is removed, that number
> is then available to be reused by the next dynamic event created. That is,
> once the above reaches the max number, the number assigned to the event in
> that loop will remain the same.
>
> Now that means deleting one dynamic event and created another will reuse
> the previous events type number. This is where bad things can happen.
> After the above loop finishes, the kprobes/foo event which reads the
> do_sys_openat2 function call's first parameter as an integer.
>
> # echo 1 > kprobes/foo/enable
> # cat /etc/passwd > /dev/null
> # cat trace
> cat-2211 [005] .... 2007.849603: foo: (do_sys_openat2+0x0/0x130) arg1=4294967196
> cat-2211 [005] .... 2007.849620: foo: (do_sys_openat2+0x0/0x130) arg1=4294967196
> cat-2211 [005] .... 2007.849838: foo: (do_sys_openat2+0x0/0x130) arg1=4294967196
> cat-2211 [005] .... 2007.849880: foo: (do_sys_openat2+0x0/0x130) arg1=4294967196
> # echo 0 > kprobes/foo/enable
>
> Now if we delete the kprobe and create a new one that reads a string:
>
> # echo 'p:kprobes/foo do_sys_openat2 +0($arg2):string' > kprobe_events
>
> And now we can the trace:
>
> # cat trace
> sendmail-1942 [002] ..... 530.136320: foo: (do_sys_openat2+0x0/0x240) arg1= cat-2046 [004] ..... 530.930817: foo: (do_sys_openat2+0x0/0x240) arg1="������������������������������������������������������������������������������������������������"
> cat-2046 [004] ..... 530.930961: foo: (do_sys_openat2+0x0/0x240) arg1="������������������������������������������������������������������������������������������������"
> cat-2046 [004] ..... 530.934278: foo: (do_sys_openat2+0x0/0x240) arg1="������������������������������������������������������������������������������������������������"
> cat-2046 [004] ..... 530.934563: foo: (do_sys_openat2+0x0/0x240) arg1="������������������������������������������������������������������������������������������������"
> bash-1515 [007] ..... 534.299093: foo: (do_sys_openat2+0x0/0x240) arg1="kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk���������@��4Z����;Y�����U
Aah, right. Even if we remove one dynamic event, it was shown
as unknown events.
>
> And dmesg has:
>
> ==================================================================
> BUG: KASAN: use-after-free in string+0xd4/0x1c0
> Read of size 1 at addr ffff88805fdbbfa0 by task cat/2049
>
> CPU: 0 PID: 2049 Comm: cat Not tainted 6.1.0-rc6-test+ #641
> Hardware name: Hewlett-Packard HP Compaq Pro 6300 SFF/339A, BIOS K01 v03.03 07/14/2016
> Call Trace:
> <TASK>
> dump_stack_lvl+0x5b/0x77
> print_report+0x17f/0x47b
> kasan_report+0xad/0x130
> string+0xd4/0x1c0
> vsnprintf+0x500/0x840
> seq_buf_vprintf+0x62/0xc0
> trace_seq_printf+0x10e/0x1e0
> print_type_string+0x90/0xa0
> print_kprobe_event+0x16b/0x290
> print_trace_line+0x451/0x8e0
> s_show+0x72/0x1f0
> seq_read_iter+0x58e/0x750
> seq_read+0x115/0x160
> vfs_read+0x11d/0x460
> ksys_read+0xa9/0x130
> do_syscall_64+0x3a/0x90
> entry_SYSCALL_64_after_hwframe+0x63/0xcd
> RIP: 0033:0x7fc2e972ade2
> Code: c0 e9 b2 fe ff ff 50 48 8d 3d b2 3f 0a 00 e8 05 f0 01 00 0f 1f 44 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24
> RSP: 002b:00007ffc64e687c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
> RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007fc2e972ade2
> RDX: 0000000000020000 RSI: 00007fc2e980d000 RDI: 0000000000000003
> RBP: 00007fc2e980d000 R08: 00007fc2e980c010 R09: 0000000000000000
> R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000020f00
> R13: 0000000000000003 R14: 0000000000020000 R15: 0000000000020000
> </TASK>
>
> The buggy address belongs to the physical page:
> page:ffffea00017f6ec0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5fdbb
> flags: 0xfffffc0000000(node=0|zone=1|lastcpupid=0x1fffff)
> raw: 000fffffc0000000 0000000000000000 ffffea00017f6ec8 0000000000000000
> raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
> page dumped because: kasan: bad access detected
>
> Memory state around the buggy address:
> ffff88805fdbbe80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ffff88805fdbbf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> >ffff88805fdbbf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ^
> ffff88805fdbc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ffff88805fdbc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ==================================================================
>
> This was found when Zheng Yejian sent a patch to convert the even type
> number assignment to use IDA, which gives the next available number, and
> this bug showed up in the fuzz testing by Yujie Liu and the kernel test
> robot. But after further analysis, I found that this behavior is the same
> as when the event type numbers go past the 16bit max (and the above shows
> that).
>
> As modules have a similar issue, but is dealt with by setting a
> "WAS_ENABLED" flag when a module event is enabled, and when the module is
> freed, if any of its events were enabled, the ring buffer that holds that
> event is also cleared, to prevent reading stale events. The same can be
> done for dynamic events.
Indeed. If the dynamic event had not been enabled, there is no reason
to clear the buffer.
This looks good to me.
Acked-by: Masami Hiramatsu (Google) <mhiramat(a)kernel.org>
Thank you!
>
> If any dynamic event that is being removed was enabled, then make sure the
> buffers they were enabled in are now cleared.
>
> Link: https://lore.kernel.org/all/20221110020319.1259291-1-zhengyejian1@huawei.co…
>
> Cc: stable(a)vger.kernel.org
> Depends-on: TBD ("tracing: Add tracing_reset_all_online_cpus_unlocked() function")
> Depends-on: 5448d44c38557 ("tracing: Add unified dynamic event framework")
> Depends-on: 6212dd29683ee ("tracing/kprobes: Use dyn_event framework for kprobe events")
> Depends-on: 065e63f951432 ("tracing: Only have rmmod clear buffers that its events were active in")
> Depends-on: 575380da8b469 ("tracing: Only clear trace buffer on module unload if event was traced")
> Fixes: 77b44d1b7c283 ("tracing/kprobes: Rename Kprobe-tracer to kprobe-event")
> Reported-by: Zheng Yejian <zhengyejian1(a)huawei.com>
> Reported-by: Yujie Liu <yujie.liu(a)intel.com>
> Reported-by: kernel test robot <yujie.liu(a)intel.com>
> Signed-off-by: Steven Rostedt (Google) <rostedt(a)goodmis.org>
> ---
> kernel/trace/trace_dynevent.c | 2 ++
> kernel/trace/trace_events.c | 11 ++++++++++-
> 2 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace_dynevent.c b/kernel/trace/trace_dynevent.c
> index 154996684fb5..4376887e0d8a 100644
> --- a/kernel/trace/trace_dynevent.c
> +++ b/kernel/trace/trace_dynevent.c
> @@ -118,6 +118,7 @@ int dyn_event_release(const char *raw_command, struct dyn_event_operations *type
> if (ret)
> break;
> }
> + tracing_reset_all_online_cpus();
> mutex_unlock(&event_mutex);
> out:
> argv_free(argv);
> @@ -214,6 +215,7 @@ int dyn_events_release_all(struct dyn_event_operations *type)
> break;
> }
> out:
> + tracing_reset_all_online_cpus();
> mutex_unlock(&event_mutex);
>
> return ret;
> diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c
> index 0449e3c7d327..3bfaf560ecc4 100644
> --- a/kernel/trace/trace_events.c
> +++ b/kernel/trace/trace_events.c
> @@ -2947,7 +2947,10 @@ static int probe_remove_event_call(struct trace_event_call *call)
> * TRACE_REG_UNREGISTER.
> */
> if (file->flags & EVENT_FILE_FL_ENABLED)
> - return -EBUSY;
> + goto busy;
> +
> + if (file->flags & EVENT_FILE_FL_WAS_ENABLED)
> + tr->clear_trace = true;
> /*
> * The do_for_each_event_file_safe() is
> * a double loop. After finding the call for this
> @@ -2960,6 +2963,12 @@ static int probe_remove_event_call(struct trace_event_call *call)
> __trace_remove_event_call(call);
>
> return 0;
> + busy:
> + /* No need to clear the trace now */
> + list_for_each_entry(tr, &ftrace_trace_arrays, list) {
> + tr->clear_trace = false;
> + }
> + return -EBUSY;
> }
>
> /* Remove an event_call */
> --
> 2.35.1
>
>
--
Masami Hiramatsu (Google) <mhiramat(a)kernel.org>
The patch titled
Subject: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
Date: Wed, 23 Nov 2022 17:56:52 +0100
Any codepath that zaps page table entries must invoke MMU notifiers to
ensure that secondary MMUs (like KVM) don't keep accessing pages which
aren't mapped anymore. Secondary MMUs don't hold their own references to
pages that are mirrored over, so failing to notify them can lead to page
use-after-free.
I'm marking this as addressing an issue introduced in commit f3f0e1d2150b
("khugepaged: add support of collapse for tmpfs/shmem pages"), but most of
the security impact of this only came in commit 27e1f8273113 ("khugepaged:
enable collapse pmd for pte-mapped THP"), which actually omitted flushes
for the removal of present PTEs, not just for the removal of empty page
tables.
Link: https://lkml.kernel.org/r/20221123165652.2204925-5-jannh@google.com
Fixes: f3f0e1d2150b ("khugepaged: add support of collapse for tmpfs/shmem p=
ages")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Mike Kravetz <mike.kravetz(a)oracle.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/mm/khugepaged.c~mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths
+++ a/mm/khugepaged.c
@@ -1421,6 +1421,7 @@ static void collapse_and_free_pmd(struct
{
pmd_t pmd;
struct mmu_gather tlb;
+ struct mmu_notifier_range range;
mmap_assert_write_locked(mm);
if (vma->vm_file)
@@ -1433,12 +1434,16 @@ static void collapse_and_free_pmd(struct
lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
page_table_check_pte_clear_range(mm, addr, pmd);
+ mmu_notifier_range_init(&range, MMU_NOTIFY_CLEAR, 0, NULL, mm, addr,
+ addr + HPAGE_PMD_SIZE);
+ mmu_notifier_invalidate_range_start(&range);
tlb_gather_mmu(&tlb, mm);
pmd = READ_ONCE(*pmdp);
pmd_clear(pmdp);
tlb_flush_pte_range(&tlb, addr, HPAGE_PMD_SIZE);
pte_free_tlb(&tlb, pmd_pgtable(pmd), addr);
tlb_finish_mmu(&tlb);
+ mmu_notifier_invalidate_range_end(&range);
mm_dec_nr_ptes(mm);
}
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mmu_gather-use-macro-arguments-more-carefully.patch
mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
The patch titled
Subject: mm/khugepaged: fix GUP-fast interaction by freeing ptes via mmu_gather
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: fix GUP-fast interaction by freeing ptes via mmu_gather
Date: Wed, 23 Nov 2022 17:56:51 +0100
Since commit 70cbc3cc78a99 ("mm: gup: fix the fast GUP race against THP
collapse"), the lockless_pages_from_mm() fastpath rechecks the pmd_t to
ensure that the page table was not removed by khugepaged in between.
However, lockless_pages_from_mm() still requires that the page table is
not concurrently freed. We could provide this guarantee in khugepaged by
using some variant of pte_free() with appropriate delay; but such a helper
doesn't really exist outside the mmu_gather infrastructure.
To avoid having to wire up a new codepath for freeing page tables that
might have been in use in the past, fix the issue by letting khugepaged
deposit a fresh page table (if required) instead of depositing the
existing page table, and free the old page table via mmu_gather.
Link: https://lkml.kernel.org/r/20221123165652.2204925-4-jannh@google.com
Fixes: ba76149f47d8 ("thp: khugepaged")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Mike Kravetz <mike.kravetz(a)oracle.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 47 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 37 insertions(+), 10 deletions(-)
--- a/mm/khugepaged.c~mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather
+++ a/mm/khugepaged.c
@@ -975,6 +975,8 @@ static int collapse_huge_page(struct mm_
int result = SCAN_FAIL;
struct vm_area_struct *vma;
struct mmu_notifier_range range;
+ struct mmu_gather tlb;
+ pgtable_t deposit_table = NULL;
VM_BUG_ON(address & ~HPAGE_PMD_MASK);
@@ -989,6 +991,11 @@ static int collapse_huge_page(struct mm_
result = alloc_charge_hpage(&hpage, mm, cc);
if (result != SCAN_SUCCEED)
goto out_nolock;
+ deposit_table = pte_alloc_one(mm);
+ if (!deposit_table) {
+ result = SCAN_FAIL;
+ goto out_nolock;
+ }
mmap_read_lock(mm);
result = hugepage_vma_revalidate(mm, address, true, &vma, cc);
@@ -1041,12 +1048,12 @@ static int collapse_huge_page(struct mm_
pmd_ptl = pmd_lock(mm, pmd); /* probably unnecessary */
/*
- * This removes any huge TLB entry from the CPU so we won't allow
- * huge and small TLB entries for the same virtual address to
- * avoid the risk of CPU bugs in that area.
- *
- * Parallel fast GUP is fine since fast GUP will back off when
- * it detects PMD is changed.
+ * Unlink the page table from the PMD and do a TLB flush.
+ * This ensures that the CPUs can't write to the old pages anymore by
+ * the time __collapse_huge_page_copy() copies their contents, and it
+ * allows __collapse_huge_page_copy() to free the old pages.
+ * This also prevents lockless_pages_from_mm() from grabbing references
+ * on the old pages from here on.
*/
_pmd = pmdp_collapse_flush(vma, address, pmd);
spin_unlock(pmd_ptl);
@@ -1090,6 +1097,16 @@ static int collapse_huge_page(struct mm_
__SetPageUptodate(hpage);
pgtable = pmd_pgtable(_pmd);
+ /*
+ * Discard the old page table.
+ * The TLB flush that's implied here is redundant, but hard to avoid
+ * with the current API.
+ */
+ tlb_gather_mmu(&tlb, mm);
+ tlb_flush_pte_range(&tlb, address, HPAGE_PMD_SIZE);
+ pte_free_tlb(&tlb, pgtable, address);
+ tlb_finish_mmu(&tlb);
+
_pmd = mk_huge_pmd(hpage, vma->vm_page_prot);
_pmd = maybe_pmd_mkwrite(pmd_mkdirty(_pmd), vma);
@@ -1097,7 +1114,8 @@ static int collapse_huge_page(struct mm_
BUG_ON(!pmd_none(*pmd));
page_add_new_anon_rmap(hpage, vma, address);
lru_cache_add_inactive_or_unevictable(hpage, vma);
- pgtable_trans_huge_deposit(mm, pmd, pgtable);
+ pgtable_trans_huge_deposit(mm, pmd, deposit_table);
+ deposit_table = NULL;
set_pmd_at(mm, address, pmd, _pmd);
update_mmu_cache_pmd(vma, address, pmd);
spin_unlock(pmd_ptl);
@@ -1112,6 +1130,8 @@ out_nolock:
mem_cgroup_uncharge(page_folio(hpage));
put_page(hpage);
}
+ if (deposit_table)
+ pte_free(mm, deposit_table);
trace_mm_collapse_huge_page(mm, result == SCAN_SUCCEED, result);
return result;
}
@@ -1393,11 +1413,14 @@ static int set_huge_pmd(struct vm_area_s
* The mmap lock together with this VMA's rmap locks covers all paths towards
* the page table entries we're messing with here, except for hardware page
* table walks and lockless_pages_from_mm().
+ *
+ * This function is similar to free_pte_range().
*/
static void collapse_and_free_pmd(struct mm_struct *mm, struct vm_area_struct *vma,
unsigned long addr, pmd_t *pmdp)
{
pmd_t pmd;
+ struct mmu_gather tlb;
mmap_assert_write_locked(mm);
if (vma->vm_file)
@@ -1408,11 +1431,15 @@ static void collapse_and_free_pmd(struct
*/
if (vma->anon_vma)
lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
+ page_table_check_pte_clear_range(mm, addr, pmd);
- pmd = pmdp_collapse_flush(vma, addr, pmdp);
+ tlb_gather_mmu(&tlb, mm);
+ pmd = READ_ONCE(*pmdp);
+ pmd_clear(pmdp);
+ tlb_flush_pte_range(&tlb, addr, HPAGE_PMD_SIZE);
+ pte_free_tlb(&tlb, pmd_pgtable(pmd), addr);
+ tlb_finish_mmu(&tlb);
mm_dec_nr_ptes(mm);
- page_table_check_pte_clear_range(mm, addr, pmd);
- pte_free(mm, pmd_pgtable(pmd));
}
/**
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mmu_gather-use-macro-arguments-more-carefully.patch
mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
The patch titled
Subject: mmu_gather: Use macro arguments more carefully
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mmu_gather-use-macro-arguments-more-carefully.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mmu_gather: Use macro arguments more carefully
Date: Wed, 23 Nov 2022 17:56:50 +0100
Avoid breaking stuff when the tlb parameter is an expression like "&tlb".
The following commit relies on this when calling pte_free_tlb().
(Going forward it would probably be a good idea to change macros like this
into inline functions...)
Link: https://lkml.kernel.org/r/20221123165652.2204925-3-jannh@google.com
Fixes: a6d60245d6d9 ("asm-generic/tlb: Track which levels of the page table=
s have been cleared")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Mike Kravetz <mike.kravetz(a)oracle.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
include/asm-generic/tlb.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/include/asm-generic/tlb.h~mmu_gather-use-macro-arguments-more-carefully
+++ a/include/asm-generic/tlb.h
@@ -630,7 +630,7 @@ static inline void tlb_flush_p4d_range(s
#define pte_free_tlb(tlb, ptep, address) \
do { \
tlb_flush_pmd_range(tlb, address, PAGE_SIZE); \
- tlb->freed_tables = 1; \
+ (tlb)->freed_tables = 1; \
__pte_free_tlb(tlb, ptep, address); \
} while (0)
#endif
@@ -639,7 +639,7 @@ static inline void tlb_flush_p4d_range(s
#define pmd_free_tlb(tlb, pmdp, address) \
do { \
tlb_flush_pud_range(tlb, address, PAGE_SIZE); \
- tlb->freed_tables = 1; \
+ (tlb)->freed_tables = 1; \
__pmd_free_tlb(tlb, pmdp, address); \
} while (0)
#endif
@@ -648,7 +648,7 @@ static inline void tlb_flush_p4d_range(s
#define pud_free_tlb(tlb, pudp, address) \
do { \
tlb_flush_p4d_range(tlb, address, PAGE_SIZE); \
- tlb->freed_tables = 1; \
+ (tlb)->freed_tables = 1; \
__pud_free_tlb(tlb, pudp, address); \
} while (0)
#endif
@@ -657,7 +657,7 @@ static inline void tlb_flush_p4d_range(s
#define p4d_free_tlb(tlb, pudp, address) \
do { \
__tlb_adjust_range(tlb, address, PAGE_SIZE); \
- tlb->freed_tables = 1; \
+ (tlb)->freed_tables = 1; \
__p4d_free_tlb(tlb, pudp, address); \
} while (0)
#endif
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mmu_gather-use-macro-arguments-more-carefully.patch
mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
The patch titled
Subject: mm/khugepaged: take the right locks for page table retraction
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Jann Horn <jannh(a)google.com>
Subject: mm/khugepaged: take the right locks for page table retraction
Date: Wed, 23 Nov 2022 17:56:49 +0100
Patch series "khugepaged fixes, take two", v2.
This patch (of 4):
pagetable walks on address ranges mapped by VMAs can be done under the
mmap lock, the lock of an anon_vma attached to the VMA, or the lock of the
VMA's address_space. Only one of these needs to be held, and it does not
need to be held in exclusive mode.
Under those circumstances, the rules for concurrent access to page table
entries are:
- Terminal page table entries (entries that don't point to another page
table) can be arbitrarily changed under the page table lock, with the
exception that they always need to be consistent for
hardware page table walks and lockless_pages_from_mm().
This includes that they can be changed into non-terminal entries.
- Non-terminal page table entries (which point to another page table)
can not be modified; readers are allowed to READ_ONCE() an entry, verify
that it is non-terminal, and then assume that its value will stay as-is.
Retracting a page table involves modifying a non-terminal entry, so
page-table-level locks are insufficient to protect against concurrent page
table traversal; it requires taking all the higher-level locks under which
it is possible to start a page walk in the relevant range in exclusive
mode.
The collapse_huge_page() path for anonymous THP already follows this rule,
but the shmem/file THP path was getting it wrong, making it possible for
concurrent rmap-based operations to cause corruption.
Link: https://lkml.kernel.org/r/20221123165652.2204925-1-jannh@google.com
Link: https://lkml.kernel.org/r/20221123165652.2204925-2-jannh@google.com
Fixes: 27e1f8273113 ("khugepaged: enable collapse pmd for pte-mapped THP")
Signed-off-by: Jann Horn <jannh(a)google.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: John Hubbard <jhubbard(a)nvidia.com>
Cc: Peter Xu <peterx(a)redhat.com>
Cc: Yang Shi <shy828301(a)gmail.com>
Cc: Mike Kravetz <mike.kravetz(a)oracle.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 55 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 51 insertions(+), 4 deletions(-)
--- a/mm/khugepaged.c~mm-khugepaged-take-the-right-locks-for-page-table-retraction
+++ a/mm/khugepaged.c
@@ -1379,16 +1379,37 @@ static int set_huge_pmd(struct vm_area_s
return SCAN_SUCCEED;
}
+/*
+ * A note about locking:
+ * Trying to take the page table spinlocks would be useless here because those
+ * are only used to synchronize:
+ *
+ * - modifying terminal entries (ones that point to a data page, not to another
+ * page table)
+ * - installing *new* non-terminal entries
+ *
+ * Instead, we need roughly the same kind of protection as free_pgtables() or
+ * mm_take_all_locks() (but only for a single VMA):
+ * The mmap lock together with this VMA's rmap locks covers all paths towards
+ * the page table entries we're messing with here, except for hardware page
+ * table walks and lockless_pages_from_mm().
+ */
static void collapse_and_free_pmd(struct mm_struct *mm, struct vm_area_struct *vma,
unsigned long addr, pmd_t *pmdp)
{
- spinlock_t *ptl;
pmd_t pmd;
mmap_assert_write_locked(mm);
- ptl = pmd_lock(vma->vm_mm, pmdp);
+ if (vma->vm_file)
+ lockdep_assert_held_write(&vma->vm_file->f_mapping->i_mmap_rwsem);
+ /*
+ * All anon_vmas attached to the VMA have the same root and are
+ * therefore locked by the same lock.
+ */
+ if (vma->anon_vma)
+ lockdep_assert_held_write(&vma->anon_vma->root->rwsem);
+
pmd = pmdp_collapse_flush(vma, addr, pmdp);
- spin_unlock(ptl);
mm_dec_nr_ptes(mm);
page_table_check_pte_clear_range(mm, addr, pmd);
pte_free(mm, pmd_pgtable(pmd));
@@ -1439,6 +1460,14 @@ int collapse_pte_mapped_thp(struct mm_st
if (!hugepage_vma_check(vma, vma->vm_flags, false, false, false))
return SCAN_VMA_CHECK;
+ /*
+ * Symmetry with retract_page_tables(): Exclude MAP_PRIVATE mappings
+ * that got written to. Without this, we'd have to also lock the
+ * anon_vma if one exists.
+ */
+ if (vma->anon_vma)
+ return SCAN_VMA_CHECK;
+
/* Keep pmd pgtable for uffd-wp; see comment in retract_page_tables() */
if (userfaultfd_wp(vma))
return SCAN_PTE_UFFD_WP;
@@ -1472,6 +1501,20 @@ int collapse_pte_mapped_thp(struct mm_st
goto drop_hpage;
}
+ /*
+ * We need to lock the mapping so that from here on, only GUP-fast and
+ * hardware page walks can access the parts of the page tables that
+ * we're operating on.
+ * See collapse_and_free_pmd().
+ */
+ i_mmap_lock_write(vma->vm_file->f_mapping);
+
+ /*
+ * This spinlock should be unnecessary: Nobody else should be accessing
+ * the page tables under spinlock protection here, only
+ * lockless_pages_from_mm() and the hardware page walker can access page
+ * tables while all the high-level locks are held in write mode.
+ */
start_pte = pte_offset_map_lock(mm, pmd, haddr, &ptl);
result = SCAN_FAIL;
@@ -1526,6 +1569,8 @@ int collapse_pte_mapped_thp(struct mm_st
/* step 4: remove pte entries */
collapse_and_free_pmd(mm, vma, haddr, pmd);
+ i_mmap_unlock_write(vma->vm_file->f_mapping);
+
maybe_install_pmd:
/* step 5: install pmd entry */
result = install_pmd
@@ -1539,6 +1584,7 @@ drop_hpage:
abort:
pte_unmap_unlock(start_pte, ptl);
+ i_mmap_unlock_write(vma->vm_file->f_mapping);
goto drop_hpage;
}
@@ -1595,7 +1641,8 @@ static int retract_page_tables(struct ad
* An alternative would be drop the check, but check that page
* table is clear before calling pmdp_collapse_flush() under
* ptl. It has higher chance to recover THP for the VMA, but
- * has higher cost too.
+ * has higher cost too. It would also probably require locking
+ * the anon_vma.
*/
if (vma->anon_vma) {
result = SCAN_PAGE_ANON;
_
Patches currently in -mm which might be from jannh(a)google.com are
mm-khugepaged-take-the-right-locks-for-page-table-retraction.patch
mmu_gather-use-macro-arguments-more-carefully.patch
mm-khugepaged-fix-gup-fast-interaction-by-freeing-ptes-via-mmu_gather.patch
mm-khugepaged-invoke-mmu-notifiers-in-shmem-file-collapse-paths.patch
Make nfsd_splice_actor work with reads with a non-zero offset that doesn't end on a page boundary.
This was found when virtual machines with nfs-mounted qcow2 disks failed to boot properly (originally found
on v6.0.5, fix also needed and tested on v6.0.9 and v6.1-rc6).
Signed-off-by: Anders Blomdell <anders.blomdell(a)control.lth.se>
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2142132
Fixes: bfbfb6182ad1 "nfsd_splice_actor(): handle compound pages"
Cc: stable(a)vger.kernel.org # v6.0+
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -873,7 +873,7 @@ nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
unsigned offset = buf->offset;
page += offset / PAGE_SIZE;
- for (int i = sd->len; i > 0; i -= PAGE_SIZE)
+ for (int i = sd->len + offset % PAGE_SIZE; i > 0; i -= PAGE_SIZE)
svc_rqst_replace_page(rqstp, page++);
if (rqstp->rq_res.page_len == 0) // first call
rqstp->rq_res.page_base = offset % PAGE_SIZE;
--
Anders Blomdell Email: anders.blomdell(a)control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118
SE-221 00 Lund, Sweden
From: Lukas Wunner <lukas(a)wunner.de>
[ Upstream commit 038ee49fef18710bedd38b531d173ccd746b2d8d ]
RS485-enabled UART ports on TI Sitara SoCs with active-low polarity
exhibit a Transmit Enable glitch on ->set_termios():
omap8250_restore_regs(), which is called from omap_8250_set_termios(),
sets the TCRTLR bit in the MCR register and clears all other bits,
including RTS. If RTS uses active-low polarity, it is now asserted
for no reason.
The TCRTLR bit is subsequently cleared by writing up->mcr to the MCR
register. That variable is always zero, so the RTS bit is still cleared
(incorrectly so if RTS is active-high).
(up->mcr is not, as one might think, a cache of the MCR register's
current value. Rather, it only caches a single bit of that register,
the AFE bit. And it only does so if the UART supports the AFE bit,
which OMAP does not. For details see serial8250_do_set_termios() and
serial8250_do_set_mctrl().)
Finally at the end of omap8250_restore_regs(), the MCR register is
restored (and RTS deasserted) by a call to up->port.ops->set_mctrl()
(which equals serial8250_set_mctrl()) and serial8250_em485_stop_tx().
So there's an RTS glitch between setting TCRTLR and calling
serial8250_em485_stop_tx(). Avoid by using a read-modify-write
when setting TCRTLR.
While at it, drop a redundant initialization of up->mcr. As explained
above, the variable isn't used by the driver and it is already
initialized to zero because it is part of the static struct
serial8250_ports[] declared in 8250_core.c. (Static structs are
initialized to zero per section 6.7.8 nr. 10 of the C99 standard.)
Cc: Jan Kiszka <jan.kiszka(a)siemens.com>
Cc: Su Bao Cheng <baocheng.su(a)siemens.com>
Tested-by: Matthias Schiffer <matthias.schiffer(a)ew.tq-group.com>
Signed-off-by: Lukas Wunner <lukas(a)wunner.de>
Link: https://lore.kernel.org/r/6554b0241a2c7fd50f32576fdbafed96709e11e8.16642789…
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
drivers/tty/serial/8250/8250_omap.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c
index c551407bee07..7795e6401a93 100644
--- a/drivers/tty/serial/8250/8250_omap.c
+++ b/drivers/tty/serial/8250/8250_omap.c
@@ -259,6 +259,7 @@ static void omap8250_restore_regs(struct uart_8250_port *up)
{
struct omap8250_priv *priv = up->port.private_data;
struct uart_8250_dma *dma = up->dma;
+ u8 mcr = serial8250_in_MCR(up);
if (dma && dma->tx_running) {
/*
@@ -275,7 +276,7 @@ static void omap8250_restore_regs(struct uart_8250_port *up)
serial_out(up, UART_EFR, UART_EFR_ECB);
serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A);
- serial8250_out_MCR(up, UART_MCR_TCRTLR);
+ serial8250_out_MCR(up, mcr | UART_MCR_TCRTLR);
serial_out(up, UART_FCR, up->fcr);
omap8250_update_scr(up, priv);
@@ -291,7 +292,8 @@ static void omap8250_restore_regs(struct uart_8250_port *up)
serial_out(up, UART_LCR, 0);
/* drop TCR + TLR access, we setup XON/XOFF later */
- serial8250_out_MCR(up, up->mcr);
+ serial8250_out_MCR(up, mcr);
+
serial_out(up, UART_IER, up->ier);
serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B);
@@ -600,7 +602,6 @@ static int omap_8250_startup(struct uart_port *port)
pm_runtime_get_sync(port->dev);
- up->mcr = 0;
serial_out(up, UART_FCR, UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT);
serial_out(up, UART_LCR, UART_LCR_WLEN8);
--
2.35.1
It can take more than one second to check each connector
when the system is resumed. So if you have, say, eight
connectors, it may take eight seconds for ucsi_resume() to
finish. That's a bit too much.
This will modify ucsi_resume() so that it schedules a work
where the interface is actually resumed instead of checking
the connectors directly. The connections will also be
checked in separate tasks which are queued for each connector
separately.
Reported-by: Todd Brandt <todd.e.brandt(a)intel.com>
Fixes: 99f6d4361113 ("usb: typec: ucsi: Check the connection on resume")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216706
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
---
drivers/usb/typec/ucsi/ucsi.c | 17 +++++++++++++----
drivers/usb/typec/ucsi/ucsi.h | 1 +
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
index a7987fc764cc6..eabe519013e78 100644
--- a/drivers/usb/typec/ucsi/ucsi.c
+++ b/drivers/usb/typec/ucsi/ucsi.c
@@ -1270,8 +1270,9 @@ static int ucsi_init(struct ucsi *ucsi)
return ret;
}
-int ucsi_resume(struct ucsi *ucsi)
+static void ucsi_resume_work(struct work_struct *work)
{
+ struct ucsi *ucsi = container_of(work, struct ucsi, resume_work);
struct ucsi_connector *con;
u64 command;
int ret;
@@ -1279,15 +1280,21 @@ int ucsi_resume(struct ucsi *ucsi)
/* Restore UCSI notification enable mask after system resume */
command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy;
ret = ucsi_send_command(ucsi, command, NULL, 0);
- if (ret < 0)
- return ret;
+ if (ret < 0) {
+ dev_err(ucsi->dev, "failed to re-enable notifications (%d)\n", ret);
+ return;
+ }
for (con = ucsi->connector; con->port; con++) {
mutex_lock(&con->lock);
- ucsi_check_connection(con);
+ ucsi_partner_task(con, ucsi_check_connection, 1, 0);
mutex_unlock(&con->lock);
}
+}
+int ucsi_resume(struct ucsi *ucsi)
+{
+ queue_work(system_long_wq, &ucsi->resume_work);
return 0;
}
EXPORT_SYMBOL_GPL(ucsi_resume);
@@ -1347,6 +1354,7 @@ struct ucsi *ucsi_create(struct device *dev, const struct ucsi_operations *ops)
if (!ucsi)
return ERR_PTR(-ENOMEM);
+ INIT_WORK(&ucsi->resume_work, ucsi_resume_work);
INIT_DELAYED_WORK(&ucsi->work, ucsi_init_work);
mutex_init(&ucsi->ppm_lock);
ucsi->dev = dev;
@@ -1401,6 +1409,7 @@ void ucsi_unregister(struct ucsi *ucsi)
/* Make sure that we are not in the middle of driver initialization */
cancel_delayed_work_sync(&ucsi->work);
+ cancel_work_sync(&ucsi->resume_work);
/* Disable notifications */
ucsi->ops->async_write(ucsi, UCSI_CONTROL, &cmd, sizeof(cmd));
diff --git a/drivers/usb/typec/ucsi/ucsi.h b/drivers/usb/typec/ucsi/ucsi.h
index 8eb391e3e592c..c968474ee5473 100644
--- a/drivers/usb/typec/ucsi/ucsi.h
+++ b/drivers/usb/typec/ucsi/ucsi.h
@@ -287,6 +287,7 @@ struct ucsi {
struct ucsi_capability cap;
struct ucsi_connector *connector;
+ struct work_struct resume_work;
struct delayed_work work;
int work_count;
#define UCSI_ROLE_SWITCH_RETRY_PER_HZ 10
--
2.35.1
It can take more than one second to check each connector
when the system is resumed. So if you have, say, eight
connectors, it may take eight seconds for ucsi_resume() to
finish. That's a bit too much.
This will modify ucsi_resume() so that it schedules a work
where the interface is actually resumed instead of checking
the connectors directly. The connections will also be
checked in separate tasks which are queued for each connector
separately.
Reported-by: Todd Brandt <todd.e.brandt(a)intel.com>
Fixes: f9f019f7d849 ("usb: typec: ucsi: Resume in separate work")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216706
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
---
drivers/usb/typec/ucsi/ucsi.c | 17 +++++++++++++----
drivers/usb/typec/ucsi/ucsi.h | 1 +
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
index a7987fc764cc6..eabe519013e78 100644
--- a/drivers/usb/typec/ucsi/ucsi.c
+++ b/drivers/usb/typec/ucsi/ucsi.c
@@ -1270,8 +1270,9 @@ static int ucsi_init(struct ucsi *ucsi)
return ret;
}
-int ucsi_resume(struct ucsi *ucsi)
+static void ucsi_resume_work(struct work_struct *work)
{
+ struct ucsi *ucsi = container_of(work, struct ucsi, resume_work);
struct ucsi_connector *con;
u64 command;
int ret;
@@ -1279,15 +1280,21 @@ int ucsi_resume(struct ucsi *ucsi)
/* Restore UCSI notification enable mask after system resume */
command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy;
ret = ucsi_send_command(ucsi, command, NULL, 0);
- if (ret < 0)
- return ret;
+ if (ret < 0) {
+ dev_err(ucsi->dev, "failed to re-enable notifications (%d)\n", ret);
+ return;
+ }
for (con = ucsi->connector; con->port; con++) {
mutex_lock(&con->lock);
- ucsi_check_connection(con);
+ ucsi_partner_task(con, ucsi_check_connection, 1, 0);
mutex_unlock(&con->lock);
}
+}
+int ucsi_resume(struct ucsi *ucsi)
+{
+ queue_work(system_long_wq, &ucsi->resume_work);
return 0;
}
EXPORT_SYMBOL_GPL(ucsi_resume);
@@ -1347,6 +1354,7 @@ struct ucsi *ucsi_create(struct device *dev, const struct ucsi_operations *ops)
if (!ucsi)
return ERR_PTR(-ENOMEM);
+ INIT_WORK(&ucsi->resume_work, ucsi_resume_work);
INIT_DELAYED_WORK(&ucsi->work, ucsi_init_work);
mutex_init(&ucsi->ppm_lock);
ucsi->dev = dev;
@@ -1401,6 +1409,7 @@ void ucsi_unregister(struct ucsi *ucsi)
/* Make sure that we are not in the middle of driver initialization */
cancel_delayed_work_sync(&ucsi->work);
+ cancel_work_sync(&ucsi->resume_work);
/* Disable notifications */
ucsi->ops->async_write(ucsi, UCSI_CONTROL, &cmd, sizeof(cmd));
diff --git a/drivers/usb/typec/ucsi/ucsi.h b/drivers/usb/typec/ucsi/ucsi.h
index 8eb391e3e592c..c968474ee5473 100644
--- a/drivers/usb/typec/ucsi/ucsi.h
+++ b/drivers/usb/typec/ucsi/ucsi.h
@@ -287,6 +287,7 @@ struct ucsi {
struct ucsi_capability cap;
struct ucsi_connector *connector;
+ struct work_struct resume_work;
struct delayed_work work;
int work_count;
#define UCSI_ROLE_SWITCH_RETRY_PER_HZ 10
--
2.35.1
The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
Possible dependencies:
5121197ecc5d ("kcm: close race conditions on sk_receive_queue")
bbb03029a899 ("strparser: Generalize strparser")
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 5121197ecc5db58c07da95eb1ff82b98b121a221 Mon Sep 17 00:00:00 2001
From: Cong Wang <cong.wang(a)bytedance.com>
Date: Sun, 13 Nov 2022 16:51:19 -0800
Subject: [PATCH] kcm: close race conditions on sk_receive_queue
sk->sk_receive_queue is protected by skb queue lock, but for KCM
sockets its RX path takes mux->rx_lock to protect more than just
skb queue. However, kcm_recvmsg() still only grabs the skb queue
lock, so race conditions still exist.
We can teach kcm_recvmsg() to grab mux->rx_lock too but this would
introduce a potential performance regression as struct kcm_mux can
be shared by multiple KCM sockets.
So we have to enforce skb queue lock in requeue_rx_msgs() and handle
skb peek case carefully in kcm_wait_data(). Fortunately,
skb_recv_datagram() already handles it nicely and is widely used by
other sockets, we can just switch to skb_recv_datagram() after
getting rid of the unnecessary sock lock in kcm_recvmsg() and
kcm_splice_read(). Side note: SOCK_DONE is not used by KCM sockets,
so it is safe to get rid of this check too.
I ran the original syzbot reproducer for 30 min without seeing any
issue.
Fixes: ab7ac4eb9832 ("kcm: Kernel Connection Multiplexor module")
Reported-by: syzbot+278279efdd2730dd14bf(a)syzkaller.appspotmail.com
Reported-by: shaozhengchao <shaozhengchao(a)huawei.com>
Cc: Paolo Abeni <pabeni(a)redhat.com>
Cc: Tom Herbert <tom(a)herbertland.com>
Signed-off-by: Cong Wang <cong.wang(a)bytedance.com>
Link: https://lore.kernel.org/r/20221114005119.597905-1-xiyou.wangcong@gmail.com
Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c
index a5004228111d..890a2423f559 100644
--- a/net/kcm/kcmsock.c
+++ b/net/kcm/kcmsock.c
@@ -222,7 +222,7 @@ static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head)
struct sk_buff *skb;
struct kcm_sock *kcm;
- while ((skb = __skb_dequeue(head))) {
+ while ((skb = skb_dequeue(head))) {
/* Reset destructor to avoid calling kcm_rcv_ready */
skb->destructor = sock_rfree;
skb_orphan(skb);
@@ -1085,53 +1085,17 @@ static int kcm_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
return err;
}
-static struct sk_buff *kcm_wait_data(struct sock *sk, int flags,
- long timeo, int *err)
-{
- struct sk_buff *skb;
-
- while (!(skb = skb_peek(&sk->sk_receive_queue))) {
- if (sk->sk_err) {
- *err = sock_error(sk);
- return NULL;
- }
-
- if (sock_flag(sk, SOCK_DONE))
- return NULL;
-
- if ((flags & MSG_DONTWAIT) || !timeo) {
- *err = -EAGAIN;
- return NULL;
- }
-
- sk_wait_data(sk, &timeo, NULL);
-
- /* Handle signals */
- if (signal_pending(current)) {
- *err = sock_intr_errno(timeo);
- return NULL;
- }
- }
-
- return skb;
-}
-
static int kcm_recvmsg(struct socket *sock, struct msghdr *msg,
size_t len, int flags)
{
struct sock *sk = sock->sk;
struct kcm_sock *kcm = kcm_sk(sk);
int err = 0;
- long timeo;
struct strp_msg *stm;
int copied = 0;
struct sk_buff *skb;
- timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
-
- lock_sock(sk);
-
- skb = kcm_wait_data(sk, flags, timeo, &err);
+ skb = skb_recv_datagram(sk, flags, &err);
if (!skb)
goto out;
@@ -1162,14 +1126,11 @@ static int kcm_recvmsg(struct socket *sock, struct msghdr *msg,
/* Finished with message */
msg->msg_flags |= MSG_EOR;
KCM_STATS_INCR(kcm->stats.rx_msgs);
- skb_unlink(skb, &sk->sk_receive_queue);
- kfree_skb(skb);
}
}
out:
- release_sock(sk);
-
+ skb_free_datagram(sk, skb);
return copied ? : err;
}
@@ -1179,7 +1140,6 @@ static ssize_t kcm_splice_read(struct socket *sock, loff_t *ppos,
{
struct sock *sk = sock->sk;
struct kcm_sock *kcm = kcm_sk(sk);
- long timeo;
struct strp_msg *stm;
int err = 0;
ssize_t copied;
@@ -1187,11 +1147,7 @@ static ssize_t kcm_splice_read(struct socket *sock, loff_t *ppos,
/* Only support splice for SOCKSEQPACKET */
- timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
-
- lock_sock(sk);
-
- skb = kcm_wait_data(sk, flags, timeo, &err);
+ skb = skb_recv_datagram(sk, flags, &err);
if (!skb)
goto err_out;
@@ -1219,13 +1175,11 @@ static ssize_t kcm_splice_read(struct socket *sock, loff_t *ppos,
* finish reading the message.
*/
- release_sock(sk);
-
+ skb_free_datagram(sk, skb);
return copied;
err_out:
- release_sock(sk);
-
+ skb_free_datagram(sk, skb);
return err;
}
I'm announcing the release of the 4.19.266 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/admin-guide/kernel-parameters.txt | 13
Makefile | 2
arch/x86/entry/calling.h | 68 +++-
arch/x86/entry/entry_32.S | 2
arch/x86/entry/entry_64.S | 34 +-
arch/x86/entry/entry_64_compat.S | 11
arch/x86/include/asm/cpu_device_id.h | 168 ++++++++++
arch/x86/include/asm/cpufeatures.h | 18 -
arch/x86/include/asm/intel-family.h | 6
arch/x86/include/asm/msr-index.h | 10
arch/x86/include/asm/nospec-branch.h | 53 +--
arch/x86/kernel/cpu/amd.c | 21 -
arch/x86/kernel/cpu/bugs.c | 368 +++++++++++++++++++-----
arch/x86/kernel/cpu/common.c | 60 ++-
arch/x86/kernel/cpu/match.c | 44 ++
arch/x86/kernel/cpu/scattered.c | 1
arch/x86/kernel/process.c | 2
arch/x86/kvm/svm.c | 1
arch/x86/kvm/vmx.c | 53 +++
arch/x86/kvm/x86.c | 4
drivers/base/cpu.c | 8
drivers/cpufreq/acpi-cpufreq.c | 1
drivers/cpufreq/amd_freq_sensitivity.c | 1
drivers/idle/intel_idle.c | 43 ++
include/linux/cpu.h | 2
include/linux/kvm_host.h | 2
include/linux/mod_devicetable.h | 4
tools/arch/x86/include/asm/cpufeatures.h | 1
28 files changed, 814 insertions(+), 187 deletions(-)
Alexandre Chartre (2):
x86/bugs: Report AMD retbleed vulnerability
x86/bugs: Add AMD retbleed= boot parameter
Andrew Cooper (1):
x86/cpu/amd: Enumerate BTC_NO
Daniel Sneddon (1):
x86/speculation: Add RSB VM Exit protections
Greg Kroah-Hartman (1):
Linux 4.19.266
Ingo Molnar (1):
x86/cpufeature: Fix various quality problems in the <asm/cpu_device_hd.h> header
Josh Poimboeuf (8):
x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
x86/speculation: Fix firmware entry SPEC_CTRL handling
x86/speculation: Fix SPEC_CTRL write on SMT state change
x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
x86/speculation: Remove x86_spec_ctrl_mask
KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
KVM: VMX: Fix IBRS handling after vmexit
x86/speculation: Fill RSB on vmexit for IBRS
Kan Liang (1):
x86/cpufeature: Add facility to check for min microcode revisions
Mark Gross (1):
x86/cpu: Add a steppings field to struct x86_cpu_id
Nathan Chancellor (1):
x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
Pawan Gupta (4):
x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
x86/bugs: Add Cannon lake to RETBleed affected CPU list
x86/speculation: Disable RRSBA behavior
x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
Peter Zijlstra (10):
x86/cpufeatures: Move RETPOLINE flags to word 11
x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
x86/entry: Remove skip_r11rcx
x86/entry: Add kernel IBRS implementation
x86/bugs: Optimize SPEC_CTRL MSR writes
x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
x86/bugs: Report Intel retbleed vulnerability
intel_idle: Disable IBRS during long idle
x86/speculation: Change FILL_RETURN_BUFFER to work with objtool
x86/common: Stamp out the stepping madness
Suleiman Souhlal (2):
Revert "x86/speculation: Add RSB VM Exit protections"
Revert "x86/cpu: Add a steppings field to struct x86_cpu_id"
Thomas Gleixner (2):
x86/devicetable: Move x86 specific macro out of generic code
x86/cpu: Add consistent CPU match macros
The quilt patch titled
Subject: mm/cgroup/reclaim: fix dirty pages throttling on cgroup v1
has been removed from the -mm tree. Its filename was
mm-cgroup-reclaim-fix-dirty-pages-throttling-on-cgroup-v1.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Aneesh Kumar K.V" <aneesh.kumar(a)linux.ibm.com>
Subject: mm/cgroup/reclaim: fix dirty pages throttling on cgroup v1
Date: Fri, 18 Nov 2022 12:36:03 +0530
balance_dirty_pages doesn't do the required dirty throttling on cgroupv1.
See commit 9badce000e2c ("cgroup, writeback: don't enable cgroup writeback
on traditional hierarchies"). Instead, the kernel depends on writeback
throttling in shrink_folio_list to achieve the same goal. With large
memory systems, the flusher may not be able to writeback quickly enough
such that we will start finding pages in the shrink_folio_list already in
writeback. Hence for cgroupv1 let's do a reclaim throttle after waking up
the flusher.
The below test which used to fail on a 256GB system completes till the the
file system is full with this change.
root@lp2:/sys/fs/cgroup/memory# mkdir test
root@lp2:/sys/fs/cgroup/memory# cd test/
root@lp2:/sys/fs/cgroup/memory/test# echo 120M > memory.limit_in_bytes
root@lp2:/sys/fs/cgroup/memory/test# echo $$ > tasks
root@lp2:/sys/fs/cgroup/memory/test# dd if=/dev/zero of=/home/kvaneesh/test bs=1M
Killed
Link: https://lkml.kernel.org/r/20221118070603.84081-1-aneesh.kumar@linux.ibm.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar(a)linux.ibm.com>
Suggested-by: Johannes Weiner <hannes(a)cmpxchg.org>
Acked-by: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: zefan li <lizefan.x(a)bytedance.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/vmscan.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
--- a/mm/vmscan.c~mm-cgroup-reclaim-fix-dirty-pages-throttling-on-cgroup-v1
+++ a/mm/vmscan.c
@@ -2514,8 +2514,20 @@ static unsigned long shrink_inactive_lis
* the flushers simply cannot keep up with the allocation
* rate. Nudge the flusher threads in case they are asleep.
*/
- if (stat.nr_unqueued_dirty == nr_taken)
+ if (stat.nr_unqueued_dirty == nr_taken) {
wakeup_flusher_threads(WB_REASON_VMSCAN);
+ /*
+ * For cgroupv1 dirty throttling is achieved by waking up
+ * the kernel flusher here and later waiting on folios
+ * which are in writeback to finish (see shrink_folio_list()).
+ *
+ * Flusher may not be able to issue writeback quickly
+ * enough for cgroupv1 writeback throttling to work
+ * on a large system.
+ */
+ if (!writeback_throttling_sane(sc))
+ reclaim_throttle(pgdat, VMSCAN_THROTTLE_WRITEBACK);
+ }
sc->nr.dirty += stat.nr_dirty;
sc->nr.congested += stat.nr_congested;
_
Patches currently in -mm which might be from aneesh.kumar(a)linux.ibm.com are
The quilt patch titled
Subject: kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible
has been removed from the -mm tree. Its filename was
kbuild-fix-wimplicit-function-declaration-in-license_is_gpl_compatible.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Sam James <sam(a)gentoo.org>
Subject: kbuild: fix -Wimplicit-function-declaration in license_is_gpl_compatible
Date: Wed, 16 Nov 2022 18:26:34 +0000
Add missing <linux/string.h> include for strcmp.
Clang 16 makes -Wimplicit-function-declaration an error by default.
Unfortunately, out of tree modules may use this in configure scripts,
which means failure might cause silent miscompilation or misconfiguration.
For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-…
[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6…
[3] hosted at lists.linux.dev.
[akpm(a)linux-foundation.org: remember "linux/"]
Link: https://lkml.kernel.org/r/20221116182634.2823136-1-sam@gentoo.org
Signed-off-by: Sam James <sam(a)gentoo.org>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
include/linux/license.h | 2 ++
1 file changed, 2 insertions(+)
--- a/include/linux/license.h~kbuild-fix-wimplicit-function-declaration-in-license_is_gpl_compatible
+++ a/include/linux/license.h
@@ -2,6 +2,8 @@
#ifndef __LICENSE_H
#define __LICENSE_H
+#include <linux/string.h>
+
static inline int license_is_gpl_compatible(const char *license)
{
return (strcmp(license, "GPL") == 0
_
Patches currently in -mm which might be from sam(a)gentoo.org are
The quilt patch titled
Subject: mm/damon/sysfs-schemes: skip stats update if the scheme directory is removed
has been removed from the -mm tree. Its filename was
mm-damon-sysfs-schemes-skip-stats-update-if-the-scheme-directory-is-removed.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: SeongJae Park <sj(a)kernel.org>
Subject: mm/damon/sysfs-schemes: skip stats update if the scheme directory is removed
Date: Mon, 14 Nov 2022 17:55:52 +0000
A DAMON sysfs interface user can start DAMON with a scheme, remove the
sysfs directory for the scheme, and then ask update of the scheme's stats.
Because the schemes stats update logic isn't aware of the situation, it
results in an invalid memory access. Fix the bug by checking if the
scheme sysfs directory exists.
Link: https://lkml.kernel.org/r/20221114175552.1951-1-sj@kernel.org
Fixes: 0ac32b8affb5 ("mm/damon/sysfs: support DAMOS stats")
Signed-off-by: SeongJae Park <sj(a)kernel.org>
Cc: <stable(a)vger.kernel.org> [v5.18]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/damon/sysfs.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/mm/damon/sysfs.c~mm-damon-sysfs-schemes-skip-stats-update-if-the-scheme-directory-is-removed
+++ a/mm/damon/sysfs.c
@@ -2339,6 +2339,10 @@ static int damon_sysfs_upd_schemes_stats
damon_for_each_scheme(scheme, ctx) {
struct damon_sysfs_stats *sysfs_stats;
+ /* user could have removed the scheme sysfs dir */
+ if (schemes_idx >= sysfs_schemes->nr)
+ break;
+
sysfs_stats = sysfs_schemes->schemes_arr[schemes_idx++]->stats;
sysfs_stats->nr_tried = scheme->stat.nr_tried;
sysfs_stats->sz_tried = scheme->stat.sz_tried;
_
Patches currently in -mm which might be from sj(a)kernel.org are
mm-damon-sysfs-fix-wrong-empty-schemes-assumption-under-online-tuning-in-damon_sysfs_set_schemes.patch
mm-damon-core-split-out-damos-charged-region-skip-logic-into-a-new-function.patch
mm-damon-core-split-damos-application-logic-into-a-new-function.patch
mm-damon-core-split-out-scheme-stat-update-logic-into-a-new-function.patch
mm-damon-core-split-out-scheme-quota-adjustment-logic-into-a-new-function.patch
mm-damon-sysfs-use-damon_addr_range-for-regions-start-and-end-values.patch
mm-damon-sysfs-remove-parameters-of-damon_sysfs_region_alloc.patch
mm-damon-sysfs-move-sysfs_lock-to-common-module.patch
mm-damon-sysfs-move-unsigned-long-range-directory-to-common-module.patch
mm-damon-sysfs-split-out-kdamond-independent-schemes-stats-update-logic-into-a-new-function.patch
mm-damon-sysfs-split-out-schemes-directory-implementation-to-separate-file.patch
mm-damon-modules-deduplicate-init-steps-for-damon-context-setup.patch
mm-damon-reclaimlru_sort-remove-unnecessarily-included-headers.patch
mm-damon-reclaim-enable-and-disable-synchronously.patch
selftests-damon-add-tests-for-damon_reclaims-enabled-parameter.patch
mm-damon-lru_sort-enable-and-disable-synchronously.patch
selftests-damon-add-tests-for-damon_lru_sorts-enabled-parameter.patch
docs-admin-guide-mm-damon-usage-describe-the-rules-of-sysfs-region-directories.patch
docs-admin-guide-mm-damon-usage-fix-wrong-usage-example-of-init_regions-file.patch
mm-damon-core-add-a-callback-for-scheme-target-regions-check.patch
mm-damon-sysfs-schemes-implement-schemes-tried_regions-directory.patch
mm-damon-sysfs-schemes-implement-scheme-region-directory.patch
mm-damon-sysfs-implement-damos-tried-regions-update-command.patch
mm-damon-sysfs-implement-damos-tried-regions-update-command-fix.patch
mm-damon-sysfs-schemes-implement-damos-tried-regions-clear-command.patch
mm-damon-sysfs-schemes-implement-damos-tried-regions-clear-command-fix.patch
tools-selftets-damon-sysfs-test-tried_regions-directory-existence.patch
docs-admin-guide-mm-damon-usage-document-schemes-s-tried_regions-sysfs-directory.patch
docs-abi-damon-document-schemes-s-tried_regions-sysfs-directory.patch
selftests-damon-test-non-context-inputs-to-rm_contexts-file.patch
The quilt patch titled
Subject: mm: correctly charge compressed memory to its memcg
has been removed from the -mm tree. Its filename was
mm-correctly-charge-compressed-memory-to-its-memcg.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Li Liguang <liliguang(a)baidu.com>
Subject: mm: correctly charge compressed memory to its memcg
Date: Mon, 14 Nov 2022 14:48:28 -0500
Kswapd will reclaim memory when memory pressure is high, the annonymous
memory will be compressed and stored in the zpool if zswap is enabled.
The memcg_kmem_bypass() in get_obj_cgroup_from_page() will bypass the
kernel thread and cause the compressed memory not be charged to its memory
cgroup.
Remove the memcg_kmem_bypass() call and properly charge compressed memory
to its corresponding memory cgroup.
Link: https://lore.kernel.org/linux-mm/CALvZod4nnn8BHYqAM4xtcR0Ddo2-Wr8uKm9h_CHWU…
Link: https://lkml.kernel.org/r/20221114194828.100822-1-hannes@cmpxchg.org
Fixes: f4840ccfca25 ("zswap: memcg accounting")
Signed-off-by: Li Liguang <liliguang(a)baidu.com>
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
Acked-by: Shakeel Butt <shakeelb(a)google.com>
Reviewed-by: Muchun Song <songmuchun(a)bytedance.com>
Cc: Michal Hocko <mhocko(a)suse.com>
Cc: Roman Gushchin <roman.gushchin(a)linux.dev>
Cc: <stable(a)vger.kernel.org> [5.19+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/memcontrol.c~mm-correctly-charge-compressed-memory-to-its-memcg
+++ a/mm/memcontrol.c
@@ -3026,7 +3026,7 @@ struct obj_cgroup *get_obj_cgroup_from_p
{
struct obj_cgroup *objcg;
- if (!memcg_kmem_enabled() || memcg_kmem_bypass())
+ if (!memcg_kmem_enabled())
return NULL;
if (PageMemcgKmem(page)) {
_
Patches currently in -mm which might be from liliguang(a)baidu.com are
The quilt patch titled
Subject: mm: vmscan: fix extreme overreclaim and swap floods
has been removed from the -mm tree. Its filename was
mm-vmscan-fix-extreme-overreclaim-and-swap-floods.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Johannes Weiner <hannes(a)cmpxchg.org>
Subject: mm: vmscan: fix extreme overreclaim and swap floods
Date: Tue, 2 Aug 2022 12:28:11 -0400
During proactive reclaim, we sometimes observe severe overreclaim, with
several thousand times more pages reclaimed than requested.
This trace was obtained from shrink_lruvec() during such an instance:
prio:0 anon_cost:1141521 file_cost:7767
nr_reclaimed:4387406 nr_to_reclaim:1047 (or_factor:4190)
nr=[7161123 345 578 1111]
While he reclaimer requested 4M, vmscan reclaimed close to 16G, most of it
by swapping. These requests take over a minute, during which the write()
to memory.reclaim is unkillably stuck inside the kernel.
Digging into the source, this is caused by the proportional reclaim
bailout logic. This code tries to resolve a fundamental conflict: to
reclaim roughly what was requested, while also aging all LRUs fairly and
in accordance to their size, swappiness, refault rates etc. The way it
attempts fairness is that once the reclaim goal has been reached, it stops
scanning the LRUs with the smaller remaining scan targets, and adjusts the
remainder of the bigger LRUs according to how much of the smaller LRUs was
scanned. It then finishes scanning that remainder regardless of the
reclaim goal.
This works fine if priority levels are low and the LRU lists are
comparable in size. However, in this instance, the cgroup that is
targeted by proactive reclaim has almost no files left - they've already
been squeezed out by proactive reclaim earlier - and the remaining anon
pages are hot. Anon rotations cause the priority level to drop to 0,
which results in reclaim targeting all of anon (a lot) and all of file
(almost nothing). By the time reclaim decides to bail, it has scanned
most or all of the file target, and therefor must also scan most or all of
the enormous anon target. This target is thousands of times larger than
the reclaim goal, thus causing the overreclaim.
The bailout code hasn't changed in years, why is this failing now? The
most likely explanations are two other recent changes in anon reclaim:
1. Before the series starting with commit 5df741963d52 ("mm: fix LRU
balancing effect of new transparent huge pages"), the VM was
overall relatively reluctant to swap at all, even if swap was
configured. This means the LRU balancing code didn't come into play
as often as it does now, and mostly in high pressure situations
where pronounced swap activity wouldn't be as surprising.
2. For historic reasons, shrink_lruvec() loops on the scan targets of
all LRU lists except the active anon one, meaning it would bail if
the only remaining pages to scan were active anon - even if there
were a lot of them.
Before the series starting with commit ccc5dc67340c ("mm/vmscan:
make active/inactive ratio as 1:1 for anon lru"), most anon pages
would live on the active LRU; the inactive one would contain only a
handful of preselected reclaim candidates. After the series, anon
gets aged similarly to file, and the inactive list is the default
for new anon pages as well, making it often the much bigger list.
As a result, the VM is now more likely to actually finish large
anon targets than before.
Change the code such that only one SWAP_CLUSTER_MAX-sized nudge toward the
larger LRU lists is made before bailing out on a met reclaim goal.
This fixes the extreme overreclaim problem.
Fairness is more subtle and harder to evaluate. No obvious misbehavior
was observed on the test workload, in any case. Conceptually, fairness
should primarily be a cumulative effect from regular, lower priority
scans. Once the VM is in trouble and needs to escalate scan targets to
make forward progress, fairness needs to take a backseat. This is also
acknowledged by the myriad exceptions in get_scan_count(). This patch
makes fairness decrease gradually, as it keeps fairness work static over
increasing priority levels with growing scan targets. This should make
more sense - although we may have to re-visit the exact values.
Link: https://lkml.kernel.org/r/20220802162811.39216-1-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes(a)cmpxchg.org>
Reviewed-by: Rik van Riel <riel(a)surriel.com>
Acked-by: Mel Gorman <mgorman(a)techsingularity.net>
Cc: Hugh Dickins <hughd(a)google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim(a)lge.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/vmscan.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
--- a/mm/vmscan.c~mm-vmscan-fix-extreme-overreclaim-and-swap-floods
+++ a/mm/vmscan.c
@@ -5844,8 +5844,8 @@ static void shrink_lruvec(struct lruvec
enum lru_list lru;
unsigned long nr_reclaimed = 0;
unsigned long nr_to_reclaim = sc->nr_to_reclaim;
+ bool proportional_reclaim;
struct blk_plug plug;
- bool scan_adjusted;
if (lru_gen_enabled()) {
lru_gen_shrink_lruvec(lruvec, sc);
@@ -5868,8 +5868,8 @@ static void shrink_lruvec(struct lruvec
* abort proportional reclaim if either the file or anon lru has already
* dropped to zero at the first pass.
*/
- scan_adjusted = (!cgroup_reclaim(sc) && !current_is_kswapd() &&
- sc->priority == DEF_PRIORITY);
+ proportional_reclaim = (!cgroup_reclaim(sc) && !current_is_kswapd() &&
+ sc->priority == DEF_PRIORITY);
blk_start_plug(&plug);
while (nr[LRU_INACTIVE_ANON] || nr[LRU_ACTIVE_FILE] ||
@@ -5889,7 +5889,7 @@ static void shrink_lruvec(struct lruvec
cond_resched();
- if (nr_reclaimed < nr_to_reclaim || scan_adjusted)
+ if (nr_reclaimed < nr_to_reclaim || proportional_reclaim)
continue;
/*
@@ -5940,8 +5940,6 @@ static void shrink_lruvec(struct lruvec
nr_scanned = targets[lru] - nr[lru];
nr[lru] = targets[lru] * (100 - percentage) / 100;
nr[lru] -= min(nr[lru], nr_scanned);
-
- scan_adjusted = true;
}
blk_finish_plug(&plug);
sc->nr_reclaimed += nr_reclaimed;
_
Patches currently in -mm which might be from hannes(a)cmpxchg.org are
mm-vmscan-split-khugepaged-stats-from-direct-reclaim-stats.patch
zswap-fix-writeback-lock-ordering-for-zsmalloc.patch
zpool-clean-out-dead-code.patch
The patch titled
Subject: mm: migrate: Fix THP's mapcount on isolation
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-migrate-fix-thps-mapcount-on-isolation.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Gavin Shan <gshan(a)redhat.com>
Subject: mm: migrate: Fix THP's mapcount on isolation
Date: Wed, 23 Nov 2022 08:57:52 +0800
The issue is reported when removing memory through virtio_mem device. The
transparent huge page, experienced copy-on-write fault, is wrongly
regarded as pinned. The transparent huge page is escaped from being
isolated in isolate_migratepages_block(). The transparent huge page can't
be migrated and the corresponding memory block can't be put into offline
state.
Fix it by replacing page_mapcount() with total_mapcount(). With this, the
transparent huge page can be isolated and migrated, and the memory block
can be put into offline state.
Link: https://lkml.kernel.org/r/20221123005752.161003-1-gshan@redhat.com
Fixes: 3917c80280c9 ("thp: change CoW semantics for anon-THP")
Signed-off-by: Gavin Shan <gshan(a)redhat.com>
Reported-by: Zhenyu Zhang <zhenyzha(a)redhat.com>
Suggested-by: David Hildenbrand <david(a)redhat.com>
Cc: David Hildenbrand <david(a)redhat.com>
Cc: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Cc: William Kucharski <william.kucharski(a)oracle.com>
Cc: Zi Yan <ziy(a)nvidia.com>
Cc: <stable(a)vger.kernel.org> [v5.8+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/compaction.c~mm-migrate-fix-thps-mapcount-on-isolation
+++ a/mm/compaction.c
@@ -990,7 +990,7 @@ isolate_migratepages_block(struct compac
* admittedly racy check.
*/
mapping = page_mapping(page);
- if (!mapping && page_count(page) > page_mapcount(page))
+ if (!mapping && page_count(page) > total_mapcount(page))
goto isolate_fail;
/*
_
Patches currently in -mm which might be from gshan(a)redhat.com are
mm-migrate-fix-thps-mapcount-on-isolation.patch
Hi Sasha,
On Tue, Nov 22, 2022 at 10:19 AM -05, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
>
> l2tp: Serialize access to sk_user_data with sk_callback_lock
>
> to the 6.0-stable tree which can be found at:
> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
>
> The filename of the patch is:
> l2tp-serialize-access-to-sk_user_data-with-sk_callba.patch
> and it can be found in the queue-6.0 subdirectory.
>
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable(a)vger.kernel.org> know about it.
"Just when I thought I was out, they pull me back in!"
Greg assured me yesterday that this was dropped from stable queues:
https://lore.kernel.org/stable/Y3thooxAN2Are7Ai@kroah.com/
> commit 1ea60c1db42da0b5b40eb7e9bf8d5937f6f475cc
> Author: Jakub Sitnicki <jakub(a)cloudflare.com>
> Date: Mon Nov 14 20:16:19 2022 +0100
>
> l2tp: Serialize access to sk_user_data with sk_callback_lock
>
> [ Upstream commit b68777d54fac21fc833ec26ea1a2a84f975ab035 ]
>
> sk->sk_user_data has multiple users, which are not compatible with each
> other. Writers must synchronize by grabbing the sk->sk_callback_lock.
>
> l2tp currently fails to grab the lock when modifying the underlying tunnel
> socket fields. Fix it by adding appropriate locking.
>
> We err on the side of safety and grab the sk_callback_lock also inside the
> sk_destruct callback overridden by l2tp, even though there should be no
> refs allowing access to the sock at the time when sk_destruct gets called.
>
> v4:
> - serialize write to sk_user_data in l2tp sk_destruct
>
> v3:
> - switch from sock lock to sk_callback_lock
> - document write-protection for sk_user_data
>
> v2:
> - update Fixes to point to origin of the bug
> - use real names in Reported/Tested-by tags
>
> Cc: Tom Parkin <tparkin(a)katalix.com>
> Fixes: 3557baabf280 ("[L2TP]: PPP over L2TP driver core")
> Reported-by: Haowei Yan <g1042620637(a)gmail.com>
> Signed-off-by: Jakub Sitnicki <jakub(a)cloudflare.com>
> Signed-off-by: David S. Miller <davem(a)davemloft.net>
> Signed-off-by: Sasha Levin <sashal(a)kernel.org>
>
> diff --git a/include/net/sock.h b/include/net/sock.h
> index f6e6838c82df..03a4ebe3ccc8 100644
> --- a/include/net/sock.h
> +++ b/include/net/sock.h
> @@ -323,7 +323,7 @@ struct sk_filter;
> * @sk_tskey: counter to disambiguate concurrent tstamp requests
> * @sk_zckey: counter to order MSG_ZEROCOPY notifications
> * @sk_socket: Identd and reporting IO signals
> - * @sk_user_data: RPC layer private data
> + * @sk_user_data: RPC layer private data. Write-protected by @sk_callback_lock.
> * @sk_frag: cached page frag
> * @sk_peek_off: current peek_offset value
> * @sk_send_head: front of stuff to transmit
> diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
> index 7499c51b1850..754fdda8a5f5 100644
> --- a/net/l2tp/l2tp_core.c
> +++ b/net/l2tp/l2tp_core.c
> @@ -1150,8 +1150,10 @@ static void l2tp_tunnel_destruct(struct sock *sk)
> }
>
> /* Remove hooks into tunnel socket */
> + write_lock_bh(&sk->sk_callback_lock);
> sk->sk_destruct = tunnel->old_sk_destruct;
> sk->sk_user_data = NULL;
> + write_unlock_bh(&sk->sk_callback_lock);
>
> /* Call the original destructor */
> if (sk->sk_destruct)
> @@ -1469,16 +1471,18 @@ int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
> sock = sockfd_lookup(tunnel->fd, &ret);
> if (!sock)
> goto err;
> -
> - ret = l2tp_validate_socket(sock->sk, net, tunnel->encap);
> - if (ret < 0)
> - goto err_sock;
> }
>
> + sk = sock->sk;
> + write_lock(&sk->sk_callback_lock);
> +
> + ret = l2tp_validate_socket(sk, net, tunnel->encap);
> + if (ret < 0)
> + goto err_sock;
> +
> tunnel->l2tp_net = net;
> pn = l2tp_pernet(net);
>
> - sk = sock->sk;
> sock_hold(sk);
> tunnel->sock = sk;
>
> @@ -1504,7 +1508,7 @@ int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
>
> setup_udp_tunnel_sock(net, sock, &udp_cfg);
> } else {
> - sk->sk_user_data = tunnel;
> + rcu_assign_sk_user_data(sk, tunnel);
> }
>
> tunnel->old_sk_destruct = sk->sk_destruct;
> @@ -1518,6 +1522,7 @@ int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
> if (tunnel->fd >= 0)
> sockfd_put(sock);
>
> + write_unlock(&sk->sk_callback_lock);
> return 0;
>
> err_sock:
> @@ -1525,6 +1530,8 @@ int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
> sock_release(sock);
> else
> sockfd_put(sock);
> +
> + write_unlock(&sk->sk_callback_lock);
> err:
> return ret;
> }
The patch titled
Subject: mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-damon-sysfs-fix-wrong-empty-schemes-assumption-under-online-tuning-in-damon_sysfs_set_schemes.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patche…
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: SeongJae Park <sj(a)kernel.org>
Subject: mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()
Date: Tue, 22 Nov 2022 19:48:31 +0000
Commit da87878010e5 ("mm/damon/sysfs: support online inputs update") made
'damon_sysfs_set_schemes()' to be called for running DAMON context, which
could have schemes. In the case, DAMON sysfs interface is supposed to
update, remove, or add schemes to reflect the sysfs files. However, the
code is assuming the DAMON context wouldn't have schemes at all, and
therefore creates and adds new schemes. As a result, the code doesn't
work as intended for online schemes tuning and could have more than
expected memory footprint. The schemes are all in the DAMON context, so
it doesn't leak the memory, though.
Remove the wrong asssumption (the DAMON context wouldn't have schemes) in
'damon_sysfs_set_schemes()' to fix the bug.
Link: https://lkml.kernel.org/r/20221122194831.3472-1-sj@kernel.org
Fixes: da87878010e5 ("mm/damon/sysfs: support online inputs update")
Signed-off-by: SeongJae Park <sj(a)kernel.org>
Cc: <stable(a)vger.kernel.org> [5.19+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/damon/sysfs.c | 46 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 44 insertions(+), 2 deletions(-)
--- a/mm/damon/sysfs.c~mm-damon-sysfs-fix-wrong-empty-schemes-assumption-under-online-tuning-in-damon_sysfs_set_schemes
+++ a/mm/damon/sysfs.c
@@ -2283,12 +2283,54 @@ static struct damos *damon_sysfs_mk_sche
&wmarks);
}
+static void damon_sysfs_update_scheme(struct damos *scheme,
+ struct damon_sysfs_scheme *sysfs_scheme)
+{
+ struct damon_sysfs_access_pattern *access_pattern =
+ sysfs_scheme->access_pattern;
+ struct damon_sysfs_quotas *sysfs_quotas = sysfs_scheme->quotas;
+ struct damon_sysfs_weights *sysfs_weights = sysfs_quotas->weights;
+ struct damon_sysfs_watermarks *sysfs_wmarks = sysfs_scheme->watermarks;
+
+ scheme->pattern.min_sz_region = access_pattern->sz->min;
+ scheme->pattern.max_sz_region = access_pattern->sz->max;
+ scheme->pattern.min_nr_accesses = access_pattern->nr_accesses->min;
+ scheme->pattern.max_nr_accesses = access_pattern->nr_accesses->max;
+ scheme->pattern.min_age_region = access_pattern->age->min;
+ scheme->pattern.max_age_region = access_pattern->age->max;
+
+ scheme->action = sysfs_scheme->action;
+
+ scheme->quota.ms = sysfs_quotas->ms;
+ scheme->quota.sz = sysfs_quotas->sz;
+ scheme->quota.reset_interval = sysfs_quotas->reset_interval_ms;
+ scheme->quota.weight_sz = sysfs_weights->sz;
+ scheme->quota.weight_nr_accesses = sysfs_weights->nr_accesses;
+ scheme->quota.weight_age = sysfs_weights->age;
+
+ scheme->wmarks.metric = sysfs_wmarks->metric;
+ scheme->wmarks.interval = sysfs_wmarks->interval_us;
+ scheme->wmarks.high = sysfs_wmarks->high;
+ scheme->wmarks.mid = sysfs_wmarks->mid;
+ scheme->wmarks.low = sysfs_wmarks->low;
+}
+
static int damon_sysfs_set_schemes(struct damon_ctx *ctx,
struct damon_sysfs_schemes *sysfs_schemes)
{
- int i;
+ struct damos *scheme, *next;
+ int i = 0;
+
+ damon_for_each_scheme_safe(scheme, next, ctx) {
+ if (i < sysfs_schemes->nr)
+ damon_sysfs_update_scheme(scheme,
+ sysfs_schemes->schemes_arr[i]);
+ else
+ damon_destroy_scheme(scheme);
+ i++;
+ }
- for (i = 0; i < sysfs_schemes->nr; i++) {
+ for (; i < sysfs_schemes->nr; i++) {
struct damos *scheme, *next;
scheme = damon_sysfs_mk_scheme(sysfs_schemes->schemes_arr[i]);
_
Patches currently in -mm which might be from sj(a)kernel.org are
mm-damon-sysfs-schemes-skip-stats-update-if-the-scheme-directory-is-removed.patch
mm-damon-sysfs-fix-wrong-empty-schemes-assumption-under-online-tuning-in-damon_sysfs_set_schemes.patch
mm-damon-core-split-out-damos-charged-region-skip-logic-into-a-new-function.patch
mm-damon-core-split-damos-application-logic-into-a-new-function.patch
mm-damon-core-split-out-scheme-stat-update-logic-into-a-new-function.patch
mm-damon-core-split-out-scheme-quota-adjustment-logic-into-a-new-function.patch
mm-damon-sysfs-use-damon_addr_range-for-regions-start-and-end-values.patch
mm-damon-sysfs-remove-parameters-of-damon_sysfs_region_alloc.patch
mm-damon-sysfs-move-sysfs_lock-to-common-module.patch
mm-damon-sysfs-move-unsigned-long-range-directory-to-common-module.patch
mm-damon-sysfs-split-out-kdamond-independent-schemes-stats-update-logic-into-a-new-function.patch
mm-damon-sysfs-split-out-schemes-directory-implementation-to-separate-file.patch
mm-damon-modules-deduplicate-init-steps-for-damon-context-setup.patch
mm-damon-reclaimlru_sort-remove-unnecessarily-included-headers.patch
mm-damon-reclaim-enable-and-disable-synchronously.patch
selftests-damon-add-tests-for-damon_reclaims-enabled-parameter.patch
mm-damon-lru_sort-enable-and-disable-synchronously.patch
selftests-damon-add-tests-for-damon_lru_sorts-enabled-parameter.patch
docs-admin-guide-mm-damon-usage-describe-the-rules-of-sysfs-region-directories.patch
docs-admin-guide-mm-damon-usage-fix-wrong-usage-example-of-init_regions-file.patch
mm-damon-core-add-a-callback-for-scheme-target-regions-check.patch
mm-damon-sysfs-schemes-implement-schemes-tried_regions-directory.patch
mm-damon-sysfs-schemes-implement-scheme-region-directory.patch
mm-damon-sysfs-implement-damos-tried-regions-update-command.patch
mm-damon-sysfs-implement-damos-tried-regions-update-command-fix.patch
mm-damon-sysfs-schemes-implement-damos-tried-regions-clear-command.patch
mm-damon-sysfs-schemes-implement-damos-tried-regions-clear-command-fix.patch
tools-selftets-damon-sysfs-test-tried_regions-directory-existence.patch
docs-admin-guide-mm-damon-usage-document-schemes-s-tried_regions-sysfs-directory.patch
docs-abi-damon-document-schemes-s-tried_regions-sysfs-directory.patch
selftests-damon-test-non-context-inputs-to-rm_contexts-file.patch