From patchwork Tue Apr 5 22:08:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8755981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B3B0AC0553 for ; Tue, 5 Apr 2016 22:14:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C4992202D1 for ; Tue, 5 Apr 2016 22:14:51 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id EC78E2013A for ; Tue, 5 Apr 2016 22:14:50 +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 1anZDI-0008KR-8v; Tue, 05 Apr 2016 22:12:44 +0000 Received: from mail-bn1bon0070.outbound.protection.outlook.com ([157.56.111.70] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anZBo-0006ef-9b for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 22:11:15 +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=RNLcsj5LEtkCNLtb+DYWeMts3wQdZecYR1fi4f56qss=; b=YP7IBuGPWtrW3r5EdCCNJHlRzvIGsis7QCVv0fNskQkz8iIb+oNpGPdOwVjA0u/NnCh33t3V0iPPZAP2uiKYs0D/xGAnIr7rt+H6EEcSaglM/Kiuan1C1Dm+oJKiUXrcHZ93bUcrl9yr3d5yEkZ+/JjAOTjKd/AMhIrVF7kSKko= 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 (95.143.213.121) by CO2PR07MB618.namprd07.prod.outlook.com (10.141.228.149) with Microsoft SMTP Server (TLS) id 15.1.443.12; Tue, 5 Apr 2016 22:10:48 +0000 From: Yury Norov To: , , , Subject: [PATCH 08/25] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Date: Wed, 6 Apr 2016 01:08:30 +0300 Message-ID: <1459894127-17698-9-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0039.eurprd03.prod.outlook.com (25.160.207.49) To CO2PR07MB618.namprd07.prod.outlook.com (10.141.228.149) X-MS-Office365-Filtering-Correlation-Id: a14a6bc2-5efd-4f3b-ce05-08d35d9f24c6 X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB618; 2:lT+lua4vRxGeVNvPLJ3Ii6NcLYQYyy3fdcqEYkafT+Ue1QczFduM6JubGW/yh2jpCdsq81hfbeP+5j4MevWd2rfA0+Y0fQkdUML9lAPahaCy9GkAy3QsqCUbMrXnxh1oRAthhVXpOqVIedEjsZCsRc4kbO+5GgRfF/y/KbRfPTwpkbtzfXW+LFwuNsX9Gx/y; 3:MwJBOkQQb4EuQwcUpwNAdo9oyqhzYpnVrC9dNZRXnDeGXwWuU5SxzFdIQs/Vz3phNqNOctxKrHC4neRcD6EpoVqDg/RCBdLmuNs3mCO5pHn/Vojw2GRoHVy5Uthm9mCN; 25:CfwrF6l04rGb/gd9WfIDyyPkA0wWGaUinSugohh97beHEY/cauJjvBGU7LOTZaxVR9mKlFjJrRq2jidkCZ9cKWHI5aJ8PMAYPrGOdLe2sC4RMz9VGiSWfRsYMtW2qD6ydc7BrUa/0UTGUgN3b9RJXtJrwovM/mh3G2/j9bbYl8V1r2EZ+mqVv+fKDxrYmwXBtfPYAmpAQ9AKh0mIkYViJ17oGWEDCJIrZUGy1C030zM6uVC62156iNHDiS00GyMVLqv24Nc/7ksTIwpOqtylBmEI+U8VemVIIwEJ8UDdJaUw2Kne+cm2FLQ69m90nVJChsL2KVvS+Yz9F3x+81d7UPsYJ9iYriiVfZrJMhA06ec= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB618; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB618; 20:TqoA7kFvXBWqDfsQs3HVmEypnkb8ZMb9r3ZpsAc4vdfNE193B4bjFmHrhYTc1ZqjF1SnjOWcAEnXRFaNw/ffR+FYjAOQs/HU43MhmUK2U9Gixwl/wvyDCL7WF/YM3wJwCmWiAUvjFJ10HXCBJV0WUPhtF8zbELZomIDJzGU5bX7NVqn2DyzJPkfBQM+jbYTSZV5Y9Q0E4resVDyHclpw5lx6EvDbuP3aW+BUqLFupkKZclDpQlaW7r4CwvAm9yPKMtPBCaYgR/jUlcSev5aGrjVE0U/mtO+hsIYsi/iIcjakBM0kNZ5Ror5n6TxigQTAAD+HQPcY0o5HpRjKxx4vlPbRyJrgouE3ZAO79VF4mwblLjjQSH+f0tYD4vHLqKvyY/teOAUzQmY6qIoThJ5QU2bIWWu2+oOG2zQaUQusUfpsCF792mK+iQml+ESsblb79749rwCp5iUm5WOjXcRiOi4qqpxZUbX2TjvmvGzxwPLtvNFWrLhKTQ8eRfDPJuwKyEv4RUrwetpjrNh15vw7e50JC+BXVV2Y//DmRbFTzjxRw1uOKe/Wu7r0B33WLJkwUzxF30HC6uqCjmH2NFP3kBEjP2nx4esqJV1DJv7U/8s= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:CO2PR07MB618; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB618; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB618; 4:DhZecOdCyAbDkY/4LtXV/hfuHkn60fiFcq9f6neeE2qS9qDSRfc2SQfVXUWX3v7s9nnArVoYIWNLwwSawXZdga+s1i2VsKT4lpJ2ecEvxnT7sgyu1DAF7jniDnNuEChzS4jzcEx5sfuUlnbBSKUIZFRKuv4qUdHiV/mxpAkN9XhGSER9YSK/EyNPxqT18i1CgaJjY0ZT6aP3k0XvGzSVNgR2hYXh4GG3R+q2XNsyv1ErzJMAOcKPDnfaBGCNlfiBOgMcR2G60XD5NkINFSaMFWMqAlGWHl2RLz31OYmJO6ZrgYoxZT2ZcBl5jDkj97eFYQeJ07KfhTt4bT3N4CFIYi+7S5nH2nf/jYsJ4jAtYumjgorC8KyFTh8luyga/yBe X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(48376002)(50466002)(50226001)(2906002)(92566002)(19580405001)(19580395003)(586003)(66066001)(5008740100001)(4326007)(3846002)(1096002)(33646002)(76176999)(5001770100001)(36756003)(6116002)(5004730100002)(50986999)(76506005)(229853001)(2950100001)(2201001)(47776003)(77096005)(5003940100001)(189998001)(42186005)(81166005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB618; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB618; 23:FkAYvC0Lbe5FdddwVPUyZYwAFLiZpYBoqlZdXGWVtfHCXM6FfjL4wHF+J19xQUdIBkvTnlNpkschcTfp9IJ7EGP9pGXWbpNZfCSrG57i73tK/aDLGFWZM0HmE6OK6iLHul9aGe3Rogisb8SURCf76YNeMaoOLFose9a8PFbtlKn4Rv1O0L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put: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:10:48.3032 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB618 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_151112_956956_21C19177 X-CRM114-Status: UNSURE ( 6.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, bamvor.zhangjian@huawei.com, schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Based on Andrew Pinski's patch-series. Signed-off-by: Yury Norov --- Documentation/arm64/ilp32.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Documentation/arm64/ilp32.txt diff --git a/Documentation/arm64/ilp32.txt b/Documentation/arm64/ilp32.txt new file mode 100644 index 0000000..15b5c83 --- /dev/null +++ b/Documentation/arm64/ilp32.txt @@ -0,0 +1,13 @@ +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. + +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. +