# git rev-parse -q --verify e4d432f204d77e853b9d55810ebc877fa6d69a3d^{commit} e4d432f204d77e853b9d55810ebc877fa6d69a3d already have revision, skipping fetch # git checkout -q -f -B kisskb e4d432f204d77e853b9d55810ebc877fa6d69a3d # git clean -qxdf # < git log -1 # commit e4d432f204d77e853b9d55810ebc877fa6d69a3d # Author: Russell Currey # Date: Fri Feb 10 19:04:01 2023 +1100 # # integrity/powerpc: Support loading keys from PLPKS # # Add support for loading keys from the PLPKS on pseries machines, with the # "ibm,plpks-sb-v1" format. # # The object format is expected to be the same, so there shouldn't be any # functional differences between objects retrieved on powernv or pseries. # # Unlike on powernv, on pseries the format string isn't contained in the # device tree. Use secvar_ops->format() to fetch the format string in a # generic manner, rather than searching the device tree ourselves. # # (The current code searches the device tree for a node compatible with # "ibm,edk2-compat-v1". This patch switches to calling secvar_ops->format(), # which in the case of OPAL/powernv means opal_secvar_format(), which # searches the device tree for a node compatible with "ibm,secvar-backend" # and checks its "format" property. These are equivalent, as skiboot creates # a node with both "ibm,edk2-compat-v1" and "ibm,secvar-backend" as # compatible strings.) # # Signed-off-by: Russell Currey # Signed-off-by: Andrew Donnellan # Reviewed-by: Stefan Berger # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230210080401.345462-27-ajd@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 e4d432f204d77e853b9d55810ebc877fa6d69a3d # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig .config:3652:warning: override: reassigning to symbol DEBUG_INFO_BTF # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1061:2: /kisskb/src/arch/s390/kernel/setup.c:526:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 526 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 527 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 # Build took: 0:05:03.890838