# git rev-parse -q --verify abaa02fc944f2f9f2c2e1925ddaceaf35c48528c^{commit} abaa02fc944f2f9f2c2e1925ddaceaf35c48528c already have revision, skipping fetch # git checkout -q -f -B kisskb abaa02fc944f2f9f2c2e1925ddaceaf35c48528c # git clean -qxdf # < git log -1 # commit abaa02fc944f2f9f2c2e1925ddaceaf35c48528c # Author: Pali Rohár # Date: Fri May 5 19:28:18 2023 +0200 # # powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node # # Freescale PCIe controllers on their PCIe Root Ports do not have any # mappable PCI BAR allocate from PCIe MEM. # # Information about 1MB window on BAR0 of PCIe Root Port was misleading # because Freescale PCIe controllers have at BAR0 position different register # PEXCSRBAR, and kernel correctly skipts BAR0 for these Freescale PCIe Root # Ports. # # So update comment about P2020 PCIe Root Port and decrease PCIe MEM size # required for PCIe controller (pci2 node) on which is on-board xHCI # controller. # # lspci confirms that on P2020 PCIe Root Port is no PCI BAR and /proc/iomem # sees that only c0000000-c000ffff and c0010000-c0011fff ranges are used. # # Fixes: 54c15ec3b738 ("powerpc: dts: Add DTS file for CZ.NIC Turris 1.x routers") # Signed-off-by: Pali Rohár # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230505172818.18416-1-pali@kernel.org # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 abaa02fc944f2f9f2c2e1925ddaceaf35c48528c # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.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) # # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4508:warning: override: reassigning to symbol PPC_E500MC .config:4509:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/build_bug.h:5, 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] 28 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:13: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc12 # Build took: 0:03:14.598582