# git rev-parse -q --verify f82cdc37c4bd4ba905bf99ade9782a639b5c12e9^{commit} f82cdc37c4bd4ba905bf99ade9782a639b5c12e9 already have revision, skipping fetch # git checkout -q -f -B kisskb f82cdc37c4bd4ba905bf99ade9782a639b5c12e9 # git clean -qxdf # < git log -1 # commit f82cdc37c4bd4ba905bf99ade9782a639b5c12e9 # Author: Russell Currey # Date: Wed Feb 22 13:17:08 2023 +1100 # # powerpc/pseries: Avoid hcall in plpks_is_available() on non-pseries # # plpks_is_available() can be called on any platform via kexec but calls # _plpks_get_config() which makes a hcall, which will only work on pseries. # Fix this by returning early in plpks_is_available() if hcalls aren't # possible. # # Fixes: 119da30d037d ("powerpc/pseries: Expose PLPKS config values, support additional fields") # Reported-by: Murphy Zhou # Signed-off-by: Russell Currey # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230222021708.146257-1-ruscur@russell.cc # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f82cdc37c4bd4ba905bf99ade9782a639b5c12e9 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/kernel/optprobes_head.o: warning: objtool: optprobe_template_end(): can't find starting instruction Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:02:25.276040