From patchwork Thu Jan 7 23:34:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7980381 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 6A082BEEE5 for ; Thu, 7 Jan 2016 23:37:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 649D920172 for ; Thu, 7 Jan 2016 23:37:32 +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 87CA020142 for ; Thu, 7 Jan 2016 23:37:31 +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 1aHK5d-0000IH-Vs; Thu, 07 Jan 2016 23:35:33 +0000 Received: from mail-bl2on0068.outbound.protection.outlook.com ([65.55.169.68] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHK5Z-0000Fr-Ul for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2016 23:35:30 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by BLUPR07MB611.namprd07.prod.outlook.com (10.141.207.16) with Microsoft SMTP Server (TLS) id 15.1.361.13; Thu, 7 Jan 2016 23:35:07 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 01/21] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Date: Fri, 8 Jan 2016 02:34:19 +0300 Message-ID: <1452209679-19445-2-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> References: <1452209679-19445-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR09CA0004.eurprd09.prod.outlook.com (25.161.22.142) To BLUPR07MB611.namprd07.prod.outlook.com (10.141.207.16) X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB611; 2:w+1IRgDtfE8qdM1Zot/YWbqNNIXPlqYu+d7nRh6YDyfD/QbgoG9p7Y3YgfzXPMJxo1EGr1+eht9lWh/L55hqtHt4oNdTaGwAULxm/WpLHQSNtG47SbEVWwyhlSZrHHk2N5DSPufW0pYIe8Lh5AnQdA==; 3:ebghZOZEnQYOonzU9ADcL8eE6MTogEq9ZFG7Dk2If5PlfI1cR40LsOFOMUhezRzDTrO9Gk4EQVueDOCFLO9NCq/pl72wfxmmOrAtyb/I48oDzMHc12igPaVnIl0Jwk1x; 25:B+3npj0d+ZhgT40bR0wKJEQLwhRM9wypnJUEuh1fHq+GVS9WJePDgZsuGr9Mf7zE2Mu9ogrRgZJhV0ZQP+b8q5OAwNbO3K/dVyguyQX31WAXXN4zOj4japZTxluGF8yoJI5//cMiev7KRmDDj6Td02300QW5YgOk+LkzyVdr8taBpM7Orrt6Cej4qufWeVwWNyNzBEUcdYtxjjA96GFf/rErVSxF1nmfCNTrKuOKlEaWd/9pPnNTrjWhbQ86bQEU X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB611; X-MS-Office365-Filtering-Correlation-Id: ec3bc195-5a20-4dd1-da33-08d317bb2d39 X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB611; 20:FuIlGrWbyMLg45dfk2EweuwGyLS6Y4cEsQ1oZL4SuLq2WCOHIwkMi+LJawY6Zb0uUFXbF/EusetGlkMzP1bF2wPwNxhKw99ZOqSVk4WhfWnhmPPE7sG0pWuMpkqBYeVeJIF08ILlZXzleb2pxjQiAGL6Pq8ja51l9BfREo1/9Re3M7tNVjVvkLBmXgi/zRaGl+qpZ7/JhOt6EfwcsdkHkyASo98IMyyd151IYiTTn+691du9JHNZnmZzIoNaoigCWKA+NuNhGAgAe+MMLVDylzId+YivgBjEIfDv7Av4qDNi7hcb6MumkVp1JkN34s/yvJhoqnZDqrUzQkDiQbA/ey2lqLw4b4pjy+RNnTomV8nLSUV8YaFY7eIWUGRc5MsuxORYtskc+aPz4+TkKomcsg6PPV1fYNZa4PjGdp++vZxweWxGbBfQWqpvP4vqFP3Sfm3VZ+FycjdN3lPTeP4zwIsLy4tIOBaWS5esztZJa9kpZXJLsbR2mmvkRNYCa7CpqivQPeVHf75fyPsGyv/CdMl9PzLKH+N1V0YLCdQ6xlbOORTi6vGF2Rs1gzub2u3oIIsz9Ii94AqRqV7l9SC92S+6OGjxAOzHQmCGNY0Ys6c= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR07MB611; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB611; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB611; 4:qEMHpOvZhyJpAoW2loiEGVD8r658ZvI01Qmo8Mv2PJT9Q6N4op9XWNCf2yIx1AjLjgPzWfjLB/0CCMTK9hKCC8Pg5OLcvSpanwvw17I39mMixEF1N8Jv1u+Q82xnM45+liov9+leBm0R7/j2ovFZc4PNymSB1ntcM7ksu5l2y8fy4U5ip29VdtOh+Vy+DE1YeJ6O4lg96Rk0xpeewry4zXbgIY0HiqtOY4db3yDYb0ywXP+3uk6CBCnj1Jb7w6ufJajBT0eQY1o6M9ILZDIvEoB5noprot7/a4yohHlr3qd67GA/NoYCICpBfIufApMQg31XOqaTxU73RjiPyd6HZSsl11uLbsx3dsxPD6zeblXkySpYnHAg9C4FVAozrvr2H5YOuQasCJ8eVDL4Um+CO3RraQA/q6VTnTck3HUFjHw= X-Forefront-PRVS: 0814A2C7A3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(5001770100001)(189998001)(5001960100002)(3846002)(586003)(97736004)(5003940100001)(50466002)(5008740100001)(42186005)(48376002)(6116002)(4326007)(2906002)(92566002)(47776003)(19580395003)(87976001)(1096002)(33646002)(76176999)(2201001)(106356001)(101416001)(81156007)(40100003)(36756003)(50226001)(229853001)(105586002)(66066001)(19580405001)(2950100001)(5004730100002)(50986999)(76506005)(122386002)(77096005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB611; 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; BLUPR07MB611; 23:A4mztrTw/SL1RuI+zrgk6ETlhl5fX+cay8auLyRZ+8?= =?us-ascii?Q?SZ3hTR7a6PojDQz9YHHZ1vZis19OYiDizeJPGTRJxlcAM4z6SpPlrw8fxDLV?= =?us-ascii?Q?5rho8felkOXofgI3B1VtPEZ7zShXKQ27rcEo4f74SJ90TJSwLn/OCok9r3sP?= =?us-ascii?Q?BNqoFYCWPPvz7A7smP1+fBfliR3/nhHND3UFfefpBiaivRFePvlyCd4JIjAs?= =?us-ascii?Q?NujyTs6tgWlKuu46U69lbVCU8wiCCDepiKXNobVxRxdVO8EDV74sHuL8PLls?= =?us-ascii?Q?POcGe2SVKRvlNqLY9YsbGEWxIHDzceW8l+KECB2vtkBHSpBZHIxn6XCORown?= =?us-ascii?Q?NC3tIE5D8XovUBzG4S+jvuxtfrECnx9QhNamHI4/BbbgUhIE2W0Jh1sh4GCx?= =?us-ascii?Q?7RKrhFYaayI5PVKSujb7/zGV3It8BKj6bO1arwK7MNfrR45/dflDMrZbgSUW?= =?us-ascii?Q?WOGZxOA1luLTXxocfFz2Dtfo4hbJPraYj56oR8G0GjTdjkvPwIpc8TNLX4pV?= =?us-ascii?Q?TlrMPHLLVj9V7K3uRtm40hqc/7f4itUoO4ZdiWKlc4PnkwmnwnvdIHkdCNJb?= =?us-ascii?Q?Fmj7q51IASS5a7HEoTDb6H4mLnx590nMlxfIkEme3QBRqTXceWm8FtcQL0fC?= =?us-ascii?Q?3pqbO0KLVr/Ttc1pnGWLJGaQHz8F8+lOZzyUSGwaccMPd2QwQ+oGr+Soecsk?= =?us-ascii?Q?AHLfUciUEZQavf7LmVCO3R7Z0j27KHGF/BMHCGAs2C+CoTL8qcSH1nR+gmef?= =?us-ascii?Q?ZgmlDlUNCbcAd9RY9MmtnYQKt/BrWjTYBiNya09Ia080AZsydjF1MNsFPgTj?= =?us-ascii?Q?hljLggyj0EH+rcCj8VdSSc2hVBs754WhYye/ghLI+xFjtwjCjq5c0JJxKK+X?= =?us-ascii?Q?BcVXGwVessFbonXtyhKvuegvIEohyW32vxfvog59bShrKDSMPfEb8ZHYDUII?= =?us-ascii?Q?coAHyhuzV1LwHzxb05ZMVHDt4nUweJ4LmDOfzVDVB1upDFVoxk4bh0NAVMV7?= =?us-ascii?Q?q0CAQrN7s3vIS54yK95q0NkJZbnXFO8GjyjyBWJ5d5i40OaMGLpt5drt9IP6?= =?us-ascii?Q?Qou797dGmpu2WFqny8uSK3mM+VaVoXiyU/qO2p5PWfYE8qS1IyxT9xBcekeD?= =?us-ascii?Q?HS9cwViBg=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB611; 5:idcYgjG9AEig1rDYURQ+3VXrIMXczi+GdqZJeh9rJtZ6XaNzxvyNrvFisD43rIk/oKdMnW+8raa/fI3ZPj98MJ7CAhJBPEZ33xx0nfUKHjM9C7USCUHVBSbLrA1Eu0/4tzqEj9+Lai4WWBea3sAWjQ==; 24:sHMDXBhLy75WYV07MypMPYwhxiD6XC5kyF1kxySS5368pgN888sfAWTpqgEEYf7HrjVui2krw190A/NESHXnQczXYXfk5/cLoQAqUyeNMAY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jan 2016 23:35:07.1492 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB611 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160107_153530_158635_6E025A32 X-CRM114-Status: UNSURE ( 8.78 ) 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, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, jan.dakinevich@gmail.com, ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.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. +