# git rev-parse -q --verify f76c7820fc6ef641b75b5142aea72f1485c73bb1^{commit} f76c7820fc6ef641b75b5142aea72f1485c73bb1 already have revision, skipping fetch # git checkout -q -f -B kisskb f76c7820fc6ef641b75b5142aea72f1485c73bb1 # git clean -qxdf # < git log -1 # commit f76c7820fc6ef641b75b5142aea72f1485c73bb1 # Author: Michael Ellerman # Date: Tue Apr 20 22:26:24 2021 +1000 # # powerpc/powernv: Fix type of opal_mpipl_query_tag() addr argument # # opal_mpipl_query_tag() takes a pointer to a 64-bit value, which firmware # writes a value to. As OPAL is traditionally big endian this value will # be big endian. # # This can be confirmed by looking at the implementation in skiboot: # # static uint64_t opal_mpipl_query_tag(enum opal_mpipl_tags tag, __be64 *tag_val) # { # ... # *tag_val = cpu_to_be64(opal_mpipl_tags[tag]); # return OPAL_SUCCESS; # } # # Fix the declaration to annotate that the value is big endian. # # Signed-off-by: Michael Ellerman # < /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 f76c7820fc6ef641b75b5142aea72f1485c73bb1 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc512x_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c: In function 'ads5121_select_chip': /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c:294:19: warning: unused variable 'mtd' [-Wunused-variable] struct mtd_info *mtd = nand_to_mtd(nand); ^ INFO: Uncompressed kernel (size 0x7f3a18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.12.0-rc3-gf76c7820fc6e Created: Thu Apr 22 01:55:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3543178 Bytes = 3460.13 KiB = 3.38 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc512x_defconfig_powerpc-gcc5 # Build took: 0:01:04.907369