From patchwork Thu Jan 14 17:22:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8034381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 426D09F744 for ; Thu, 14 Jan 2016 17:25:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 805A920497 for ; Thu, 14 Jan 2016 17:25:56 +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 B152F20430 for ; Thu, 14 Jan 2016 17:25:55 +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 1aJldB-00020S-KG; Thu, 14 Jan 2016 17:24:17 +0000 Received: from mail-by2on0088.outbound.protection.outlook.com ([207.46.100.88] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJld5-0001nE-TM for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2016 17:24:15 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by CO2PR07MB620.namprd07.prod.outlook.com (10.141.228.156) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 14 Jan 2016 17:23:48 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 01/21] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Date: Thu, 14 Jan 2016 20:22:58 +0300 Message-ID: <1452792198-10718-2-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> References: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: VI1PR05CA0031.eurprd05.prod.outlook.com (25.162.33.169) To CO2PR07MB620.namprd07.prod.outlook.com (10.141.228.156) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 2:9bMN9aijfSa3bcV12zRf2HLUcOxGCOXypKqqplerUZdIQE1Y/VDB9CBMDsYkhq2rOpRW2hLImbfTUoPi552d5CoBoUr2vP5D+HFz3bvsvxRlaCDl5aknLyVKfs1M8NjpsliXGk8BpdRT1baatin/Qg==; 3:UK6fqAnXCnGnOX4iI+WYngY5ou75tlCu8dmQQInS/+6TWMvls6DlRK87juPa4qO0At6jjfg6m4KkvBwYagutR4h/u8VmFxKPkP9YDppPueNBJEVu+VkkWrO3XAYVt4zZ; 25:HGKZlNJ+RLk9Q/DeMj/tbd/QGqBf5IEdA8AurBUjXMUuMng1EiTMIf4B7AcaZvFrAXq6V4DfbWeNqfY8w4bKEvRdTTUwsiyK0nNGFtdRsBj4VaEPQMTtWcDH0Cb19f5A6sjtX2ji7vilWRh2pmo14bIN53q/SlAPFjneKW8LsyEaT8EE3rcLvxC82qAcMSf2LkfCJporZywSTEM9n3pWO+6h2em0ILX0SEr02Bxqb+KlWATk0yuhjEzON0Zz/Eez X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB620; X-MS-Office365-Filtering-Correlation-Id: be58ca07-f99f-47c3-7cbb-08d31d077753 X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 20:Ab0gJT4TG+HE7zrQhxX5U4WzOi9mzEXf2GzFFGfxW6J3AP2srQ+XegAPLCgQH8xh88kUql2zt0XbJZVXEbo77g1ZPhNDA9eZ/K8kltLSACRvN10Z66uvtGJQ+jUTf8tn0XA5UcRL1ZbDlTFWZdUqJi3UN/Rii66sQzehtb7dxd7GwydRCZpPho3XRwHy7Cyl+6u6v3yhVdx7Q4/RyZ81zHmLQcai3GQZbtslpwTTFujiJKC4B+QS6zjBV69hbT7/uPx8L5591k5I6nO623m1ApipV+Y8PHPaXXT7botJyx+NbbMzOjQF+pGUMuQwa27CQfMlZkTV/SfvxcoJXbIocb/dNnIzyO3IBUsro5Mh/VzLqYl7M0TrwFTbSG82rP+mnCVFjBcq9cW8RRbnHNgLuxDwu4bugZLDEtDq90lquHWVFEyzYkgVZZYvr9M61OHdrzS8VF8shr+y9jRSQQ2SdzY6CrdID8WdANovdp6wlqL7QDOeh5kcar46xXTSebds+I7gRgRj4prDzyDSfXRgrw+0M3jbDf7W8Mv9CfBjo611CZ6Jp73kuc7HXw7nRiGctcdbJngDguMkwg9OU2lgSZRgImcgTP1D/FPcbtnoRlw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046); SRVR:CO2PR07MB620; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB620; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB620; 4:G8W8Y14Vswtfw5/fOHfVDS5WHB3iZR5mnCpN1kj1F5Tp13sClYKVxdAgbTiN3J7b6/Cfh+dyhCTWZcng7MPj9tpzZHrIWyseBlc1DTSdbakpvDSsSbZpJ7qZIExQTl2SjarURCJ9E6rvFEtL+oMNCXEfioBS2RK3WH6WbWciD29CoSa/nhGJfGqysaKH+mKfAwj3yFL8LBwfC+uriAkj93ugo8kortAjb1q0qrGY3QlOTtNy/xw8GJ3zaqbjemkWWAJZOaAn9tnn/3zBQRVaL9OTNGLdjAqwBxPmOT4upPQ0QG1AtySTsB3r3FATyrXpO+pLmoyCRztF3AmvcHxBvMW3faqDJXtLVWet7DC4vRqKvF5ORsOltRpT3/LbFLk8363IAeQII9BCqSzOkDP4nDVsNaMPVLN6grFmpNXwT7k= X-Forefront-PRVS: 08213D42D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(105586002)(4326007)(122386002)(42186005)(92566002)(50986999)(5003940100001)(40100003)(106356001)(48376002)(19580405001)(19580395003)(66066001)(5008740100001)(101416001)(50466002)(5001960100002)(47776003)(5001770100001)(229853001)(189998001)(81156007)(76176999)(586003)(2201001)(77096005)(6116002)(97736004)(3846002)(5004730100002)(36756003)(1096002)(87976001)(76506005)(2950100001)(2906002)(50226001)(33646002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB620; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB620; 23:CUKDh2mpjVCgaog3IJih1cKoYHxQTkITCoYvMJAYGG?= =?us-ascii?Q?DuOtWFlwbygmAQmmWeZ5hcJ+vfmSFlZhg9MEETtRLdS7d5nWrRuiubiuXIXk?= =?us-ascii?Q?hsicsj9xVBotS7sYaJ2ALrkak07napL+SXBU2MVEoGISq/MnryFU6ILua45R?= =?us-ascii?Q?vnILsWqMUfloOP2OiRlE4zNV4XeZzh2enF/Gmz3MiA51uAnj9zGyxysloqsm?= =?us-ascii?Q?wrtTp2adSIpm1TwYBYqM5Lt3sCDhLsK1zn20Q62qT2Bcy5mzOAw1mU/1iarQ?= =?us-ascii?Q?JCOXSlB5bkSDnaZohrUA45mdK6AyHSELHESPKl60conZuYyyCzhjHSTDA4GG?= =?us-ascii?Q?Zdb7VIFbEyIUX+ZTaNcBp9fPxOVSJsgmiD/JPFHtyhT3baI4MwRt+mCkPO5B?= =?us-ascii?Q?qyUhgwyNmqUNbRCec3X+Z+m07GsBChPWgRy7YV/N3IO28cwdsF3/QRGaeZ5K?=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CHzOss6y9vzNTAaqwYUeYZ8NEN3baSl45+qmlT4/4BxsoTdAZRQzPn+LShH5ZA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2016 17:23:48.8933 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB620 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160114_092412_056034_74088B6D X-CRM114-Status: UNSURE ( 7.94 ) 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: pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, jan.dakinevich@gmail.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=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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..d14af62 --- /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 sigframe, taken from lp64 to +handle AARCH64 register set. +