# 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_85xx_ppa8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/ppa8548_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ppa8548_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_85xx_ppa8548_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_85xx_ppa8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x53e880) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.12.0-rc3-gf76c7820fc6e Created: Thu Apr 22 02:14:11 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2519267 Bytes = 2460.22 KiB = 2.40 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_ppa8548_defconfig_powerpc-gcc5 # Build took: 0:00:53.198136