Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752362AbdFNUQd (ORCPT ); Wed, 14 Jun 2017 16:16:33 -0400 Received: from mail-co1nam03on0057.outbound.protection.outlook.com ([104.47.40.57]:13440 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751664AbdFNUQ3 (ORCPT ); Wed, 14 Jun 2017 16:16:29 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Wed, 14 Jun 2017 23:16:11 +0300 From: Yury Norov To: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann Cc: Andrew Pinski , Andrew Pinski , Adam Borowski , Chris Metcalf , Steve Ellcey , Maxim Kuvyrkov , Ramana Radhakrishnan , Florian Weimer , Bamvor Zhangjian , Andreas Schwab , Chris Metcalf , Heiko Carstens , schwidefsky@de.ibm.com, broonie@kernel.org, Joseph Myers , christoph.muellner@theobroma-systems.com, szabolcs.nagy@arm.com, klimov.linux@gmail.com, Nathan_Lynch@mentor.com, agraf@suse.de, Prasun.Kapoor@caviumnetworks.com, geert@linux-m68k.org, philipp.tomsich@theobroma-systems.com, manuel.montezelo@gmail.com, linyongting@huawei.com, davem@davemloft.net, zhouchengming1@huawei.com Subject: Re: your mail Message-ID: <20170614201611.skc6k26nmnc254vw@yury-thinkpad> References: <20170604120009.342-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170604120009.342-1-ynorov@caviumnetworks.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [176.59.11.122] X-ClientProxiedBy: HE1PR0802CA0023.eurprd08.prod.outlook.com (10.172.123.161) To BLUPR0701MB1859.namprd07.prod.outlook.com (10.162.88.145) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1859: X-MS-Office365-Filtering-Correlation-Id: 5b8d7b1d-8796-4839-91f9-08d4b3623afc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BLUPR0701MB1859; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1859;3:kpo2+5uLsrWk1oDwmbxD7X/SKKHVcpDI6CAsymzY8Hv/F9F4Oa763xVvu28wGqj54peeJhe1w8TmHyFoJgZBgv8/eMNEyu6jpJdkp1S0v8GgQU1z8Dwb/kzMx/m5p1gwQYeOUEc487y2AkGMoDkXAZ8IhiRoDf/38arZSLe0NgKJ/kfzc2l9ozXEOnVSZsLB36UbLITFGiaFWj2JbKIyjHNR58LJRLi67FqSFFC34pEr/iRun4gQHaV6lftuIW5icnHfxVmdIsX4ObFlGNYFw3Q/HiBSYY103hhwAWQa2f3y/QSIEhfxnJBU4wQ6tBenLq6N5wD0zOYXZEONW+fQyQ==;25:Qj40Vq3oBt9vCX2GKf7FmXyChbZcgcC0gv7jCi8U6MFfIJiPxmGrtj2b+iJyesvO0yTIGAwG1TmrYC87GSOXyXwP05tK6N6XwM3dnQd9sw9dD1ORvJRDEZIJ2eHJhPp6nen0Lzbe4Unrq2E8EqxRKQc7+1fJedQno0wx7gfVkSLsu8PKyapipGMqwf4ruDpvlCcHLJM2FYPkGLl8xJI2/b/RFC422RlQEZbgrx1D03r3/4P6z52Gz+jPHCCnDbSEsOUPfHINkKqb1bKt+sFDOblJa+M+HePhDhL39bAIDWaKKYzosGLMnvmtgpj8gyOU6jRegeLAbGCBlRooGX8LRIgXJfShMM4JDfyCB/PanMqDOSWvB4KM7LpxUzj3HOcZFDZBrHDEJLPYYOzh3gImwbeTdr9vUXzwm+5srna6kAxUqK7vELcmyh1nKbBhWs+7+tk1eYjCMRs3RY3/JT7R5c0sLaWvoeGgF2HYvkM+54Y= X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1859;31:/cZ6biott7G7kDcX4ErPW9A75mBDiAPB/00/iJn+w24hJxft/09zLRRXGm2/oRoPxSroteRPKLpbGgvEDRZYZ7CPAO3VvFS1BPpnEQVKGYzH3w+/KqG43fjVjAerN03WktaFb2xooPz6tUFqEX9POh8gy1fYzt8IlDhuyJr2y0zb/iAT9lBM/zUQnxEqH8+4+LwhbhcqtLvaYLnJlxTj/x7XTd7Y7gtGnCu97KWZebE=;20:C5tz+Ge+4WczJQ3hM+H1z4DQf8xu1KXSV2bvM2rMoqF3YsaiAMvq+oXaZNTJtYBFE66Etk/1PgWoe77z9iCf0+Yf8U05Z9+ZKCrCaWg7bw8MxHYDMEIz1XP2oAGMSec0hbMjjhz7lcn0IE4NwqNd1nmFQUlcbC6bYq+XLA6bdOi3PZnuU9/Zzb/P/Xe1mAS3PmJVi9OWVwt1uoWJP0o0CuVgAalJTAuHLfH6yOLdWBAC1zJr2M4EosKfz8DtUn7If/QOs1U4ZiDVpkkC+SlK6MycrhCiI4jtnX+49G/beDYujULpUEzZpLhE74+GgSxCv+Xeiot1GF49IP7K8TpU6ufLJrk57l8+M07ZPmzQhRqRd81mQ3D8zoNtEO+Hj2jlQy3JJy0F2hy/ecEB5B/q3wa3hTe+vxj2fFBhsfSWv1GUvfbYYWzkhRUMW2HiOm/puMn4OdW2lgoexEJQ1WDpvi2d/GhiS5+EqJ9Dn2zWdHWLYBJ/2I6qxiQi/FhuY9UMC9IihwWaNfgSX8h43qjiDlX5eA3jZ3zU6qM6MfUSrmtCYdGnWEWs+ZPzrz2G7tvUBJ+baXdERpda439xgcDOgk1UjxFgVRPdlhM1HdNW/VE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(258649278758335); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(6041248)(20161123555025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BLUPR0701MB1859;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BLUPR0701MB1859; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjE4NTk7NDpTdS8wamh1eHVEWHFOaEdiSnhlKzhmU2hy?= =?utf-8?B?UEtwZWxzNUR6NjhVR3g3MHk4TjZlMjhtdHU4bE9qaEh6a2dlOXMwdTRHbTJl?= =?utf-8?B?c0dpK2hINWhoN0tHc0xhTUlNZ1U1NHcyc04rUnBUbGtZeWpVcCsvT3hRSlFa?= =?utf-8?B?K2xNcjc4cmE3WWRwUVM5aExZSDJUYndCa3JwUXBxT29VS0VNZWFHWHFWcGsw?= =?utf-8?B?aGRuSGRYUVlHRi9lN2VhQnFZN0dpM0djQk4rYU14K09DczFrM0hKNS9xUDVZ?= =?utf-8?B?L2VWMVk5ZGFsOFdteXhZVVZoTzgyU1l2djIvRU9jeldDZWsyNzVEM0g3aVY3?= =?utf-8?B?M2R2QUdQUW1GZHZVUHNxa2w5YWxvWmpXdStMajF4bU9PTnhNSGZxenNOMWlV?= =?utf-8?B?OTkrN01SbHNzb2xjRVZTbXZxU1BQaFVkYk9sekxwU0JYbkxCbUxmSTF2anY5?= =?utf-8?B?OTV2Q3lia3hFZVQzVG9nTkhTeEVuYzQ3Y3duNzdXUXduUUwzNmZQZXh1VUJQ?= =?utf-8?B?NnpUZmxoSnJpRzNvdGppS1RleC9jU1hRdXNHRVFjZHp6QittQWdPNGhDSzJP?= =?utf-8?B?aWh0QW9BYitmU1pRcndYQ1ZLTHBnOTFFd2lXY3JCclUwYlNvTm4vNWR6d2dI?= =?utf-8?B?eFBpcG5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?MXZwYm1UaExrSVc3Njg4MC9uc1UxazdLYldsUzZ4cUZYUmlqWEgvNk1zeTZP?= =?utf-8?Q?SxV+HN242PRtB++hYyQft?= X-Forefront-PRVS: 033857D0BD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39410400002)(39400400002)(39840400002)(39450400003)(51744003)(24454002)(25786009)(345774005)(38730400002)(42186005)(6486002)(1076002)(4326008)(6306002)(9686003)(23676002)(53936002)(47776003)(42882006)(189998001)(6246003)(3480700004)(6666003)(50986999)(305945005)(2950100002)(76506005)(54356999)(76176999)(6496005)(7736002)(4001350100001)(66066001)(83506001)(50466002)(72206003)(5660300001)(7116003)(478600001)(229853002)(33716001)(7416002)(33646002)(221733001)(81166006)(3846002)(2906002)(8676002)(966005)(6116002)(2870700001)(111123002);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0701MB1859;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjE4NTk7MjM6ZUVuMzR5QjEwcnB2dm5sK05lRk5pZFU4?= =?utf-8?B?eUp3eGZ2cGFxVnRKL3hPT29lU296Y3NiK0UrM3ZIc041VjdsVWhUdWYxdVkx?= =?utf-8?B?MHlVQ3g3TFl2bng5Y2VBNW1ZNllKa2xHU3pscThMNjJsK0JCRGZTc0s0RVQ0?= =?utf-8?B?MGNiSUtUMEszdXFqZ2lBWXlNZVhhMzgyeXNhMUFkbk11dXlCellzUTV6c2dQ?= =?utf-8?B?SU5ZaDVhaXRDZUdvTEtpM2t3dzBJZ3hiVmtjelVRV0VPVUhSRlkvM0IvVUtq?= =?utf-8?B?TXg3NnRrSkY0YU1OcEdzM0R1RU95SFdTNXliNEVuOW9zYzlqbnBJSEdUcERu?= =?utf-8?B?UUJmYmVoU1g1QWVwbk9NdWlTa3JiZGg3YjUxZVA1THVlcXpoWTRaY09DMUU1?= =?utf-8?B?UXBtU1dCN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iN1+Nhz27tubL/PahGh9O3LmgG4jo+52kMD1Z4qgnB2B6pQ60lUe7io6T68kfBN4MPfbClU5PsA9oEc0JOCNs2ykhAJSgzOJLp6kybZwmvi10bJevKeag== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2017 20:16:23.8706 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1859 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11191 Lines: 229 Hi Catalin, all. Thank you for your time on reviewing the series. I really appreciate it. This is the updated version where I tried to address all comments: https://github.com/norov/linux/commits/ilp32-20170613.4 (3 last patches here is the Andrew Pinski's rework of vdso rebased on ilp32 series) If nothing will come here on review, I'll send v8 at the beginning of the next week. Is this plan OK? And this is the backport on the v4.11 kernel: https://github.com/norov/linux/commits/ilp32-4.11.4 Yury On Sun, Jun 04, 2017 at 02:59:49PM +0300, Yury Norov wrote: > Subject: [PATCH v7 resend 2 00/20] ILP32 for ARM64 > > Hi Catalin, > > Here is a rebase of latest kernel patchset against next-20170602. There's almost > no changes, but there are some conflicts that are not trivial, and I'd like to > refresh the submission therefore. > > How are your experiments with testing and benchmarking of ILP32 are going? In > my current tests I see 0 failures on LTP. Benchmarking on SPEC CPU2006 and > LMBench shows no difference for LP64 and expected performance boost for ILP32 > (compared to LP64 results). > > Steve Ellcey is handling upstream submission of Glibc patches. The patches are > ready and have been reviewed and reworked per community’s comments. There are > no outstanding userspace ABI issues from Glibc. Glibc submission is now waiting > on ILP32 kernel submission. > > Catalin, regarding rootfs, is OpenSuSe’s build sufficient for your experiments? > I’ve also seen Wookey merging patches for ILP32 triplet to binutils and pushing > them to Debian. > > One last thing I wanted to check with you about is ILP32 PCS - does, in your > view, ARM Ltd. needs to publish any additional docs for ABI to become official? > > Below is the regular description. > > Thanks. > Yury > > -------- > > This series enables aarch64 with ilp32 mode. > > As supporting work, it introduces ARCH_32BIT_OFF_T configuration > option that is enabled for existing 32-bit architectures but disabled > for new arches (so 64-bit off_t is is used by new userspace). Also it > deprecates getrlimit and setrlimit syscalls prior to prlimit64. > > This version is based on linux-next from 2017-03-01. It works with > glibc-2.25, and tested with LTP, glibc testsuite, trinity, lmbench, > CPUSpec. > > Patches 1, 2, 3 and 8 are general, and may be applied separately. > > This is the rebase of v7 - still no major changes has been made. > > Kernel and GLIBC trees: > https://github.com/norov/linux/tree/ilp32-20170602 > https://github.com/norov/glibc/tree/dev9 > > (GLIBC patches are managed by Steve Ellcey, so my tree is only for > reference.) > > Changes: > v3: https://lkml.org/lkml/2014/9/3/704 > v4: https://lkml.org/lkml/2015/4/13/691 > v5: https://lkml.org/lkml/2015/9/29/911 > v6: https://lkml.org/lkml/2016/5/23/661 > v7: RFC nowrap: https://lkml.org/lkml/2016/6/17/990 > v7: RFC2 nowrap: https://lkml.org/lkml/2016/8/17/245 > v7: RFC3 nowrap: https://lkml.org/lkml/2016/10/21/883 > v7: https://lkml.org/lkml/2017/1/9/213 > v7: Resend: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-March/490801.html > v7: Resend 2: > - vdso-ilp32 Makefile synced with lp64 Makefile (patch 19); > - rebased on next-20170602. > > Andrew Pinski (6): > arm64: rename COMPAT to AARCH32_EL0 in Kconfig > arm64: ensure the kernel is compiled for LP64 > arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 > arm64: ilp32: add sys_ilp32.c and a separate table (in entry.S) to use > it > arm64: ilp32: introduce ilp32-specific handlers for sigframe and > ucontext > arm64:ilp32: add ARM64_ILP32 to Kconfig > > Philipp Tomsich (1): > arm64:ilp32: add vdso-ilp32 and use for signal return > > Yury Norov (13): > compat ABI: use non-compat openat and open_by_handle_at variants > 32-bit ABI: introduce ARCH_32BIT_OFF_T config option > asm-generic: Drop getrlimit and setrlimit syscalls from default list > arm64: ilp32: add documentation on the ILP32 ABI for ARM64 > thread: move thread bits accessors to separated file > arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat) > arm64: ilp32: add is_ilp32_compat_{task,thread} and TIF_32BIT_AARCH64 > arm64: introduce binfmt_elf32.c > arm64: ilp32: introduce binfmt_ilp32.c > arm64: ilp32: share aarch32 syscall handlers > arm64: signal: share lp64 signal routines to ilp32 > arm64: signal32: move ilp32 and aarch32 common code to separated file > arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32 > > Documentation/arm64/ilp32.txt | 45 +++++++ > arch/Kconfig | 4 + > arch/arc/Kconfig | 1 + > arch/arc/include/uapi/asm/unistd.h | 1 + > arch/arm/Kconfig | 1 + > arch/arm64/Kconfig | 19 ++- > arch/arm64/Makefile | 8 ++ > arch/arm64/include/asm/compat.h | 19 +-- > arch/arm64/include/asm/elf.h | 37 ++---- > arch/arm64/include/asm/fpsimd.h | 2 +- > arch/arm64/include/asm/ftrace.h | 2 +- > arch/arm64/include/asm/hwcap.h | 6 +- > arch/arm64/include/asm/is_compat.h | 90 ++++++++++++++ > arch/arm64/include/asm/memory.h | 5 +- > arch/arm64/include/asm/processor.h | 11 +- > arch/arm64/include/asm/ptrace.h | 2 +- > arch/arm64/include/asm/seccomp.h | 2 +- > arch/arm64/include/asm/signal32.h | 9 +- > arch/arm64/include/asm/signal32_common.h | 27 ++++ > arch/arm64/include/asm/signal_common.h | 33 +++++ > arch/arm64/include/asm/signal_ilp32.h | 38 ++++++ > arch/arm64/include/asm/syscall.h | 2 +- > arch/arm64/include/asm/thread_info.h | 4 +- > arch/arm64/include/asm/unistd.h | 6 +- > arch/arm64/include/asm/vdso.h | 6 + > arch/arm64/include/uapi/asm/bitsperlong.h | 9 +- > arch/arm64/include/uapi/asm/unistd.h | 13 ++ > arch/arm64/kernel/Makefile | 8 +- > arch/arm64/kernel/asm-offsets.c | 9 +- > arch/arm64/kernel/binfmt_elf32.c | 38 ++++++ > arch/arm64/kernel/binfmt_ilp32.c | 85 +++++++++++++ > arch/arm64/kernel/cpufeature.c | 8 +- > arch/arm64/kernel/cpuinfo.c | 20 +-- > arch/arm64/kernel/entry.S | 34 +++++- > arch/arm64/kernel/entry32.S | 80 ------------ > arch/arm64/kernel/entry32_common.S | 107 ++++++++++++++++ > arch/arm64/kernel/entry_ilp32.S | 22 ++++ > arch/arm64/kernel/head.S | 2 +- > arch/arm64/kernel/hw_breakpoint.c | 8 +- > arch/arm64/kernel/perf_regs.c | 2 +- > arch/arm64/kernel/process.c | 7 +- > arch/arm64/kernel/ptrace.c | 80 ++++++++++-- > arch/arm64/kernel/signal.c | 102 ++++++++++------ > arch/arm64/kernel/signal32.c | 107 ---------------- > arch/arm64/kernel/signal32_common.c | 135 ++++++++++++++++++++ > arch/arm64/kernel/signal_ilp32.c | 170 ++++++++++++++++++++++++++ > arch/arm64/kernel/sys_ilp32.c | 100 +++++++++++++++ > arch/arm64/kernel/traps.c | 5 +- > arch/arm64/kernel/vdso-ilp32/.gitignore | 2 + > arch/arm64/kernel/vdso-ilp32/Makefile | 80 ++++++++++++ > arch/arm64/kernel/vdso-ilp32/vdso-ilp32.S | 33 +++++ > arch/arm64/kernel/vdso-ilp32/vdso-ilp32.lds.S | 95 ++++++++++++++ > arch/arm64/kernel/vdso.c | 69 +++++++++-- > arch/arm64/kernel/vdso/gettimeofday.S | 20 ++- > arch/arm64/kernel/vdso/vdso.S | 6 +- > arch/blackfin/Kconfig | 1 + > arch/c6x/include/uapi/asm/unistd.h | 1 + > arch/cris/Kconfig | 1 + > arch/frv/Kconfig | 1 + > arch/h8300/Kconfig | 1 + > arch/h8300/include/uapi/asm/unistd.h | 1 + > arch/hexagon/Kconfig | 1 + > arch/hexagon/include/uapi/asm/unistd.h | 1 + > arch/m32r/Kconfig | 1 + > arch/m68k/Kconfig | 1 + > arch/metag/Kconfig | 1 + > arch/metag/include/uapi/asm/unistd.h | 1 + > arch/microblaze/Kconfig | 1 + > arch/mips/Kconfig | 1 + > arch/mn10300/Kconfig | 1 + > arch/nios2/Kconfig | 1 + > arch/nios2/include/uapi/asm/unistd.h | 1 + > arch/openrisc/Kconfig | 1 + > arch/openrisc/include/uapi/asm/unistd.h | 1 + > arch/parisc/Kconfig | 1 + > arch/powerpc/Kconfig | 1 + > arch/score/Kconfig | 1 + > arch/score/include/uapi/asm/unistd.h | 1 + > arch/sh/Kconfig | 1 + > arch/sparc/Kconfig | 1 + > arch/tile/Kconfig | 1 + > arch/tile/include/uapi/asm/unistd.h | 1 + > arch/tile/kernel/compat.c | 3 + > arch/unicore32/Kconfig | 1 + > arch/unicore32/include/uapi/asm/unistd.h | 1 + > arch/x86/Kconfig | 1 + > arch/x86/um/Kconfig | 1 + > arch/xtensa/Kconfig | 1 + > drivers/clocksource/arm_arch_timer.c | 2 +- > include/linux/fcntl.h | 2 +- > include/linux/thread_bits.h | 63 ++++++++++ > include/linux/thread_info.h | 66 ++-------- > include/uapi/asm-generic/unistd.h | 10 +- > 93 files changed, 1601 insertions(+), 413 deletions(-) > create mode 100644 Documentation/arm64/ilp32.txt > create mode 100644 arch/arm64/include/asm/is_compat.h > create mode 100644 arch/arm64/include/asm/signal32_common.h > create mode 100644 arch/arm64/include/asm/signal_common.h > create mode 100644 arch/arm64/include/asm/signal_ilp32.h > create mode 100644 arch/arm64/kernel/binfmt_elf32.c > create mode 100644 arch/arm64/kernel/binfmt_ilp32.c > create mode 100644 arch/arm64/kernel/entry32_common.S > create mode 100644 arch/arm64/kernel/entry_ilp32.S > create mode 100644 arch/arm64/kernel/signal32_common.c > create mode 100644 arch/arm64/kernel/signal_ilp32.c > create mode 100644 arch/arm64/kernel/sys_ilp32.c > create mode 100644 arch/arm64/kernel/vdso-ilp32/.gitignore > create mode 100644 arch/arm64/kernel/vdso-ilp32/Makefile > create mode 100644 arch/arm64/kernel/vdso-ilp32/vdso-ilp32.S > create mode 100644 arch/arm64/kernel/vdso-ilp32/vdso-ilp32.lds.S > create mode 100644 include/linux/thread_bits.h > > -- > 2.11.0