# 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 40 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet32_smp_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_corenet32_smp_defconfig_powerpc-gcc5 # Build took: 0:01:36.045277