# 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_smp_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_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 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd9594) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc8ddc) 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:22:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842066 Bytes = 5705.14 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:04 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5818360 Bytes = 5681.99 kB = 5.55 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842092 Bytes = 5705.17 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842158 Bytes = 5705.23 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:05 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842100 Bytes = 5705.18 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:06 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842174 Bytes = 5705.25 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:06 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842350 Bytes = 5705.42 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:07 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844288 Bytes = 5707.31 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:07 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842145 Bytes = 5705.22 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842064 Bytes = 5705.14 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5841905 Bytes = 5704.99 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844643 Bytes = 5707.66 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844010 Bytes = 5707.04 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842178 Bytes = 5705.25 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5842169 Bytes = 5705.24 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c00278 Image Name: Linux-4.16.0-rc4-gc1b25a1 Created: Thu Apr 5 18:22:08 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5844512 Bytes = 5707.53 kB = 5.57 MB Load Address: 00c00000 Entry Point: 00c0020c Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-5.3 # Build took: 0:01:46.236132