Message ID | 20170604120009.342-5-ynorov@caviumnetworks.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp494507qgd; Sun, 4 Jun 2017 05:01:54 -0700 (PDT) X-Received: by 10.84.213.129 with SMTP id g1mr6576821pli.202.1496577714687; Sun, 04 Jun 2017 05:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496577714; cv=none; d=google.com; s=arc-20160816; b=lskcw08jxwkkILNl92/rBRkKrgX8lSBL26H3hEOvajuOQs1HONfM6Zx/yry+GYOocu OspjKl0MPh+QsTHM/BsRowRFfI4GCnglviB2+2rIC8KqGJZ3sdGLA0R/o2PWuXzopRTJ nrwb/ylVKfJ5jojC1+Hgf2af77wKPcnjMsdhuy1ERMzazXoz3wcdNOfV4k+iR75ULyGk QeXYBGEjXblGYniMMFWcs3VVZu7eo7cbwaLsFASa/LMbAjp3WSr0pX+3iOEL8nXtnnT6 VGbNBqVzBUu+66PwsK91ic+9c+xygQXfjOU3xNAZuTEZgIdc1ypgV3BnqBcPF1vNG6SA ybQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=VXViIEttWCW5eoT7d6PbdTaen2SlTd7W7JgMXTYUb4A=; b=RKE+kUW8wC59TpCnKsgk0aIyYfGysZKJINoiqFO4XNMUpn1wOsLCDEa7BsFPk7xJx5 LJFyvc7hX0wt5SwdNt8iZpWjEZVPXTwKb/zZXFN/u1w15TRnsvxxx1k7hrn2K2hq/6/F YH/TJdZRria8ZWIyUPgmoxynFRxfiY64fbo7eYvjH6L0fFnIxV/DhgHoPzKBZR6Ozdzg 55gFI+V3tMdG8z5sAbrap+DS9O7EM7f76z3iNYqiwnqQ3IHfS9qlNxlhd3ujOJ29m0zW 9nbs4QKkSEt0AVSTFi3wpbjz2JFpGWRA/7jSzBKX46YqvyniMj8H5naZH+1xKWkOB601 Z0dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si4555573plk.63.2017.06.04.05.01.54; Sun, 04 Jun 2017 05:01:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751305AbdFDMBl (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Sun, 4 Jun 2017 08:01:41 -0400 Received: from mail-sn1nam02on0077.outbound.protection.outlook.com ([104.47.36.77]:65442 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751201AbdFDMBZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 4 Jun 2017 08:01:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VXViIEttWCW5eoT7d6PbdTaen2SlTd7W7JgMXTYUb4A=; b=ik/DnerVnffu+7M8OtuYfHh32xBdJOcyYlODjkGL+sPiTet4Q4CvvOabKPve9V4IMEup23hqv3wYJZN0BMhazv8wZgjGDgF8UpZRLi78vlbHnRRIYVRgm/1dREc8i/cXfC03anxD3V3irwEAJSoD26CElhIl0y342gX03fqNTtI= Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (176.59.55.28) by BN3PR0701MB1267.namprd07.prod.outlook.com (10.160.118.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Sun, 4 Jun 2017 12:01:13 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: Catalin Marinas <catalin.marinas@arm.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Arnd Bergmann <arnd@arndb.de> Cc: Yury Norov <ynorov@caviumnetworks.com>, Andrew Pinski <pinskia@gmail.com>, Andrew Pinski <Andrew.Pinski@caviumnetworks.com>, Adam Borowski <kilobyte@angband.pl>, Chris Metcalf <cmetcalf@ezchip.com>, Steve Ellcey <sellcey@caviumnetworks.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Ramana Radhakrishnan <ramana.gcc@googlemail.com>, Florian Weimer <fweimer@redhat.com>, Bamvor Zhangjian <bamvor.zhangjian@huawei.com>, Andreas Schwab <schwab@suse.de>, Chris Metcalf <cmetcalf@mellanox.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, schwidefsky@de.ibm.com, broonie@kernel.org, Joseph Myers <joseph@codesourcery.com>, 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: [PATCH 04/20] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Date: Sun, 4 Jun 2017 14:59:53 +0300 Message-Id: <20170604120009.342-5-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170604120009.342-1-ynorov@caviumnetworks.com> References: <20170604120009.342-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [176.59.55.28] X-ClientProxiedBy: HE1PR09CA0071.eurprd09.prod.outlook.com (10.174.50.143) To BN3PR0701MB1267.namprd07.prod.outlook.com (10.160.118.141) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0701MB1267: X-MS-Office365-Filtering-Correlation-Id: 2d67d393-6f32-4bdd-1c75-08d4ab4165d9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1267; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1267; 3:SGphP+bOaiaYOyGmeEOsNsl20lgpXJodIUVhK1P/0tvG5KR1Ahh6OaZzH0g7YASB7dnrsC0RjNSF3aX2wLF3g0lyr36Zpy2peKaXeSc5823Xuor/36gs6SwctdJEs99VkDZ9aYF17QSUP1NvF3uXMlJ+3MJfIkwY6gdRy6T2x2ZX6w97b0bEPFuidey//ipmvZAMVG6VymaSc0sAH49RUVn78ud/FV2nW7RqaCdTqULYeumAKFEMJIda0Rkcl6uU9QNEzuvg5FWGzwkbiHUoB5iOBvT9hVCyKxbT8qQ6g4Cvv6CDys704wnpYxM5rstpkcI5GtIcK1gKgnQZzLg+aA==; 25:Raq3T0Y9Vgb0dX2fTtmAUJMmA5tiYprsJa9hhgcUwnlU9fWroKXfopATgjfzVxD4KERMFGKAiEPBOyzXjMmjgD5rhXMMMJyH0c2YdePs2zU33YwTkNVjbWliE1ewmKI2zW/NFyNmmWJFtlIxSlQXmLtk5dFMLsH8/gRLTsMP2YSbGcWDCl+5z6NCbXdPfyAevHpdx41H5QlWpY0rvPTe0+bPjlHNxIKGYYWxTL20LXacIuD7RwTLm+ks4J/PrcRm8+vn8a7Qe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uPQZoi/wO9xKU0cHI+C/SteGJtkIPX6Qs9eUoBU= X-Microsoft-Antispam-PRVS: <BN3PR0701MB126743B99017C89D97E77D5CE3F50@BN3PR0701MB1267.namprd07.prod.outlook.com> 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)(10201501046)(3002001)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0701MB1267; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0701MB1267; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1267; 4:ABCauf8EupJ3jA2yGjwEaDaNmKUNZSC8t3WWCyn2gw3XnF3utsBEHcj+NPWGBaNSsjGUFOWiLkAE1vo38akYDx3xshhT2jtOKluzj+m1HBkPUGaeU5DPualFeOnRe9fVRo1FvdbZPYjqON7Tb9VYmq2DHvdH7D8sSnDLSZITg1AoDLUEdRt/gKJlB5AW05RSFDs5VUBsGRT4BT5BrHwQlWpnrJ+DRD3uhzaIOe672fTk7Ur1SuqInUvU/wa6NjhSa8iIHKMV1R2corgBuP+hBATcKbMay84jj40djuxiUEgKqcAuwFDtRR/WHCE5hyyhybj8t8gnG2vzweorRsiEq6H4V7JPRUC6ZET8s4l/uF1ge+PLZ9rbch+FwYX4FhYBrPP7T1Gw5khvLg5EzriKTQV2Xeee7vkWmVf5PfDKIOxvUHSiDK6DwIQglVF6bzwhUGg2njvdXH9tOK9yjemQ/kNE5gdweTaTpfnzVAnUgX2DCmuFswCDWpF3bi0XwiFQWCgw441dowE296xDCFbi9I2SubFXjLvvF1qA4k3LOmiuHWookUfUsGW0h6ubaVY9VDW+ZDkjlkqDz/f2A0TQtMrLn+LzL0/TNEpHCWsseOC2ad6X/xN9hSLWOz9b5UA4pcMIqO0GOszuW9krYXfwEXvTp0wYvnS0pb0pCc/BT9AuwEuhBaC5DA3ncPjtsVRnT8dBZDCQi4XeOtjgp1DHbVQZJmPJJMWusWWQU6moVH29RUfOeRPa2HTmLGyanWWFseFbYrmnHfllQCCdJn6qa7vnGQFTaGEz+JmGgsg3K/AD86DqTD8j94DvDBIfJK3ognHmJkLTM/O00+CV9WyjzABB1O/GZ9E4TF6Eu1W6rX+mb/to4TNBz5t1ZUZddyQIdf0SpFbl8bnPTwWJVt1Xb1pfgI7q+LvjkW2KE3bdcQO89rP6aqlghBRvNs+ixvv5yxk0rx8ipijwSvsb72xCY4qJjPQDnI9lDu8u1YBWoQNKG4e9xk6HhQnMc8Ilw1yt/vycwaXHPcREyAIQD/8vr0MFX+CSxevQdyYagjMSJAR1lz3mW3iCbo2LWtUea5Rg1fUDZ1RiVPXGIvSe1xGJIsI/Zeq/ID1C2vvSmoZeL3c= X-Forefront-PRVS: 03283976A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(39400400002)(39850400002)(39410400002)(2906002)(72206003)(6666003)(189998001)(2950100002)(42882006)(5003940100001)(478600001)(66066001)(6486002)(53936002)(54906002)(50986999)(76176999)(47776003)(38730400002)(6496005)(48376002)(50466002)(5660300001)(7416002)(76506005)(8676002)(81166006)(36756003)(305945005)(42186005)(33646002)(4326008)(50226002)(25786009)(1076002)(6116002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1267; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1267; 23:bcegLgcfB0t6YWuC2/q0X4pbeHFv25IQtuvjzCN9IRLQAvkl5DVb6EkwPyVHVPYNHSh9SsBmYGAohH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A8pGqlWvnWZ2nNiZ0vuDcKQH9wu7m8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1267; 7:w9ukRVkw1ZEQdU+jVLuRid14eO/8n0cqX5iR3SIZQ5I/g8Ru2r9Rg7ABnrp/QuvlU4bQ5F8gBgHWVZe8H8Ow85t0bVFCtR5t5AIfo+1b6gsKqvjLs7XNXqDVBth4FF6uZqq7fCxkXnAXLb/ElBVvpF2RQIrgQyqWUgLV70ZlxInHrkoNfg/iw41jJQpTiMoV/1KqqsOO/ebpqyjn/2vz+Vs259hI217nn1AoKC+QaVsmm75zLL7XsVwNT+iVdQROQfc/VzBGlKLU9nuYHH2ehOBUbZQcoIjBdBWPnwNooJXFrkgy9NLYTHL0GZODy5LOJsyRSfl1AmrfyiqzVEbzpQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2017 12:01:13.1700 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1267 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/20] compat ABI: use non-compat openat and open_by_handle_at variants
|
expand
|
diff --git a/Documentation/arm64/ilp32.txt b/Documentation/arm64/ilp32.txt new file mode 100644 index 000000000000..08935a34e7e9 --- /dev/null +++ b/Documentation/arm64/ilp32.txt @@ -0,0 +1,45 @@ +ILP32 AARCH64 SYSCALL ABI +========================= + +This document describes the ILP32 syscall ABI and where it differs +from the generic compat linux syscall interface. + +AARCH64/ILP32 userspace can pass garbage in the top halve of w0-w7 registers +(syscall arguments). So top 32 bits are zeroed for them. + +Comparing to AARCH32, AARCH64/ILP32 has 64-bit length of following types: +ino_t is u64 type. +off_t is s64 type. +blkcnt_t is s64 type. +fsblkcnt_t is u64 type. +fsfilcnt_t is u64 type. +rlim_t is u64 type. + +AARCH64/ILP32 ABI uses standard syscall table which can be found at +include/uapi/asm-generic/unistd.h, with the exceptions listed below. + +Syscalls which pass 64-bit values are handled by the code shared from +AARCH32 and pass that value as a pair. Next syscalls are affected: +fadvise64_64() +fallocate() +ftruncate64() +pread64() +pwrite64() +readahead() +sync_file_range() +truncate64() + +ptrace() syscall is handled by compat version. + +shmat() syscall is handled by non-compat handler as aarch64/ilp32 has no +limitation on 4-pages alignement for shared memory. + +statfs() and fstatfs() take the size of struct statfs as an argument. +It is calculated differently in kernel and user spaces. So AARCH32 handlers +are taken to handle it. + +struct rt_sigframe is redefined and contains struct compat_siginfo, +as compat syscalls expects, and struct ilp32_sigframe, to handle +AARCH64 register set and 32-bit userspace register representation. + +elf_gregset_t is taken from lp64 to handle registers properly.
Based on Andrew Pinski's patch-series. Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> --- Documentation/arm64/ilp32.txt | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/arm64/ilp32.txt -- 2.11.0