# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/pcm030_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x5bed78) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.12.0-rc3trunk+ Created: Thu Apr 22 01:51:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2496563 Bytes = 2438.05 KiB = 2.38 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_pcm030_defconfig_powerpc-gcc5 # Build took: 0:00:58.174744