Buildresult: powerpc-next/mpc85xx_defconfig/powerpc-gcc5 built on Oct 28 2023, 04:42
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Oct 28 2023, 04:42
Duration:
0:01:43.921731
Builder:
ka7
Revision:
powerpc/vmcore: Add MMU information to vmcoreinfo (
36e826b568e412f61d68fedc02a67b4d8b7583cc)
Target:
powerpc-next/mpc85xx_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
mpc85xx_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
include/linux/err.h:28:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cc1: warning: unrecognized command line option '-Wno-shift-negative-value'
Full Log
# git rev-parse -q --verify 36e826b568e412f61d68fedc02a67b4d8b7583cc^{commit} 36e826b568e412f61d68fedc02a67b4d8b7583cc already have revision, skipping fetch # git checkout -q -f -B kisskb 36e826b568e412f61d68fedc02a67b4d8b7583cc # git clean -qxdf # < git log -1 # commit 36e826b568e412f61d68fedc02a67b4d8b7583cc # Author: Aditya Gupta <adityag@linux.ibm.com> # Date: Mon Oct 23 12:56:12 2023 +0530 # # powerpc/vmcore: Add MMU information to vmcoreinfo # # Since below commit, address mapping for vmemmap has changed for Radix # MMU, where address mapping is stored in kernel page table itself, # instead of earlier used 'vmemmap_list'. # # commit 368a0590d954 ("powerpc/book3s64/vmemmap: switch radix to use # a different vmemmap handling function") # # Hence with upstream kernel, in case of Radix MMU, makedumpfile fails # to do address translation for vmemmap addresses, as it depended on # vmemmap_list, which can now be empty. # # While fixing the address translation in makedumpfile, it was identified # that currently makedumpfile cannot distinguish between Hash MMU and # Radix MMU, unless VMLINUX is passed with -x flag to makedumpfile. And # hence fails to assign offsets and shifts correctly (such as in L4 to # PGDIR offset calculation in makedumpfile). # # For getting the MMU, makedumpfile uses `cur_cpu_spec.mmu_features`. # # Add `cur_cpu_spec` symbol and offset of `mmu_features` in the `cpu_spec` # struct, to VMCOREINFO, so that makedumpfile can assign the offsets # correctly, without needing a VMLINUX. # # Also, even along with `cur_cpu_spec->mmu_features` makedumpfile has to # depend on the 'MMU_FTR_TYPE_RADIX' flag in mmu_features, implying kernel # developers need to be cautious of changes to 'MMU_FTR_*' defines. # # A more stable approach was suggested in the below thread by contributors: # https://lore.kernel.org/linuxppc-dev/20230920105706.853626-1-adityag@linux.ibm.com/ # # The suggestion was to add whether 'RADIX_MMU' is enabled in vmcoreinfo # # This patch also implements the suggestion, by adding 'RADIX_MMU' in # vmcoreinfo, which makedumpfile can use to get whether the crashed system # had RADIX MMU (in which case 'NUMBER(RADIX_MMU)=1') or not (in which # case 'NUMBER(RADIX_MMU)=0') # # Fixes: 368a0590d954 ("powerpc/book3s64/vmemmap: switch radix to use a different vmemmap handling function") # Reported-by: Sachin Sant <sachinp@linux.ibm.com> # Signed-off-by: Aditya Gupta <adityag@linux.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://msgid.link/20231023072612.50874-1-adityag@linux.ibm.com # < /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 36e826b568e412f61d68fedc02a67b4d8b7583cc # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig Using /kisskb/src/arch/powerpc/configs/mpc85xx_base.config as base Merging /kisskb/src/arch/powerpc/configs/85xx-32bit.config Merging /kisskb/src/arch/powerpc/configs/85xx-hw.config Merging /kisskb/src/arch/powerpc/configs/fsl-emb-nonhw.config # # merged configuration written to .config (needs make) # # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_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_mpc85xx_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_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/build_bug.h:5:0, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:28:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:138:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:01:43.921731
© Michael Ellerman 2006-2018.