Buildresult: powerpc-fixes/m68k-defconfig/m68k-gcc11 built on Mar 16 2023, 17:09
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 16 2023, 17:09
Duration:
0:03:46.663192
Builder:
blade4b
Revision:
powerpc/mm: Fix false detection of read faults (
f2c7e3562b4c4f1699acc1538ebf3e75f5cced35)
Target:
powerpc-fixes/m68k-defconfig/m68k-gcc11
Branch:
powerpc-fixes
Compiler:
m68k-gcc11
(m68k-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (1)
include/linux/list.h:74:19: warning: 'seed_devices' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify f2c7e3562b4c4f1699acc1538ebf3e75f5cced35^{commit} f2c7e3562b4c4f1699acc1538ebf3e75f5cced35 already have revision, skipping fetch # git checkout -q -f -B kisskb f2c7e3562b4c4f1699acc1538ebf3e75f5cced35 # git clean -qxdf # < git log -1 # commit f2c7e3562b4c4f1699acc1538ebf3e75f5cced35 # Author: Russell Currey <ruscur@russell.cc> # Date: Fri Mar 10 16:08:34 2023 +1100 # # powerpc/mm: Fix false detection of read faults # # To support detection of read faults with Radix execute-only memory, the # vma_is_accessible() check in access_error() (which checks for PROT_NONE) # was replaced with a check to see if VM_READ was missing, and if so, # returns true to assert the fault was caused by a bad read. # # This is incorrect, as it ignores that both VM_WRITE and VM_EXEC imply # read on powerpc, as defined in protection_map[]. This causes mappings # containing VM_WRITE or VM_EXEC without VM_READ to misreport the cause of # page faults, since the MMU is still allowing reads. # # Correct this by restoring the original vma_is_accessible() check for # PROT_NONE mappings, and adding a separate check for Radix PROT_EXEC-only # mappings. # # Fixes: 395cac7752b9 ("powerpc/mm: Support execute-only memory on the Radix MMU") # Reported-by: Michal Suchánek <msuchanek@suse.de> # Link: https://lore.kernel.org/r/20230308152702.GR19419@kitsune.suse.cz # Tested-by: Benjamin Gray <bgray@linux.ibm.com> # Signed-off-by: Russell Currey <ruscur@russell.cc> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://msgid.link/20230310050834.63105-1-ruscur@russell.cc # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 f2c7e3562b4c4f1699acc1538ebf3e75f5cced35 # < make -s -j 24 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/volumes.c:6: /kisskb/src/fs/btrfs/volumes.c: In function 'btrfs_init_new_device': /kisskb/src/include/linux/list.h:74:19: warning: 'seed_devices' may be used uninitialized in this function [-Wmaybe-uninitialized] 74 | new->prev = prev; | ~~~~~~~~~~^~~~~~ /kisskb/src/fs/btrfs/volumes.c:2612:34: note: 'seed_devices' was declared here 2612 | struct btrfs_fs_devices *seed_devices; | ^~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 # Build took: 0:03:46.663192
© Michael Ellerman 2006-2018.