# 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-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9ffcf6a19dbb2a24de2c2d7b2af1e130986cd565 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/kernel/optprobes_head.o: warning: objtool: optprobe_template_end(): can't find starting instruction /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/platforms/chrp/pci.o: in function `chrp_find_bridges': /kisskb/src/arch/powerpc/platforms/chrp/pci.c:323: undefined reference to `pci_create_OF_bus_map' make[2]: *** [/kisskb/src/scripts/Makefile.vmlinux:34: vmlinux] Error 1 make[1]: *** [/kisskb/src/Makefile:1252: vmlinux] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc12 # Build took: 0:02:54.164794