Buildresult: powerpc-fixes/ia64-defconfig/ia64-gcc4.9 built on Jul 28 2020, 01:24
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jul 28 2020, 01:24
Duration:
0:02:18.299031
Builder:
ka2
Revision:
powerpc/64s/hash: Fix hash_preload running with interrupts enabled (
909adfc66b9a1db21b5e8733e9ebfa6cd5135d74)
Target:
powerpc-fixes/ia64-defconfig/ia64-gcc4.9
Branch:
powerpc-fixes
Compiler:
ia64-gcc4.9
(ia64-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (3)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value]
Full Log
# git rev-parse -q --verify 909adfc66b9a1db21b5e8733e9ebfa6cd5135d74^{commit} 909adfc66b9a1db21b5e8733e9ebfa6cd5135d74 already have revision, skipping fetch # git checkout -q -f -B kisskb 909adfc66b9a1db21b5e8733e9ebfa6cd5135d74 # git clean -qxdf # < git log -1 # commit 909adfc66b9a1db21b5e8733e9ebfa6cd5135d74 # Author: Nicholas Piggin <npiggin@gmail.com> # Date: Mon Jul 27 16:09:47 2020 +1000 # # powerpc/64s/hash: Fix hash_preload running with interrupts enabled # # Commit 2f92447f9f96 ("powerpc/book3s64/hash: Use the pte_t address from the # caller") removed the local_irq_disable from hash_preload, but it was # required for more than just the page table walk: the hash pte busy bit is # effectively a lock which may be taken in interrupt context, and the local # update flag test must not be preempted before it's used. # # This solves apparent lockups with perf interrupting __hash_page_64K. If # get_perf_callchain then also takes a hash fault on the same page while it # is already locked, it will loop forever taking hash faults, which looks like # this: # # cpu 0x49e: Vector: 100 (System Reset) at [c00000001a4f7d70] # pc: c000000000072dc8: hash_page_mm+0x8/0x800 # lr: c00000000000c5a4: do_hash_page+0x24/0x38 # sp: c0002ac1cc69ac70 # msr: 8000000000081033 # current = 0xc0002ac1cc602e00 # paca = 0xc00000001de1f280 irqmask: 0x03 irq_happened: 0x01 # pid = 20118, comm = pread2_processe # Linux version 5.8.0-rc6-00345-g1fad14f18bc6 # 49e:mon> t # [c0002ac1cc69ac70] c00000000000c5a4 do_hash_page+0x24/0x38 (unreliable) # --- Exception: 300 (Data Access) at c00000000008fa60 __copy_tofrom_user_power7+0x20c/0x7ac # [link register ] c000000000335d10 copy_from_user_nofault+0xf0/0x150 # [c0002ac1cc69af70] c00032bf9fa3c880 (unreliable) # [c0002ac1cc69afa0] c000000000109df0 read_user_stack_64+0x70/0xf0 # [c0002ac1cc69afd0] c000000000109fcc perf_callchain_user_64+0x15c/0x410 # [c0002ac1cc69b060] c000000000109c00 perf_callchain_user+0x20/0x40 # [c0002ac1cc69b080] c00000000031c6cc get_perf_callchain+0x25c/0x360 # [c0002ac1cc69b120] c000000000316b50 perf_callchain+0x70/0xa0 # [c0002ac1cc69b140] c000000000316ddc perf_prepare_sample+0x25c/0x790 # [c0002ac1cc69b1a0] c000000000317350 perf_event_output_forward+0x40/0xb0 # [c0002ac1cc69b220] c000000000306138 __perf_event_overflow+0x88/0x1a0 # [c0002ac1cc69b270] c00000000010cf70 record_and_restart+0x230/0x750 # [c0002ac1cc69b620] c00000000010d69c perf_event_interrupt+0x20c/0x510 # [c0002ac1cc69b730] c000000000027d9c performance_monitor_exception+0x4c/0x60 # [c0002ac1cc69b750] c00000000000b2f8 performance_monitor_common_virt+0x1b8/0x1c0 # --- Exception: f00 (Performance Monitor) at c0000000000cb5b0 pSeries_lpar_hpte_insert+0x0/0x160 # [link register ] c0000000000846f0 __hash_page_64K+0x210/0x540 # [c0002ac1cc69ba50] 0000000000000000 (unreliable) # [c0002ac1cc69bb00] c000000000073ae0 update_mmu_cache+0x390/0x3a0 # [c0002ac1cc69bb70] c00000000037f024 wp_page_copy+0x364/0xce0 # [c0002ac1cc69bc20] c00000000038272c do_wp_page+0xdc/0xa60 # [c0002ac1cc69bc70] c0000000003857bc handle_mm_fault+0xb9c/0x1b60 # [c0002ac1cc69bd50] c00000000006c434 __do_page_fault+0x314/0xc90 # [c0002ac1cc69be20] c00000000000c5c8 handle_page_fault+0x10/0x2c # --- Exception: 300 (Data Access) at 00007fff8c861fe8 # SP (7ffff6b19660) is in userspace # # Fixes: 2f92447f9f96 ("powerpc/book3s64/hash: Use the pte_t address from the caller") # Reported-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> # Reported-by: Anton Blanchard <anton@ozlabs.org> # Signed-off-by: Nicholas Piggin <npiggin@gmail.com> # Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20200727060947.10060-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-ld --version # < git log --format=%s --max-count=1 909adfc66b9a1db21b5e8733e9ebfa6cd5135d74 # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-fixes_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- defconfig # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-fixes_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- help # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-fixes_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- olddefconfig # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-fixes_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/ia64/include/uapi/asm/intrinsics.h:22:0, from /kisskb/src/arch/ia64/include/asm/intrinsics.h:11, from /kisskb/src/arch/ia64/include/asm/bitops.h:19, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:355:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^ No errors detected in 22248 functions. Completed OK # rm -rf /kisskb/build/powerpc-fixes_ia64-defconfig_ia64-gcc4.9 # Build took: 0:02:18.299031
© Michael Ellerman 2006-2018.