Buildresult: powerpc-fixes/arm64-defconfig/arm64-gcc5 built on Dec 14 2021, 23:25
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Dec 14 2021, 23:25
Duration:
0:03:34.850256
Builder:
ka7
Revision:
powerpc/module_64: Fix livepatching for RO modules (
8734b41b3efe0fc6082c1937b0e88556c396dc96)
Target:
powerpc-fixes/arm64-defconfig/arm64-gcc5
Branch:
powerpc-fixes
Compiler:
arm64-gcc5
(aarch64-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.25.1)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (2)
warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum warning: LSE atomics not supported by binutils
Full Log
# git rev-parse -q --verify 8734b41b3efe0fc6082c1937b0e88556c396dc96^{commit} 8734b41b3efe0fc6082c1937b0e88556c396dc96 already have revision, skipping fetch # git checkout -q -f -B kisskb 8734b41b3efe0fc6082c1937b0e88556c396dc96 # git clean -qxdf # < git log -1 # commit 8734b41b3efe0fc6082c1937b0e88556c396dc96 # Author: Russell Currey <ruscur@russell.cc> # Date: Tue Nov 23 18:15:20 2021 +1000 # # powerpc/module_64: Fix livepatching for RO modules # # Livepatching a loaded module involves applying relocations through # apply_relocate_add(), which attempts to write to read-only memory when # CONFIG_STRICT_MODULE_RWX=y. Work around this by performing these # writes through the text poke area by using patch_instruction(). # # R_PPC_REL24 is the only relocation type generated by the kpatch-build # userspace tool or klp-convert kernel tree that I observed applying a # relocation to a post-init module. # # A more comprehensive solution is planned, but using patch_instruction() # for R_PPC_REL24 on should serve as a sufficient fix. # # This does have a performance impact, I observed ~15% overhead in # module_load() on POWER8 bare metal with checksum verification off. # # Fixes: c35717c71e98 ("powerpc: Set ARCH_HAS_STRICT_MODULE_RWX") # Cc: stable@vger.kernel.org # v5.14+ # Reported-by: Joe Lawrence <joe.lawrence@redhat.com> # Signed-off-by: Russell Currey <ruscur@russell.cc> # Tested-by: Joe Lawrence <joe.lawrence@redhat.com> # [mpe: Check return codes from patch_instruction()] # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20211214121248.777249-1-mpe@ellerman.id.au # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 8734b41b3efe0fc6082c1937b0e88556c396dc96 # < make -s -j 32 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- warning: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum warning: LSE atomics not supported by binutils Completed OK # rm -rf /kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5.4 # Build took: 0:03:34.850256
© Michael Ellerman 2006-2018.