From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965820AbdEWGeT (ORCPT ); Tue, 23 May 2017 02:34:19 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57310 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932883AbdEWGeP (ORCPT ); Tue, 23 May 2017 02:34:15 -0400 Subject: Re: [PowerPC][next-20170324][kselftest] kernel Oops when running tm/tm-signal-context-chk-vsx From: Abdul Haleem To: Cyril Bur Cc: linuxppc-dev , linux-kernel , sachinp Date: Tue, 23 May 2017 12:03:19 +0530 In-Reply-To: <1491210231.7788.12.camel@abdul.in.ibm.com> References: <1490612559.8344.15.camel@abdul.in.ibm.com> <871sthbu12.fsf@concordia.ellerman.id.au> <1491209923.7788.9.camel@abdul.in.ibm.com> <1491210231.7788.12.camel@abdul.in.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable x-cbid: 17052306-0012-0000-0000-00000236DF03 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17052306-0013-0000-0000-0000074E4522 Message-Id: <1495521199.9020.13.camel@abdul.in.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-23_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705230034 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2017-04-03 at 14:33 +0530, Abdul Haleem wrote: > On Mon, 2017-04-03 at 14:28 +0530, Abdul Haleem wrote: > > On Tue, 2017-03-28 at 21:00 +1100, Michael Ellerman wrote: > > > Abdul Haleem writes: > > > > > > > Hi, > > > > > > > > While running kernel self tests on ppc64, tm/tm-signal-context-chk-vsx > > > > tests fails with Oops message. > > > > > > > > I was able to reproduce only twice out of 20 runs on next-20170324 only. > > > > so it is difficult to bisect the commit causing the issue. > > > > > > Can you try mainline as of this commit: > > > > > > 605df8d674ac ("selftests/powerpc: Replace stxvx and lxvx with stxvd2x/lxvd2x") > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=605df8d674ac65e044a0bf4998b28c2f350b7f9e > > > > > > cheers > > > > > > > > > Trace is not reproducible on mainline with above commit. > > > > Cyril was able to reproduce it and is working on it. > > > > > > > > > cc Cyril Bur > Hi Cyril, I see a similar trace, but with 'tm-signal-stack' test for mainline kernel 4.12.0-rc1 on PowerVM LPAR. tm-signal-msr-r[7669]: bad frame in rt_sigreturn: 00007fffe8a6a6c0 nip 00007fff8335f094 lr 00007fff835104d8 tm-signal-stack[7675]: bad frame in setup_rt_frame: 0000000000000000 nip 0000000010000d44 lr 0000000010000d28 Bad kernel stack pointer 7fffd8b33530 at c00000000000b660 Oops: Bad kernel stack pointer, sig: 6 [#1] SMP NR_CPUS=2048 NUMA pSeries Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: vmx_crypto(E) pseries_rng(E) rtc_generic(E) autofs4(E) [last unloaded: torture] CPU: 8 PID: 8014 Comm: tm-signal-conte Tainted: G E 4.12.0-rc1-autotest #1 task: c0000007742ac000 task.stack: c000000773b84000 NIP: c00000000000b660 LR: 0000000010001af0 CTR: 0000000000000000 REGS: c00000000ec23d40 TRAP: 0700 Tainted: G E (4.12.0-rc1-autotest) MSR: 8000000102a03031 CR: 42000822 XER: 00000000 CFAR: c00000000000b5b4 SOFTE: 0 GPR00: 0000000000000025 00007fffd8b33530 0000000010028200 0000000000000000 GPR04: 000000000000000a 0000000010020010 0000000000000000 0000000000000000 GPR08: 00000000000000f8 0000000000000000 0000000000000000 0000000000000000 GPR12: 0000000000000000 00007fff8b6ac440 0000000000000000 0000000000000000 GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR24: 0000000000000000 0000000000000000 0000000000000000 00007fff8b69f948 GPR28: 0000000010020010 0000000010020304 0000000000001f4e 00000000000333ce NIP [c00000000000b660] fast_exception_return+0x90/0x98 LR [0000000010001af0] 0x10001af0 Call Trace: Instruction dump: 7c40e3a6 e9a100d8 7c7b03a6 e84101a0 7c4ff120 e8410170 7c5a03a6 e8010070 e8410080 e8610088 e8810090 e8210078 <4c000024> 48000000 e8610178 88ed02bb ---[ end trace a10b71ed348d921f ]--- -- Regard's Abdul Haleem IBM Linux Technology Centre