# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f76c7820fc6ef641b75b5142aea72f1485c73bb1 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/stx_gp3_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x59b380) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.12.0-rc3-95916-gf76c7820 Created: Thu Apr 22 03:25:14 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2912799 Bytes = 2844.53 KiB = 2.78 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_stx_gp3_defconfig_powerpc-gcc4.9 # Build took: 0:01:04.180602