# 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_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/tqm8548_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8548_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_85xx_tqm8548_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_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x576bac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x566520) 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 01:59:11 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2758220 Bytes = 2693.57 KiB = 2.63 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc3-gf76c7820fc6e Created: Thu Apr 22 01:59:11 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2786746 Bytes = 2721.43 KiB = 2.66 MiB Load Address: 00600000 Entry Point: 006002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 # Build took: 0:00:58.918379