# git rev-parse -q --verify 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565^{commit} 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565 already have revision, skipping fetch # git checkout -q -f -B kisskb 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565 # git clean -qxdf # < git log -1 # commit 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565 # Author: Russell Currey # Date: Tue Jan 31 17:39:28 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/20230131063928.388035-26-ajd@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc11 # Build took: 0:02:03.787262