Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757840AbcCUTWU (ORCPT ); Mon, 21 Mar 2016 15:22:20 -0400 Received: from mail-bl2on0054.outbound.protection.outlook.com ([65.55.169.54]:56772 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757587AbcCUTWQ (ORCPT ); Mon, 21 Mar 2016 15:22:16 -0400 Authentication-Results: suse.de; dkim=none (message not signed) header.d=none;suse.de; dmarc=none action=none header.from=caviumnetworks.com; Date: Mon, 21 Mar 2016 21:40:12 +0300 From: Yury Norov To: Andreas Schwab CC: "Zhangjian (Bamvor)" , , , , , , , , , , , , , , , , Bamvor Zhang Jian Subject: Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64 Message-ID: <20160321184012.GA26563@yury-N73SV> References: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> <56AB3805.1040308@huawei.com> <20160129170929.GA3543@yury-N73SV> <56AC38F1.2030608@huawei.com> <20160218223506.GA7816@yury-N73SV> <20160225202855.GD16123@yury-N73SV> <56EBD84D.2060009@huawei.com> <20160318154918.GA1595@yury-N73SV> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: DB4PR01CA0043.eurprd01.prod.exchangelabs.com (10.242.152.33) To DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) X-MS-Office365-Filtering-Correlation-Id: dd1f7858-6641-4f04-bf83-08d351b84671 X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;2:I0Rl8zIduwjQ5YhO2iHmqBHlTdUXro+hdczoiaN/6JsrooJlCjWuxkq8gYwHlPbyrumxBo4aQ3OO1W/LHDSYoSqMZRbuXuWcLhQR0flAqkZznf0WJKP3m6ImfEm0p2e3eb3YOGL62c3h9hGDXjePG8IOab4xKeEJ/5E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uQ17VUTHP0Tb52Kn02RXoaSWTwXDdCgqLl/fksf3BIvZ0FoLdai3gTY4kdbRgDOWrsyTB1LvBK3e18acXFRm8eC+jImq4BGM6Z6LgzVIoTwbSualJT8TUV664k5R5Xf9vSsdWlg9nLUyH1RWghOpv1YX97qm7rQd1Q9pdXcWdiimcsjOTDSNuUUwyqvu1VAYwnwFqY75gqIWOKgaqFKnB4KJ6JuJYuc3IIThvURQ2RzSX5M+LqwXUKrm84FjrueycK74U1qRK7zQpq34OCIQ0lC4C/SjnuJoZe1H6i6SG/pQGXBUIDmhYh26b39QzYK5t1kzP1NTs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);SRVR:DM2PR07MB624;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;4:TyRAN9OuAU/uDrwFfszVPBcea/1uj4gUwtTVFW5Zu+enWxbStQJIAz5DMMLSdrdRGxO7ju/tExXN/LdDdo3clk7uZgg1UWJq7+2nxYJUOnC6rYyI00Hm8xQmJe0S/Mgn59REouzvoOD4EpDOSi+X7RSt/0z7d8YWFyO9JuNEGVPQ7fu9o0TjIVNlGcqiVYv6/p7g+3YuaNh4+L+ViG/rX7/hdecwub9Aj/RAqXN2WLQrspUZDdDxeE9t78+RYtW2JMDhkU7k7MP/CbQUYH33CC2+gQ8bxfvaIAy44WOHse7QNkYmMl/ye3GCsVjvmCMwaY+gubHXZCp02ihU/zNLMjvHkwGOZUWjZ0xn1aerpQuJtdeMwAWeHKabJ4PSWnuB X-Forefront-PRVS: 0888B1D284 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(24454002)(42186005)(3846002)(33716001)(5008740100001)(66066001)(6116002)(93886004)(47776003)(23726003)(189998001)(76506005)(81166005)(97756001)(1076002)(1096002)(2950100001)(345774005)(46406003)(77096005)(92566002)(4326007)(5004730100002)(586003)(2906002)(110136002)(19580395003)(19580405001)(4001350100001)(54356999)(76176999)(50466002)(50986999)(33656002)(83506001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR07MB624;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR07MB624;23:htXDOk+tu5KQzVHHQ+oOnUe4P4rLIx0CApC5azCC9a?= =?us-ascii?Q?ypot5w3VC60oLYrwM+Qe2wcwkwyJpzeEycvUwJf3b4YSplibZkE00H52wFVe?= =?us-ascii?Q?7Oh3ae735AwxpEJHkEiKy3uspsRQ9uNRX23I29ZOpwFcd871YyD0XeeJIKTZ?= =?us-ascii?Q?rDnInTUhh3icwwvl8oEDASR/IMz5sYPblqLrxFg9qItQKfhyJBd/zviaTtgV?= =?us-ascii?Q?2rsFNZgM9uKQAj4fsZWdF1WRVtVrH5x10RkvF2icg3sMg+/30UXuKOzBJHlu?= =?us-ascii?Q?RcW4TzDudmgw0xY+y/ffiGhlSCFwwK1SHVTkpaW7zGmuMqPW94pqvrz2qK+7?= =?us-ascii?Q?RTKs3JUDRVY4WmIUUue0TM/rncwiPmpCkFr5Tk3NJUglDoqxRVi9RRm/WNra?= =?us-ascii?Q?dKkRPz7ZXZaQeo6tGhkXdxdMgd6AxkEaPJQvvqWhUI1dVj1KPyFv0ydprCeH?= =?us-ascii?Q?BY6Di/9e+Pjsb4BJUSNvKs2w4HwouIq0I2RtGlQX1ZunJtk1H40zyoVNeEvM?= =?us-ascii?Q?Q7LhWdBtS4DtHsAZcMbfmcLXA3dgqPd5zz//G2nnSUs6Fy8NHJlPOFLrf+vw?= =?us-ascii?Q?cOrwbiNvyIgT+tKzVDz0Hh1SBIepUesk88yH0i5Fv0IY0bZVg4DYI2//ruRA?= =?us-ascii?Q?QNuuRJihTHhwIUK7jHEcOANYsq7WTKYn387AwQKxoe79OevCXak6tBCKMkIK?= =?us-ascii?Q?Bgs4vdInRD0G+a7aORCvLz2zYC8B+JfOjvGjHTaJLSb9kiSbURsdNIjqhrQg?= =?us-ascii?Q?laO1K+K13TA3cbVOaaGeGhtjkBYYzSCWqLTIzxdm+4rv4YaRLLUkyzcRgl3n?= =?us-ascii?Q?XgOFyqS6LsmFsIRg1DFXne+WxRsiNouhEAki3j8KcUNkH2NIwTdkEOWYGh13?= =?us-ascii?Q?7UDtyc/2B4Y7Uns3cEsGI2CkTxw/NnJFsVT/3gyu7UcbE7Bh+9INuagqrCtX?= =?us-ascii?Q?z7kYV8v9+d7k1pkTS0N2IjWmbL8ZLCHKkn46tISL8uEHdgHc9sCKd/Sf62mE?= =?us-ascii?Q?cMahEzYGCetdYg8trz+FlY?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR07MB624;5:AQi1A4vW6JzjOXHSH35IBRj+mC+N7PeCaTWCQA2D5Aqn/ofds7jIfQ6jNDkfrJEMQ986SFVh6T7HPuU7EUq3X3L+rPP7Rma3TFiszb+gDQcW1su7QW4rZ9POKGTrndUD+PgJCsZygzmRs1WmANI4Gg==;24:g5aakbrb9Hsg8BnDvGI0ij69D2YiFh5E6GTcQRTKbs66K0hI6alAoVfulSghjTDRxDvs5o8VCySX6weuDJI9oPeIlU0fjJ6FRCi4JNpC/Bc= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2016 18:40:28.3157 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB624 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2640 Lines: 77 On Mon, Mar 21, 2016 at 10:07:49AM +0100, Andreas Schwab wrote: > This patch may fix a few LTP tests. > > Andreas. > > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > index 3631903..d1010db 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > +++ b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > @@ -25,18 +25,29 @@ > #define __O_NOFOLLOW 0100000 > #define __O_DIRECT 0200000 > > -#define __O_LARGEFILE 0 > +#ifdef __ILP32__ > +# define __O_LARGEFILE 0400000 > +#else > +# define __O_LARGEFILE 0 > +#endif > > +#ifndef __ILP32__ > # define F_GETLK64 5 > # define F_SETLK64 6 > # define F_SETLKW64 7 > +#endif > > struct flock > { > short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ > short int l_whence; /* Where `l_start' is relative to (like `lseek'). */ > +#ifndef __USE_FILE_OFFSET64 > __off_t l_start; /* Offset where the lock begins. */ > __off_t l_len; /* Size of the locked area; zero means until EOF. */ > +#else > + __off64_t l_start; /* Offset where the lock begins. */ > + __off64_t l_len; /* Size of the locked area; zero means until EOF. */ > +#endif > __pid_t l_pid; /* Process holding the lock. */ > }; > > -- > 2.7.3 > > -- > Andreas Schwab, SUSE Labs, schwab@suse.de > GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 > "And now for something completely different." Hi Andreas, Thank you for your patch. It seems like it fixed a couple of tests. I applied it to the library branch. Current list of fails is like this: float_bessel FAIL 137 float_exp_log FAIL 137 float_iperb FAIL 137 float_power FAIL 137 float_trigo FAIL 137 pipeio_3 FAIL 5 abort01 FAIL 2 clone02 FAIL 4 kill10 FAIL 2 kill11 FAIL 2 mmap16 FAIL 6 nftw01 FAIL 1 nftw6401 FAIL 1 open12 FAIL 2 pathconf01 FAIL 1 profil01 FAIL 1 rename11 FAIL 2 rmdir02 FAIL 2 umount2_01 FAIL 2 umount2_02 FAIL 2 umount2_03 FAIL 2 utime06 FAIL 2 mtest06 FAIL 11 Yury.