From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753057AbdDLKSg (ORCPT ); Wed, 12 Apr 2017 06:18:36 -0400 Received: from mail-eopbgr20077.outbound.protection.outlook.com ([40.107.2.77]:27456 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751876AbdDLKSc (ORCPT ); Wed, 12 Apr 2017 06:18:32 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Subject: Re: [GIT PULL] arm64: fixes for -rc6 To: Jon Masters References: <20170407160239.GS19342@arm.com> <3b32cfd3-7675-005b-a737-58a8677f65ac@redhat.com> <20170412091445.GB27097@arm.com> CC: Will Deacon , , , , , From: Punit Agrawal Message-ID: <92306b33-f41e-476a-2ba4-f41da0dc6576@arm.com> Date: Wed, 12 Apr 2017 11:18:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170412091445.GB27097@arm.com> Content-Type: text/plain; charset="windows-1252"; format=flowed X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: AM3PR07CA0065.eurprd07.prod.outlook.com (10.165.201.23) To AM4PR0802MB2305.eurprd08.prod.outlook.com (10.172.218.14) X-MS-Office365-Filtering-Correlation-Id: a0a1883d-2b84-4583-f385-08d4818d4479 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(48565401081)(201703131423075)(201703031133081);SRVR:AM4PR0802MB2305; X-Microsoft-Exchange-Diagnostics: 1;AM4PR0802MB2305;3:/VZePbw4NOJ8T4mViS/RKIGSyuaWZ9TS7AEZ5KVtLeq4+fVPZA43GvGT4GXw7YsrsQ0i3RbiNL6OdBOQTtogPdjSt2Mcw6UVarsbWtHtk/y9zgizqKK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M7A2RloX68n2ImStq8okMQgMbQOAFEPn2jgDplLoNIfqXwzUohKOmOkZs+qVTdVclVvchBIYtB8Ih9mL888tLPnC7u8FisRQVjVuosaDkbkUvYtehODpeT4DpywpRQ5hOHDUozRRkV3TxKOWIof0qXXY4UlHcExoFNsfdxZIL29tzLXx1fUKtWrYqmbEFCByoAmhzDwwRoOSfqpcIopAmzAbW3pKeDj7E4iHgbI47Ban8JE1ql1LT3aQHaLuXbw6qb45lNQWVn44fB56fab58lSMrYKEt5Bj0/l/CRxMalpvgygAre5DmdRuu/lbMsJL/Azkkit8XP41BkLZffijYayhjXLajNbZCDNioEtjBG2tiIACCSaIb1RtesMDIvAmopKqHJG+KQlg6IVeypYnH+2yYnl2sWLR9aPo3GUsyvTKkQdiCfxZVu0KyPiM70jRSsRlrvtuSYIzw5v6bswhy3ZEig X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(258649278758335); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148);SRVR:AM4PR0802MB2305;BCL:0;PCL:0;RULEID:;SRVR:AM4PR0802MB2305; X-Microsoft-Exchange-Diagnostics: 1;AM4PR0802MB2305;4:2S3zYJ1sriPY2jN3Pp7LXM7ZXmyJ//ybQa9OGVfIphs6dy+YvRENiBXsUMItI0ruj8vfokFZ4BwybX8dPkoxdlE5Furcy//d8qcVjuwvRr7Ewf2+saqmvF4/Xkt835MaDhtQ2JZN3EezUwHEamM6kxkt2scU7kbqTYVCNoPw/Ili00bSWhEgIOtyXUgYLIn1IUoyIuOkrl9edqVRIJTJUBheAlD0rYPu+8AqmEoGeWkoIc8AnODx0NP/d+YXSZDYNbJsB7Pwfx/Pzgugj0iSL1D55Cptk/npCgtqBylpBa+iTUmEphXflgIjsx/tjvcTMAA/Nw+6kRViWyhNwh2hZMr7w6+8buAVcPh5wNcS0A7JI03BlkJwBzBcw4YRqJdFHuaKHu/UohZZoV9mO9DphfdnVqhiYzwLClLyG/12uzFToCcapOsdvq0u5HblQryyrmUjKAwcDAesAFq09HWx+RNXfNeg1m6jB9Dv/KSCub6w24xUtF/OCS2mchauKLIEA8WoLvuqerP630JqvMP5q88n9t/GKn7bw87VNsgX7m11btjWue0YckeehLRQrA/MheuDq4RKqy4WMsuEgwn6fA1a1aJVuSUKfG8ynJ7VEtAMD/cd9GboEU+wQJAHAJfqHxvClM3Ie6OSCnfn0TZYD/m2XOkrtqYlfWg3PUxmG21ELEVpeLhoptpMr4H2bdHcID/lfIfNzgF5PVEZjpJqJbO0D6Bw6kf0rg9s/sPLI9XaLoqWu9kxPlnBdmNZ3BmCteSCZihqX9s3mH7ufRC9tw== X-Forefront-PRVS: 027578BB13 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6049001)(39840400002)(39450400003)(39850400002)(39400400002)(39860400002)(39410400002)(11905935001)(377454003)(40434004)(24454002)(8746002)(8676002)(189998001)(4001350100001)(81166006)(23746002)(5890100001)(50466002)(6916009)(229853002)(6666003)(2950100002)(50986999)(33646002)(54356999)(31686004)(76176999)(86362001)(31696002)(25786009)(2906002)(7736002)(305945005)(53546009)(66066001)(53936002)(47776003)(65806001)(5660300001)(6306002)(6116002)(110136004)(38730400002)(83506001)(3846002)(966004)(54906002)(6246003)(77096006)(6486002)(4326008)(36756003)(90366009)(42186005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR0802MB2305;H:[10.1.207.56];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;AM4PR0802MB2305;23:wKs+c0B2nfKd1/irvX0a3vhLXXei+5+eamA?= =?Windows-1252?Q?mlBle5kEpZxUhZFwYIEN0EJGq0gQaAE84Fjk6wR8mQHxodtcnSmgXfbm?= =?Windows-1252?Q?tdsXSZYVfBOQYkL4FZ188lI7zCb5zHrT0G7iiOGpZggxRCBDJIoPX9Md?= =?Windows-1252?Q?DKeFw8qQwFewK8iUVngbLyukUMgM4vPUIAKNzfbbq7lzVFfKmnZNDqBX?= =?Windows-1252?Q?LQOsJzzZdOe5uf8t0W2q5LSWqudqyJIEx2A0suazhA+B6a+qsi7Hsj8w?= =?Windows-1252?Q?HeXz987cC55tDbUAPxxO6Et3yPhmSVXyWM6qB1LVt9MoKxwsdJi2eY67?= =?Windows-1252?Q?HDT1SS9eR/pyoCcYyOIgXZETld23KO/xZajXwEjj0CYaTXRrJAK0KYcN?= =?Windows-1252?Q?mnP6+z56jzsa9tsk+moR1EEV971Ih5E61C55+xVbyVCuQ/Pzg7Yemtvv?= =?Windows-1252?Q?wlyfPmNVYozpIG4Ivr6bqpKbq+04TntY4zNaVrx4HNVY5+88XX6zuPr9?= =?Windows-1252?Q?HBDMm5VXSlwph5wW8jr6V75dSBxkxGVMuNMi65Vm3t+EiioWl343MUG6?= =?Windows-1252?Q?QaxT8WEE5EaH/PcJSnU3fvxWkOGT29Wl01WojFMcOObvHIEj2K/lyLAl?= =?Windows-1252?Q?V9U3WN8NxInm2y6/CclMqTLhKG69sBDsKGPGgcV7CJL1tQ72o/Xzmj0n?= =?Windows-1252?Q?YaZravqY3C80ipXWj6RZ1/Y001zsCwaArjffe4ADvTkWYRhbHqfH6/bk?= =?Windows-1252?Q?BUH+dH1UjwS0TR1XVi2e3WohyyMpTnITg1ZUBA1rsImdHJ92yj79qR+8?= =?Windows-1252?Q?4ApdERp4XShwy+Z7BGQKkeSQ4Ef6CSZgHxYLhSE1oTl5tWst+SxjXn3T?= =?Windows-1252?Q?1dFKydzhcqGVSMYaJpE0+WUsNsjzq8K3s5ug6sVH0a/ZNOpFIPK3T0dN?= =?Windows-1252?Q?cJBtE0tw9skV2+BM5x+WJglJgejHbHX9pCvBV3V8M/4Rzgx7AOtyKWtN?= =?Windows-1252?Q?rmTyWCk+JSxuISmkhkQR7jG6/p8zfp5lCjgnqqTQD0HaI0AwQaVU3+wx?= =?Windows-1252?Q?S3biJP4pX7l3p8vmRmcrtsVNj509VAieCbTyjkYqEPFMN3Wmcdyzn6Ji?= =?Windows-1252?Q?Vbl68O8r9hwY9gsW/8+1naqrvmQK8JEyjN/N5ocZ6HXYiaIZJH1oRSBM?= =?Windows-1252?Q?vFfcx83a9UA8ansxn/yVAH+0IXJCuZyXLYB70re/zu+836pNJmILR6Gk?= =?Windows-1252?Q?hYoBexZIKFc5Vrpvt0xd66hMo+tm5UIN6Xo7glWg6XnA/+nW60uC/AlK?= =?Windows-1252?Q?BuuPqa594y3dcJirip5oHdVSOD2tcHk1ABhI5cEV7lswUHnKGFV3/hyK?= =?Windows-1252?Q?4YNa/9AULkD2+IMbqmUzVoYyKkZns9WCXyFu83lP5X1R8IM+0kucssVY?= =?Windows-1252?Q?z3BdJnwA+47NYI22teCBl49Ziv8LU4UpxSNbnVorE8leoCScL+Mp7iT8?= =?Windows-1252?Q?beWOoV61YjQ2cOU6fCuAb9VZkUs2i?= X-Microsoft-Exchange-Diagnostics: 1;AM4PR0802MB2305;6:vw0Ln4wz4zZ+LuD/SqrDtdw3A3lE1214noLckz5tIao7P8T2BDdFpYZnDlcN+/M0aCXsKlGeYBSBLBOzeCktcrKEbk9r2vvIU5Mo7odIhQjXPgn9Oi9KbhCKaQfwoDRLewOgrPZ+Lkz9IwtCnP/xdH6OZmcqS5pS60XzIwYCvjvqeKiC+X0OLfD/QCfzNb3NiK8DRCfBB3+IwSvjbDYUVX1ubH5mt/olH20bLrALFnHVs2vPySOpf/aMhiHROxdD92qIpruZjgEfcziTApEpgxapl7qFweJXotzZqODLz4w5/vDFyGhM65sBTP5WE1BmesJN21Kq3WyV8mB/shd/PNpU4vz35cwfAVtlqojHyB+1Ze8138GakwUggQBtNXG8KKHIg63XVbqs32nGJxdEfaTZDR1+mOhsdd/KtC66DKOO4OEnRJu+4vbyreeI9JH25uWkWjaX3Ye8sW/YGIhKBZrIvv9q24pntBni9UFnBxQ=;5:qG3acmq/X0mXGW4jDoFzNgDVMWfptJLFiaYqGq7Jjn2EvBTv7zWWFsIPotnJt+AxSWAYqzOby78gd5esQ9/Q+T2CJizFigA88QypC419nX6u+ZlVi8EwYZBRvecCOUYxB2j8RU61wltyMc3Qi5Ai0w==;24:lb3jhsCGGmvJTGrK6dk9mpjm+nkW8aj7F0i+DSDDZNzI1eX/PpT5qptWObwUwt3J0KuDBPo+Orkaxc9fW8XtdQ/HY9Pw0IMnlaeR7NR1erY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM4PR0802MB2305;7:I3cEZNrJ0/ukqQeIY6QMXpmTFk++l8gBArzScM+olGV7nHaPE9FlemPxm9uc0s8i/nIQMzJsSkv5z1EEwZ6H4PkLWUQwUeLo9sjc4eQBzTQCT+6eRSpUkm/KOK2W/xILWK0DSfds/+vHVTMHjsymlwe1png7nPIo0qer+sFUvFwVlhbhtXVxNRWSBAa8uLD2Y+arg98u93W1j15H0Z5fxmqVZjm8Und01SaO/uxAkQMmoCrEDXvFHzUYczNGYviRvvaYZ1faTf9T5dcq5VoGDSu+iibbeGsklMzggjVzEcfZ1tBzCAmZljAd53D9wlOYFaI2wFE9KVrECktMbDFy6g== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2017 10:18:30.3578 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2305 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v3CAIiur026240 On 12/04/17 10:14, Will Deacon wrote: > Hi Jon, > > On Tue, Apr 11, 2017 at 03:12:57PM -0400, Jon Masters wrote: >> On 04/07/2017 12:02 PM, Will Deacon wrote: >> >>> Please pull these two arm64 fixes for -rc6. We've got a regression fix for >>> the signal raised when userspace makes an unsupported unaligned access and a >>> revert of the contiguous (hugepte) support for hugetlb, which has once again >>> been found to be broken. One day, maybe, we'll get it right. >> >> >> >>> - Revert broken support for the contiguous bit in hugetlb (again...) >> >> Quick aside: is this being worked on for 4.12? If not, should we ping >> Linaro and look to get some focus on this? It's right to disable this, >> but also painful to those wanting to work on various NFV use cases. > > I think Punit and Steve (CC'd) are working on this, but the issues run > beyond the lack of break-before-make. The core GUP code, for example, > doesn't even support hugeptes. There are also dormant issues with hugeptes > and swap/migration entries, which would hit if somebody flipped > CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION. Hell, even the pte_huge macro is > bogus if you're using contiguous ptes (granted, it's seldom used, but if > the above are fixed maybe it will be). Steve has a fix for the break-before-make[0]. I've posted some fixes for contiguous hugepages support in preparation for enabling memory failure handling[1] but as the changes touch multiple architectures, it may take some time to merge. I'll take a look at the GUP code next but no promises on a timeframe yet. Thanks, Punit [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/497027.html [1] https://lwn.net/Articles/718974/ IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. From mboxrd@z Thu Jan 1 00:00:00 1970 From: punit.agrawal@arm.com (Punit Agrawal) Date: Wed, 12 Apr 2017 11:18:21 +0100 Subject: [GIT PULL] arm64: fixes for -rc6 In-Reply-To: <20170412091445.GB27097@arm.com> References: <20170407160239.GS19342@arm.com> <3b32cfd3-7675-005b-a737-58a8677f65ac@redhat.com> <20170412091445.GB27097@arm.com> Message-ID: <92306b33-f41e-476a-2ba4-f41da0dc6576@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/04/17 10:14, Will Deacon wrote: > Hi Jon, > > On Tue, Apr 11, 2017 at 03:12:57PM -0400, Jon Masters wrote: >> On 04/07/2017 12:02 PM, Will Deacon wrote: >> >>> Please pull these two arm64 fixes for -rc6. We've got a regression fix for >>> the signal raised when userspace makes an unsupported unaligned access and a >>> revert of the contiguous (hugepte) support for hugetlb, which has once again >>> been found to be broken. One day, maybe, we'll get it right. >> >> >> >>> - Revert broken support for the contiguous bit in hugetlb (again...) >> >> Quick aside: is this being worked on for 4.12? If not, should we ping >> Linaro and look to get some focus on this? It's right to disable this, >> but also painful to those wanting to work on various NFV use cases. > > I think Punit and Steve (CC'd) are working on this, but the issues run > beyond the lack of break-before-make. The core GUP code, for example, > doesn't even support hugeptes. There are also dormant issues with hugeptes > and swap/migration entries, which would hit if somebody flipped > CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION. Hell, even the pte_huge macro is > bogus if you're using contiguous ptes (granted, it's seldom used, but if > the above are fixed maybe it will be). Steve has a fix for the break-before-make[0]. I've posted some fixes for contiguous hugepages support in preparation for enabling memory failure handling[1] but as the changes touch multiple architectures, it may take some time to merge. I'll take a look at the GUP code next but no promises on a timeframe yet. Thanks, Punit [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/497027.html [1] https://lwn.net/Articles/718974/ IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.