Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751161AbdFBMiG (ORCPT ); Fri, 2 Jun 2017 08:38:06 -0400 Received: from mail-bl2nam02on0068.outbound.protection.outlook.com ([104.47.38.68]:37235 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751125AbdFBMiF (ORCPT ); Fri, 2 Jun 2017 08:38:05 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Fri, 2 Jun 2017 15:37:51 +0300 From: Yury Norov To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, steve.capper@arm.com, punit.agrawal@arm.com Subject: Re: arm64: segfaults on next-20170602 with LTP tests Message-ID: <20170602123751.3jzdkjwntbce2e6e@yury-thinkpad> References: <20170602111151.r2x3364zqabmshzo@yury-thinkpad> <20170602121917.GG6371@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170602121917.GG6371@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [176.59.46.63] X-ClientProxiedBy: VI1P194CA0024.EURP194.PROD.OUTLOOK.COM (10.175.178.34) To BY1PR0701MB1270.namprd07.prod.outlook.com (10.160.108.16) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0701MB1270: X-MS-Office365-Filtering-Correlation-Id: a0d8ef27-5a0d-44fa-62ae-08d4a9b43544 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BY1PR0701MB1270; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1270;3:ndxtS/0UH8qOu2pxVW04byhIx/kTYnRvuToorRltvdqa76N68SfUXa5jk7slrekCN5diWb0jKsYCIYsq/3qWVtHoCd0jAcVHMWLx0CbstiA0khny0mA9RHqwAhF1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D7P8Y9d2QnkYy5Mca6/aj/7E6KM3sJAQTTFNj6T1VgO0X2FciCuyR7TN/yoNKKoLIUNSdViLyMZQtWgFBbGTXRzCSA893nWvzHQOL9CILlP26JbAIu4vf76YCs6BYgsyvnv/UJ9v3wcIDba3QG925GOZUomUgQNS6fj/n7U8tjz9G3eoEm2lB+g/eu91NL9D/zJYu2ziU3da0Y7D7oKEu8WNQw1pZ/fret8IPk29lA29aJHMPT4UQwhe+dY4buXZNgnZ1r65VC1Fz6x87Y0oT8z2Ehsp0BACLgos871r6/czdjYw+3A2KO1tY1Zp1Aewjl7xzIr7vXDdHKq63JRl5OCIn0B71hhVeVVfzBLghjBWiOcE3hAEnyCQrkP3Cm1PYr1Da2IhJSzwJwVnrrhbGw4OceG7SHTnS00N0qnrf+jmWtVloNKE293cu9FqlAiKMV7+z17NTsE4JsnT8PdpFvlw39ThMAzgTcwdJKLZ+qM5Cyo3sSdS1tXHqDz21a1Sur8XlNA5ASpkTCGN/ZUWjVcQen0eP19MwFOlIrfJhG9Bg4vOb7k8zXfo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123562025)(20161123564025)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR0701MB1270;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR0701MB1270; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1270;4:iCPh1XQjteilPmNOh2dhVEKV4bbYxCXMOtr+Bjlq?= =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W4JW223XArxQF2DjLnKRXx?= =?us-ascii?Q?BzGaZRIkVPOTmb+HcmXoFcuQaLvdVpTPZYEz2cscJGkcF3blf5rd5qhAIkz7?= =?us-ascii?Q?edp14i/AKnZ1fS9fabcgSsRs5vHdWiip5iLOEO87LjtIdKSqcUx45s8951iw?= =?us-ascii?Q?9d0eJ+ZlBk8N/QWba2dt5v8VMF8abAmeEYhfqBw1zm1Z+haiyy3JqUe4VJR2?= =?us-ascii?Q?opxlGVjwGV4=3D?= X-Forefront-PRVS: 03264AEA72 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(39400400002)(39410400002)(39840400002)(39850400002)(39450400003)(24454002)(2906002)(81166006)(6916009)(4326008)(7736002)(4001350100001)(305945005)(5660300001)(25786009)(42186005)(76506005)(33646002)(229853002)(23726003)(189998001)(1076002)(3846002)(478600001)(8676002)(72206003)(6116002)(110136004)(38730400002)(33716001)(6666003)(47776003)(5890100001)(66066001)(53936002)(6496005)(6246003)(2950100002)(42882006)(83506001)(50986999)(76176999)(54356999)(9686003)(6486002)(50466002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0701MB1270;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1270;23:euDZKS/FuK6MuqxtPr9wEAZ3Y/lBb77G7uIKWSk?= =?us-ascii?Q?K81n7FpPBBEe0XFfanGjTkLZcuVV96j5udnwWFF30uF+wU907a00l+G1l/C3?= =?us-ascii?Q?NMa6e6hzb9tn+JnkPE1lDoudqqXhy51/6wiKnjou0txh/HATO2YduzeZ88Wp?= =?us-ascii?Q?tkpgFYsQ11W93WTB1mDXCIyGP/pdQCoGmqWbUj3GHsXE8AM7sVKllviI2gny?= =?us-ascii?Q?7Vh0c3MyNcu4lusWemmZ2XbCJdhthiTzglY3ALYIlW3nxoZOT05Db4kZN1+S?= =?us-ascii?Q?Ogc6GlP1rynyWM7wS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HbHF3buxVZ7zGMXMYn0zsyQT3NKKJAmqruHH5KeV5ZmoT7RokXux/sZWltuaBywhg29CKiWEa1uioAPQWsgvn4OMwD1ta4Vg6d3WdRENPH93tTRfXGaTYefEzWFyGJnmMPU0GxTx;24:iBOWeHvnnDku+Y+QA1v/qBVDPykQac3h/0Jkd/oR/lQDjn9NmKpg+ynRyYnImfYw2T54ji25GyRK0Q6Rq2kOJ2m5gcJGfUwp9Xljg/CmuRA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1270;7:7vYvl14XO8/1o2s/0jhpYt9uoGMqk8ZPPBH+jvUa5V+NBccn/aZBS8m8LCEBQqy/K5vJripOdC5NnyipGoitri4jYJCm/FhDiRf2cg4fnKlmihpWPeq51SWCDONANncFY0w96TLzz10hphRZpYpcTCur2u9g6Mck9mIZDZlQRwpsqZlTA36e+Yy/JdWJqG+4Wl22/HMCPrkJZjr6x9ye2VUZxm/EeP5fEvI6kdHUR6bj33wLOKnWg04W47JAyN4pKqI540Rh0Rem80M/1nD/hQzSiDC8wfdGk+IPdFuqpYVcyFMJVhqGFNa2JubpoHg/opMauT7g1MaPhkMQQs1XeA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2017 12:38:01.3651 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1270 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 950 Lines: 23 On Fri, Jun 02, 2017 at 01:19:18PM +0100, Will Deacon wrote: > Hi Yury, > > [adding Steve and Punit] > > On Fri, Jun 02, 2017 at 02:11:51PM +0300, Yury Norov wrote: > > I see that latest and yesterday's linux-next segfaults with tests pth_str01, > > pth_str03, rwtest04. Rwtest04 hangs sometimes. Crashes are not always > > reproducible. About week ago everything was fine. Kernel log and config file > > are attached. The testing is performed on qemu. > > It's weird that these haven't cropped up in our nightly tests, especially > given that defconfig is very similar to the one you're using. That said, > I see huge pmds cropping up in the traces below and there have been some > recent changes from Punit and Steve in that area, in particular things > like 55f379263bcc ("mm, gup: ensure real head page is ref-counted when using > hugepages"). > > Are you in a position to bisect this, or is it too fiddly to reproduce? I think I can. Yury