Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751189AbdFBOmW (ORCPT ); Fri, 2 Jun 2017 10:42:22 -0400 Received: from mail-sn1nam02on0080.outbound.protection.outlook.com ([104.47.36.80]:8883 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751163AbdFBOmT (ORCPT ); Fri, 2 Jun 2017 10:42:19 -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 17:42:04 +0300 From: Yury Norov To: Will Deacon Cc: punit.agrawal@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, steve.capper@arm.com Subject: Re: arm64: segfaults on next-20170602 with LTP tests Message-ID: <20170602144204.uyvbby5vauxpt6yr@yury-thinkpad> References: <20170602111151.r2x3364zqabmshzo@yury-thinkpad> <20170602121917.GG6371@arm.com> <20170602123751.3jzdkjwntbce2e6e@yury-thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170602123751.3jzdkjwntbce2e6e@yury-thinkpad> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [176.59.46.63] X-ClientProxiedBy: HE1PR0802CA0023.eurprd08.prod.outlook.com (10.172.123.161) To CY1PR0701MB1275.namprd07.prod.outlook.com (10.160.149.18) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1275: X-MS-Office365-Filtering-Correlation-Id: 4ee42792-b731-4548-56a7-08d4a9c5916a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR0701MB1275; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1275;3:8KFxCJqlwoL6s70/LSu7ThILygozs8qitVJXnS9hN3QKr3hmuDwtX/GRWEVddeDxy/H2+PJPxHzUGBZ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6b4kdg2dLO+WUEVKW1QFUq0LYg/uO5Q/6fZjiN9rN5BMnif1rxRX4GSg4nU3IXeDy612NSk2Mq/EK1mZSZxyXb12t1IxUJqASnCcrzH7WA73klUYkbyOBTkOn4YnvIpkiBMA6fzTAnHn/DaBMGY4xBH5w21cr8H/1gkM/IRhGOBvOG6hOEhViVGPD8bjCHxPF3PINgaRstfsGdKMTVMiMgj00knEGBdN/NHW0HQErX4kVgOH5ZlF5rFRP52JfRrvpRsXL4toLFJCj3llLAxvBhNEQBVESRFFIrtp6lrRN+U8uG4W5ebIx0/kyFjIcGE8cV7QZzw8w2nWUhPisxB4u5u7zMv0epU+zJ/sUeh79+/bjN/bT83iPJl8WwCf89pqoDw9UeBX5q8HyiCEb/3OxxjekWhDN8JWNFf3ww212iXnB+O3QzsX2xkVX3LYUKM6K5fNcOPlFvcjmvn1Zy6EF8ofkT9Kk1OVm9T6a9Z3SLGfD067SokGAgMIUn3TNAfiID1964K/hn5LgkCufeGtxY+3krz3KxJkcNhMtqVFl69E2dmFtfCVVk2rk/ud2mq6mWMsPiWcw6CusKN1BcpE2PcPi7cs= 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)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(3002001)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0701MB1275;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0701MB1275; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1275;4:3crBUx7qcy8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Q?ETU1geoCVG0T8E74RT4PH4XTVGSfOqgddWVAL+DwYcUABD2Tnet0pzAYA67g?= =?us-ascii?Q?O2EApj583x4LJROLCqtAaH3TuznA12zincn9xsLCEzBDbz9krNk3XifwFLuw?= =?us-ascii?Q?k7J8Mra2YVnHsppkO+3xqTqAo6AHDoDacAkiS6v7hzKVTdrabR0PwrmqSgnQ?= =?us-ascii?Q?SJZQNj8n8cKgrMMn4rfbDs5yXYchNfZn2czRPICHupXMH+Tp83wnviXQt6MU?= =?us-ascii?Q?j6FF0GAvMUA=3D?= X-Forefront-PRVS: 03264AEA72 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(24454002)(1076002)(54356999)(83506001)(23726003)(5890100001)(53936002)(4001350100001)(8676002)(6116002)(4326008)(6666003)(2906002)(229853002)(189998001)(6916009)(25786009)(6486002)(33716001)(9686003)(6246003)(5660300001)(2950100002)(76506005)(47776003)(81166006)(6496005)(50466002)(42186005)(72206003)(42882006)(76176999)(7736002)(33646002)(66066001)(478600001)(50986999)(38730400002)(305945005)(3846002)(110136004);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1275;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1275;23:aZgTBlhh/HMPKg5z1vj2BajL5/ML+vTaKJ+Lemr?= =?us-ascii?Q?yLD4Cia4SLcHzhAN7ff7Sqdu4g6lrWf7JXQ1W2W78zOSurFm/ngjoW8GSeZO?= =?us-ascii?Q?YjUYjDIBESSL3MGuI+8Mm5zYWDq+ntUb+BY+zU2dwyo0fR5JGo2a3a1hcC7T?= =?us-ascii?Q?K+gCm+mtghLvQiNuFI/D1rt4nJneESBWb00SBv57LzVICplTIBxHMUv7ySbg?= =?us-ascii?Q?DX1eW4oe8ITltnonsUNp6qjoGkq7vpUMfhr6Oz6JmFLFNQ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h4O96Uimw4UN8Zn7/rshYs25muN4L668+2PsGjpv+41ldlH23f08sIYK22DeH8WrxdPF9RsOmLrrh8c9PhAjrAXE9XFYI1zU9J+ex10fxClRQqxhkUTfheAOsbvArqpMdfLzKLCAVeJzRbjq6YmifLg8zJ3PKfNV6IAlW08fsh6s7ObQnULkbqdM6MuSA00Z;24:RvVgj/Jj4HQBLTS2qzYkq3ZS+uBE+DZJ1haq4KWgbezI6kwLEp43LqaJriqgKc7+wtN3HEQiDAVTF2ttgfu1AdoyLt19bGsZWap/u5VMQWU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1275;7:Q8sJAaG4rjB1ecuCy7kCpwMN97rI8pMQrAr5/vdv1v8O8FikI4fjivuCB6cGAnYaPdUkWfeCMLw6TCBB210GKvengH+GgQLWjB7NloQakInv/8VHNKF6hLxVNElvW6TIIN6sOCLTcHOen5pA1kfjK8vOWEFBW1O3QPIPEeTV7rZJA8EATwkj9tc/H3mLUtTdcfl/yjhPL28cY1Uj4b/dvxs1RycnGJtT4dHzh0TwIs9UpsVEsXbpN+eZLCTl+iyhAhUJk5TJ9uKdAFyA+h3nyQv/Rt8w0APb3d4DQC8rAPfmk/jr2/HUYaEVR5jME/WCl/jJLtpc179F4sfTqDeCgA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2017 14:42:17.2263 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1275 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 25 On Fri, Jun 02, 2017 at 03:37:51PM +0300, Yury Norov wrote: > 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 have bisected the bug to exactly this patch. If I revert it, the pth_str01/03 are passed. Yury