Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757202AbbLBAZl (ORCPT ); Tue, 1 Dec 2015 19:25:41 -0500 Received: from mail-bn1on0088.outbound.protection.outlook.com ([157.56.110.88]:50705 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932229AbbLBAZZ (ORCPT ); Tue, 1 Dec 2015 19:25:25 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Date: Wed, 2 Dec 2015 03:24:30 +0300 From: Yury Norov To: Arnd Bergmann CC: Andreas Schwab , , , , , , , , , , , , , , , , Subject: Re: [PATCH v6 14/19] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it Message-ID: <20151202002430.GB23156@yury-N73SV> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> <2776283.xtmDQm6BqS@wuerfel> <87zixue8lj.fsf@igel.home> <1608639.5Yic1PH469@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1608639.5Yic1PH469@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.120] X-ClientProxiedBy: AM2PR03CA0011.eurprd03.prod.outlook.com (25.160.207.21) To DM2PR07MB623.namprd07.prod.outlook.com (10.141.177.148) X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB623;2:b3aqcO9C08RpH39JZH1u8exd78QkmH7qkeSnh/hU9vSYEWeUBThok+owVBUksOa3hvnBhWCi7vUfMe6QyT1OjCuYLvQOUxAxBuSzKOLy/V7Mnt9VmbBnZWPvZ2DiNsRSO6P7dacWwiQcyM9AMtWtxA==;3:LUPqboCzbRx5GtFqJ+HyyAelmZxoOwTn2SmhL5jQNjnomj5UTLWaDVQKAqeZS+U7X+BKpgrTIjdzZChB2xvIm3/FfgjJgj3URLr2hFv5te66E0M9gI0E6jW9y6kXDOlh;25:tevy6qHIiN/Ppzkx1RBdy+TEMBa+HgZXIXAn9Jy3810gO/RWX19/4MrO2gSTgiMW63N+5lUIPuGY1vXMu0UJPKHxfOFUNaM1F5wZ4CRnBZD672h2kMrQx7OXyOu5w3tpiBnuAl2htssbEOnRfxCZiITubOPvbzgzDCtoauwE8YL2JRd7BMu3VGxhJRa6PpIs/TSXHRuFb5/Od29B/SPSnAoYm1jEVOf4L6hsnB0xgKGu0IRqh9nHTGD/EnsrdvpwXYZet/vyo7GeG/U4gR7/vQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB623; X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB623;20:G4XRW2+WEG5oAn9sOqxY7VBDU6DHkmtVMR/23Z7zQAPxwwcbUW5X4TDgg8fPGaFk07sqfYOw4Mgw9C8vGO3bl+lBdtQXKqra0ZlriUlFJn2IKsXOZOImb7tev69jise1BZ9sNziwkd58htBlpG9g2kJmZePdOFh4odNnadocSg9mu/BB8DindIXoV8p2QodNXvWj686XbBRO5+gj7OCd4RJzjWTdnfBaR1JEb0r5D/2k4sJlOtE6Mr+GWu3xRcuIBa+dFiDp4UCv25XHFxLfzdykxrFLkK9h3yGBinfw+lGdYIc68HfVexdYx5uf+c6UC4cZ3+wKOE1tDG86VboaC8vZuGAXlyZr+Tjk9u0stjl8yrUu2b+OQxYTU1sgmoWhisLnfZs/N3f6cieUmX0fbyZaF/c8mOLYIGOezEYSZVfc7gTpnx9rUdOMXT86bZOFXjW5mnjFBO4dL4Bkt3v3KmpQe/CTYPcghdopfc4s8AQ6YlM1L0zC84Eh+xLPt1qKZ/OYQp5OJpNnGWfmoeLGyDqBRZwr7pWunBCLOQ2gwEpSkKnQ7TveiXxDdw8Xk/OTnUMUxaSORugzDUX9Zg0EOxJYvDWi++VL/aJagu4p8x0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001);SRVR:DM2PR07MB623;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB623; X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB623;4:ketpzrmzurvg+kTfxqGugv9mQ3pbfAaglFXiTBd7rEQwlV6LtYbo8dML+JOBkN1XrQe3yrCN0tDhMBSpFf5mnZBm3P6Yjd3M0TlJATZ1RqXFnJR4DQVODdQv/IWkmXHlt8XeP3bOsQ0oMlPljfIQ6CKjiAhNqcZX2wxzGtVMBXaMejuV+jS1i71FDVbqys2JQnPTQ6H+xxoxRBQtvs+KmxQWs7oAOh70lSGDWtvZrvk9skmqZuuqlVLzbBa6/6Wafok3LOmmDCLgntmVllhXCyRRw1Sypcepns0wHH77JgzWkp6acyKeEJO1utMLgOIPPBVuXVrpvL4O6t7tuANlGDp987VhIcodUqxit4IEb5sMuWpZY4xo1VMqrUE8QqYrY8dvIV9XVrKMmBm+pqxnIGFwROlTCT0FjTBoHTXCzd7jVzC2GP0zkUC8jFYMn0Ed X-Forefront-PRVS: 077884B8B5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6069001)(199003)(24454002)(189002)(77096005)(23726003)(110136002)(87976001)(46406003)(189998001)(40100003)(76176999)(50986999)(1096002)(586003)(4001350100001)(5004730100002)(1076002)(6116002)(122386002)(3846002)(19580395003)(5001960100002)(92566002)(33656002)(33716001)(93886004)(47776003)(97756001)(83506001)(81156007)(54356999)(76506005)(106356001)(66066001)(19580405001)(97736004)(50466002)(5008740100001)(101416001)(105586002)(42186005)(2950100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR07MB623;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR07MB623;23:FEqJwf2OuWTBQI6ZcvdXYaGtWe7Q4fNS1sZ7jLwx2W?= =?us-ascii?Q?BOfZFh+TzSyIzYkAMn2Js51BinKF7RDBRbnjnDdaagwC6b6mwjHCsEeOIjlI?= =?us-ascii?Q?S4gC/TuL1fw1VndsdslIA/GhwrsTiaNlMghrs2E45kfWvi+2U60tdR4OPfrL?= =?us-ascii?Q?i1CGKGNLe10BajaYHL0079mriQm+Xg0UZjSYBWbzsKE5wPMZpdcvYZQnHiuC?= =?us-ascii?Q?K32R/BtVOzs28nE4OXCemx2q5CbjkfytqB7fW6p1CQDRk31Qi/rnLavCiRvi?= =?us-ascii?Q?56xO/AMQMjIrFU31OOu+sv2nQph+xdx/HauoMAO/w5eatw3GWHaaDuskom01?= =?us-ascii?Q?DTYuFsU+U7rC7bd1w248LD44ctDi3MBIHNqeEoFCLt32EqjAsQWSd1+XpzS+?= =?us-ascii?Q?PLRB31lOxRJRZTWSPfgm7KlApuipE6N/6dHD/a+2rhyxZ6kHCzyJNHVROMYn?= =?us-ascii?Q?x2DunSh44XOQENf1IkdixWU6NN30PG21G0VpCH5Xf+/V733zlJa1YrKvn8B6?= =?us-ascii?Q?qMZNv4HjPzdXH5nAaDZBlfleWMXDg+e+o69NPO5AdxPd50i9DOIfRd7yIRDw?= =?us-ascii?Q?5r6bnJ/rvNnZdR9s340ZIA3Zt5jdj24JQPIsmnY4V4K1vtacJDzlXOIXPu8n?= =?us-ascii?Q?14nI1b/PSR6TrCnkCO7Jq99zdm170TTkhgBbbYyf9KhcZrQNNW/CHYYNfChr?= =?us-ascii?Q?DHQJUbnF5eLOSpFMtk966sVnlM9xqLSey/P+Uyfbf/lxnTat2xXXeQnd3vRw?= =?us-ascii?Q?9YIXciSlTELwHLar9EHRGbxUFHmnfGhrrOLNFg602edF33YUJ0llj3odga/R?= =?us-ascii?Q?fs9cTMBAoPFnygb+3/nKW/zSfIoKK/Z4lIVPn+xDOE0bjRQyjDySro19ANg2?= =?us-ascii?Q?StbGLFNDjHSqflgyu/jtAt0tXXx1lou5vpHYFE6BAyR1mQ04Y4E81YteEDwV?= =?us-ascii?Q?JrpxSG7b3GPNNevGCQazeriJidaZrjiXexKm7rd67JTCnAGyOjg4d3TtZ6b9?= =?us-ascii?Q?X+8xE7MHf5+l69QfAkbgfJRlKQ5SXvzZaE0NDetmN1G6qw6YqvnfDs7Ml1lK?= =?us-ascii?Q?puJTdFZGKV4QiWATXNBfTD2gY8U+78rMQYYDHkGuhAIN3L8LaqY8rJgOcojH?= =?us-ascii?Q?ldBvIufjdak2mJxihdTSXPoNVF2xHe?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB623;5:Nix+KAX2qYI6HBD+NoIXGcMZdN/bXmm+vf4wTdZwcb50027xiQo1ircTM8182HfTsQZMmqvKj/XNPuGOjbuA5qrPydTsDfBs0jiaeuRa1DQV7S4/QbT4dVFrryR53rgtadWc+cP2EG+reamTfKRUMQ==;24:PPokB6+53XPD6aGw9l+obsAM8O4Mw6/VOrilhvDRwwH4MMYaugh3YL1OhvzHxjUemUwpeCOBbZ9hmEz0OnBxBEEW6B+JLF80LaEpRdBy/jM= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2015 00:25:22.3171 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB623 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1462 Lines: 34 On Tue, Dec 01, 2015 at 12:30:56PM +0100, Arnd Bergmann wrote: > On Tuesday 01 December 2015 12:01:12 Andreas Schwab wrote: > > Arnd Bergmann writes: > > > > > On Tuesday 01 December 2015 10:20:59 Andreas Schwab wrote: > > >> Yury Norov writes: > > >> > > >> > There's a tricky bug with signal stack, that Andreas also discovered. > > >> > > >> That was only a confusion about the compat state of sys_rt_sigaction. > > >> It just requires making sure glibc uses the correct (64bit layout) > > >> struct kernel_sigaction. > > > > > > I don't think we need to use the 64-bit version of sigaction, both > > > kernel and libc are simpler if we use the normal 32-bit version. > > > > Since glibc has to do the conversion anyway (due to sigset_t), using the > > 64bit layout avoids a second conversion in the kernel. > > I don't get the part about sigset_t. Why would glibc want to use the > 64-bit layout? This one looks like one of the cases where we absolutely > want to use the 32-bit layout or otherwise get into big trouble if > we ever want to support native ILP32 kernels. > > Arnd So, we drop patch #6, and use 32-bit layout for all signal structures. Correct? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/