# git rev-parse -q --verify c1b25a17d24925b0961c319cfc3fd7e1dc778914^{commit} c1b25a17d24925b0961c319cfc3fd7e1dc778914 already have revision, skipping fetch # git checkout -q -f -B kisskb c1b25a17d24925b0961c319cfc3fd7e1dc778914 # git clean -qxdf # < git log -1 # commit c1b25a17d24925b0961c319cfc3fd7e1dc778914 # Author: Nicholas Piggin # Date: Thu Apr 5 16:10:00 2018 +1000 # # powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep # # POWER8 restores AMOR when waking from deep sleep, but POWER9 does not, # because it does not go through the subcore restore. # # Have POWER9 restore it in core restore. # # Fixes: ee97b6b99f42 ("powerpc/mm/radix: Setup AMOR in HV mode to allow key 0") # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 c1b25a17d24925b0961c319cfc3fd7e1dc778914 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, 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:22: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:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb4d670) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb3ceb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563024 Bytes = 5432.64 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5538867 Bytes = 5409.05 kB = 5.28 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563585 Bytes = 5433.19 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563086 Bytes = 5432.70 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562433 Bytes = 5432.06 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562577 Bytes = 5432.20 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562677 Bytes = 5432.30 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563724 Bytes = 5433.32 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563043 Bytes = 5432.66 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563335 Bytes = 5432.94 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562998 Bytes = 5432.62 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5563031 Bytes = 5432.65 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562998 Bytes = 5432.62 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562576 Bytes = 5432.20 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562607 Bytes = 5432.23 kB = 5.30 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:07:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5562888 Bytes = 5432.51 kB = 5.31 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:01:41.407692