Message ID | 1464048292-30136-9-git-send-email-ynorov@caviumnetworks.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 43F5B607D3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:10:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38D142824F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:10:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D72D2825E; Tue, 24 May 2016 00:10:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B65B12824F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 24 May 2016 00:10:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4zu0-0000DJ-6P; Tue, 24 May 2016 00:08:52 +0000 Received: from mail-bl2on0086.outbound.protection.outlook.com ([65.55.169.86] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4zrB-0005SW-Uv for linux-arm-kernel@lists.infradead.org; Tue, 24 May 2016 00:05:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6nGyKTPJb++6YaseUvC31Lm4BVB/G3wjB+0LHcC3MH8=; b=w/oCKH56VY907tjHKllQ1djG7Sv9yc7N0WQf+8Qipvh5sFKd590KnVlpq7kME1/wiplIxX1jMAA5BYbTPHqD7xptBBD7rEBvn3Y0UT/MZLRft6BxGT+OizIRkGjNeyZX4MECC/KlCljBcBVra88Tx25q543uRMqrUrL1F2+dVaI= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (50.233.148.158) by SN1PR07MB2239.namprd07.prod.outlook.com (10.164.47.145) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 24 May 2016 00:05:34 +0000 From: Yury Norov <ynorov@caviumnetworks.com> To: <arnd@arndb.de>, <catalin.marinas@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-arch@vger.kernel.org>, <linux-s390@vger.kernel.org>, <libc-alpha@sourceware.org> Subject: [PATCH 08/23] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Date: Tue, 24 May 2016 03:04:37 +0300 Message-ID: <1464048292-30136-9-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> References: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.158] X-ClientProxiedBy: SN1PR16CA0026.namprd16.prod.outlook.com (10.169.34.36) To SN1PR07MB2239.namprd07.prod.outlook.com (10.164.47.145) X-MS-Office365-Filtering-Correlation-Id: 84bb39c6-0f9d-43fc-f814-08d3836720f6 X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2239; 2:P671zcFHw6wdOOjEJnOIo3jR6UbCIO2psN+sASBxo+yC4QZLdXzLzOsBs+vVuN5o/SkOfGxA8yRS5yuio0kyLboCEO9ifpQ+LkZh+++CSfyDwhW723dOQncbPx0sqHmM84h2tfX5KJ+VIWr6KWoCYBgrh2gbe7vYCABAARYtKYXzBHSMaVxFOB3QTFUb7K1j; 3:EWUcTGgGv2usJ0wSrnZKdcJd5V/VTdylkh9CEjYvwt1RuU4o+KK3oqfOtzL44oH//AoA6LOLP+lHWjofbPZ1WIesztc/ars/Biakqd95rpvLYVn3p6Xtq0c06ObjkaCj X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR07MB2239; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2239; 25:T4iOn7ilb7OslrdZcrWpHZbEJdBdJPtUv9a4R5Ktz7J2tOZEeqSyox596jmysAgoSU9MWLkKX9WxyqFxksfm9DAv7L7SuWtFqeOuLbxN7yBrBPgsoeeLLhkfOnCaYsOq5rio/VNE/vMCeR8EwC2p12XozNescZXJVp3Gao53BJAUV+cMZSxMlu11HqLAo70GBbYHyzgVlz726fbyOZ4oAKFgXC12LpT9iOHMYpZ81f+1YfVE1AOgWuz8MgLDWu3uL9pBJO8b6DeBxg2cVtmlgRULJs02c16AjiqGx+QRasehpKG7f+DdtahgLqvxuJBiB25wrBiPbx3AvytxwDA7F4jAvSOa3cQYmVa+uZst3EsJphUGCsFM0nRZb0JglJVYYppJTNTPGyFf4Qj7Es8O63+sgO7AX9RVL1kOZheDZ42AdI9TGG9tQsCNISRRtTxm6iYjXIWeJEDu+AnJw7JMdXTYHctXGiPof2aF78nAvnbSyEwFryfCCwC6ic+qcfGmjnPjBPzNIDqFCYoD9s3t+hYcGOtr87FYNVoVgFfqEZl+5byHxxmEhk8no8Hs61+X5+GtbZA+uH8xJgZOLE30WhAxwEle3EiS1hnfP2ocy9BEvr3NlDZHv8MZCMJiIya3L0N6pDlPp1TgsjqWH7fMma08WajMbK6/S+0Aox039NPTB77Q9e0CRUWYtWEtEgIrwHL68hgvcJrcdJxCjFPyhyZt58X2p1wXYQsgPMUbZuB+BDwUdRgh0IbRg3Swps6CzBXEvDw/dDbpuhaOca4QIQ== X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2239; 20:HyFlQFRYPP34S+q0gsP0eAZyoJljCN55Jb1fVNdApB+Z9mySWHMX8wzIjFZCbhJ7AnfrmSSg7uBjmbUfWSAP4Z3QAamaT2aPnvQ2nD6K43J8c06IAWV960hsJcuJrpmB6VA1HHQkMBlSxI8FhHhs+klGt+2uhWy34+CTZhL871CI7i7A3+/R9V1iUvvus3TCD50EhyYuksatNNPbWAJYR5oWIlvyMIM2wbc9Cf1ewSC7610i/zz361UBWyE/fDX0UztAcRrXKfZEPa5meiKZ1mBCAI5V4LMv3UYeBRWoGztNYdd6dHDL47gmdSw323lgef9Trs1k75XnsyTmaFspIWSwfrduh2GI0GRzWJSkDVTDzVZ5T6espZrISTpet99JCZg2IZVZUB4+ltUxoUUBIcLPpHrj+ofAvqEaCQtWtkTeS0AUduXyBrln+hwAaPav57Mhxw84/CnF6W5XxmVLNZua1rJ1en6bj6vYMH63oS2QEcLr2tB+U2e52/o6q3Zr8AuBKMqM4E3sfQGv+3idhSAqy6Y5UmGo16riOs3PprgT+fvpuI5Nl6fV7mI+r3Xn7Zn8QjxjD+whAjlmbMP3kuxtwTx4JrSGgIja3lmpEpM= X-Microsoft-Antispam-PRVS: <SN1PR07MB223920A5CB450793F8B963C9EE4F0@SN1PR07MB2239.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:SN1PR07MB2239; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2239; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2239; 4:2mzyOLOjrfl4BVP5nggcVlP9kk3WAkpfRx0rIXq+jnRfRZkG4Wmb8scBC1UaFyOAmuV/vCTbpE0tcBBxgeAg+WwlphLbKDt/5qVb9RSoe8Z5+QPtWtWdMe5YUStDfoIksCipgFtINGnLfnXjSmiwvUChJ+VeUgjMavI+/C+g4VA208DvJg8WPav5LXcPKHvt272tBPYm9XAuCxHx7gIH0y1V0zDZ2cTaXhM5nmA1gr/hy3eGDNBZYbc/hLLjLz8UM6Yy5TjtHaVSrNNeoMTxVBVMxSEbyCD8aQaYK2A2i4IhvnkCcyu6aYaKzLlR3rUnTUl7P30pc4AIaACIPRA1OlBH4MHvZ6PQaI+rony2b1nSIhG+Zgh1BpPWT/CuMqpx X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(76176999)(81166006)(50466002)(36756003)(8676002)(47776003)(66066001)(5003940100001)(48376002)(92566002)(4326007)(5008740100001)(5001770100001)(33646002)(229853001)(50226002)(2906002)(19580395003)(19580405001)(5004730100002)(2201001)(50986999)(2950100001)(42186005)(77096005)(76506005)(189998001)(6116002)(586003)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2239; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2239; 23:amPznG75A4Nie3cLoW2Yu5QEbF5my6T3nDUZ4l/o1jKYu705QLuk2lO6qQTCcGZapCLWIrxSWm/eh5p0Y1wc1qjkAtTZ3kwrIZN9VOABlboOBwQcwkeb/M8v9uxuc82w+KpuuOoMUeEiA+LsmFScoX5SBBCEKIwiOKrgKNfjDj2veNV+3WQ/q2NnZ0MdqtrXHxQYfW+HB9lItakY3QBus/FZyzmZKafT91ZXJglTiCUTElJjF+BhPWQjsJdbXP4GfFzwlkHBxLc3xSSVWkF8w7JC2V0c1ratQUv1yBilZjHLdxmlo9uqspfQNG5GoHDqb2aWkI4YKbactw4T7xGFHPzDOtiiopujXtJ/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Output: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 00:05:34.5306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2239 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160523_170558_387045_94ADE0AA X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kilobyte@angband.pl, pinskia@gmail.com, szabolcs.nagy@arm.com, Nathan_Lynch@mentor.com, heiko.carstens@de.ibm.com, agraf@suse.de, geert@linux-m68k.org, Prasun.Kapoor@caviumnetworks.com, klimov.linux@gmail.com, broonie@kernel.org, ynorov@caviumnetworks.com, schwidefsky@de.ibm.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/Documentation/arm64/ilp32.txt b/Documentation/arm64/ilp32.txt new file mode 100644 index 0000000..8e74d67 --- /dev/null +++ b/Documentation/arm64/ilp32.txt @@ -0,0 +1,25 @@ +ILP32 AARCH64 SYSCALL ABI +========================= + +This document describes the ILP32 syscall ABI and where it differs +from the generic compat linux syscall interface. + +Syscalls which normally would pass 64bit values as two arguments; +now pass the 64bit value as one argument. Next syscalls are affected: +fadvise64_64, +fallocate, +ftruncate, +lookup_dcookie, +pread64, +pwrite64, +readahead, +shmat, +sync_file_range, +truncate, +lseek, +mmap + +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. +
Based on Andrew Pinski's patch-series. Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> --- Documentation/arm64/ilp32.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/arm64/ilp32.txt