From patchwork Tue Sep 29 22:14:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7291101 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 2C41C9F1D5 for ; Tue, 29 Sep 2015 22:36:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC60C203E6 for ; Tue, 29 Sep 2015 22:36:13 +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 CE747203E1 for ; Tue, 29 Sep 2015 22:36:12 +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 1Zh3Tr-0003ic-Ec; Tue, 29 Sep 2015 22:34:39 +0000 Received: from mail-bn1on0053.outbound.protection.outlook.com ([157.56.110.53] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zh3El-0004LB-DK for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2015 22:19:04 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (91.78.158.8) by CO2PR07MB619.namprd07.prod.outlook.com (10.141.228.151) with Microsoft SMTP Server (TLS) id 15.1.274.16; Tue, 29 Sep 2015 22:18:40 +0000 From: Yury Norov To: , , , , , Subject: [PATCH v5 20/23] arm64:ilp32: use the native siginfo instead of the compat siginfo Date: Wed, 30 Sep 2015 01:14:17 +0300 Message-ID: <1443564860-31208-21-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> References: <1443564860-31208-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.78.158.8] X-ClientProxiedBy: DB5PR02CA0002.eurprd02.prod.outlook.com (25.161.237.12) To CO2PR07MB619.namprd07.prod.outlook.com (10.141.228.151) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 2:y1HPo/HEKAACc0twQHrKPP1cZ3vXvWHr+FECG/B2XVh/aGCDLCJazONGlYr8R9iP5N6g9ydfSjXZV7VjKy08g2wKIV9no1h0FApdFDKma14lM2HbctSs2jLxtgckHWbh6RRqO2+C7iTOkfnWTXxRlGGh1oGT3iYEeFF3iAW/Sro=; 3:nwXDu3H1IP4X4/61trvHrFBjzigmDSA1QsqvfwsgbHtOewcPb/wAxk2dbSl3tC6Wli/uw/iAHDZqyWotReon8VdWDFgdE+2OLPC0nHhndEmR7MQkZIWE0a61h4rBwbwPy9WcBf+uOTbAepU+gErMwQ==; 25:AJA3z+ntGufJnDmi7kSX6VJrLNexnMOzx0E/KBDckYAKjn8z2mhLA80TxJE6BUE+6Uy1Il3CMEqRxbIz90RYsVX77GusTJHyf44a69aoA4GX3OO2blASYbSJQC/Mu7Ef2Q38Wi3HEhIaIdbqmWP/DV/NKy7nK1lWlTSQpNt0qBO+5IpAiibNyUruaU2lIFyIKQruMHWKYmTmA5ChElUV2BSSA0VgO+N+bCX9vsTsNi3snELiw3MwLEzQ5SUf1gEypSvHpFnix6QPt+9CJqkJJg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB619; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 20:F/dBAAV7a6VKV0mI7LnGu6e06zwmeBatl+ieh++hq+47r7+0qZZ88IS+3ufban4MTeqYEswNqKc7uA7amrQmh0eEekn/KPDj8cSZoS0noM9CuQd8XJc9ErhOKhjWJ0yBcSrsDLmMEfKX4d5N1/6EYM6zCWsqB2Fvmaa5gSC6aqDxWxRQBCwrFZVOYxpudsbNT45cq9tFK5ADsWYaZH3ShphaLv50UbyYmw5UxLMg6s+hKTO3xHLJj4hfYvjnVAdOigX0Dme2xNwMvlvFd7RUeRjx+TgGlf5kgODTZHpxWa7CrN9XFVMxv56wsFquJNuGCykCel78Nkn5Jb8l3HvdEHGJhPeOWWnz7aDceH9AjiF2+bcgBJxXZh0OR+LncEppVhchCjCe8HpHNajvuxSQoLdEGwxSh1BOH5K5AXm35lpZToxczjEOmDDXjoLO552qUJcP3AZaSHmzfKNzn3MWSMRRwTv7QenEsZKmo+OEclWUJlWAcZcdPZT97FuYKTtYbqR+mJgcsBUp4U6ZVxPe9UXoyYkuUs5pY36+Baj9ngwUx2rU4lKlFfIIm3qz/mTvdU0oqxQXv75Utb1Haatcm+qjYFwmp29vZkFBMXt8U18= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:CO2PR07MB619; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB619; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 4:Flz79wd1a8DUpLXjVLNSTy3zMUakyN3IaaajEpDE0DRN1Jc3W4mhyV4NSDt4qoUBJ/dii4jK9J5JQzwJW6zJJyS0ldfJEzHaz72n3gG4tRWJYDX2zvDYGRufOHKlNXI9B3u80EzFOUiHhwylkEzxvBMCD437JirI52/Y5GBDcJcEKPYsgSeB7QgjlabTHz/kos17Ie/6RRFXcV5THiEJ36Nj5dsFqJ5f5FNhM7tHtXs5ST0dWeiIE366NRBrAeLlyNkDHWrw2AqAcdaCgTPfAdFHZPaF/j5cYTVzTpoRmW5apHUi2nJURbzCUwkj8nWn1ns5s6M/aURliQGeTKb6J44XSGQBp+vuW5jMB8hlh60= X-Forefront-PRVS: 0714841678 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(189002)(199003)(42186005)(66066001)(50466002)(64706001)(122386002)(2950100001)(48376002)(47776003)(5008740100001)(77156002)(46102003)(33646002)(68736005)(97736004)(5001770100001)(62966003)(92566002)(5001860100001)(50986999)(189998001)(5001920100001)(4001540100001)(101416001)(5007970100001)(40100003)(5001960100002)(2201001)(105586002)(5003940100001)(5001830100001)(76506005)(87976001)(81156007)(229853001)(106356001)(19580395003)(19580405001)(5004730100002)(76176999)(107886002)(50226001)(77096005)(36756003)(4001430100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB619; 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; CO2PR07MB619; 23:O5/7cUnr0oT7U5hIbPB2kAC7U2ypwOj7MueHd6eINv?= =?us-ascii?Q?yu0ZqLIJdKMHRe8qvAjrvdEgyJk1SunKQkDVQ4EDdcp4AjQbXVBFEnRHr3ou?= =?us-ascii?Q?aIJZytSrVQTHovHtw88r6U4QULJ/2U4rignKtBWO67SIgcxT0RcmRGFbpVqE?= =?us-ascii?Q?Zxic/JaXbnyet01LBPl8tf/fD+QOlXM0opPEvAEQOA4N3vYVxSdyNU46qcOr?= =?us-ascii?Q?44tQnKKxierz4ulueQGSAo8FjZJRstSzU+W/1ptuDKpN1WxZNT0vn2lZY7fm?= =?us-ascii?Q?H2hoDK0vTgQKnIiQieoXsZ0nnezZivxU10v3AtqjFID4fUs1giYYbv0H7n1V?= =?us-ascii?Q?raHNa/PfEMIyoNIwacl9iamjM6ibf3fJO0WG3nYZK6Y1I9dDcyTU9UuorTQA?= =?us-ascii?Q?myYxipYIUkbg0K26fiRPPcnGPQNbRyN6lT+P/yA+QYiQN8B/fpDORXPAgHo8?= =?us-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= X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 5:8NVdiz6AhFJtS3J+FF2vhPGRmb9QAD7KinXndfTF8D5PxdsZ06OwYV5tVUxFfQURV5DLnJ6ViSd0wJmFx9dTdPdWjXyaY5Grik8FN0MK5Xz/D4sraxz2ZuV9KQg6/0boSkUXlSCuPTdtBjjaOGPEdA==; 24:g+6P0pfYyN5q2pMfFAxI77UPkuJh7UznSpesNEDRY9Fkn05vmVEPcQ29i+7HIK6p+zN+WmXDoL8bAPXrl/rVa9nlX2DtStMKH2686fvFAEE=; 20:2G+jbs64D2Td54zi2mIJp0+H+XSp26FctZfbH9n/8/fL/h393FQTF+IBX1g+X0Bp9epgZrX/rHUXh36EQn1qlA== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 22:18:40.9717 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB619 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150929_151903_836565_A60EE7CA X-CRM114-Status: UNSURE ( 4.73 ) 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: yury.norov@gmail.com, klimov.linux@gmail.com, Yury Norov , apinski@cavium.com, philipp.tomsich@theobroma-systems.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, T_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 From: Andrew Pinski Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index 4b717df..47f2b7a 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -217,6 +217,9 @@ typedef struct compat_siginfo { } _sifields; } compat_siginfo_t; +/* ILP32 uses the native siginfo and not the compat struct */ +#define COMPAT_USE_NATIVE_SIGINFO !is_a32_compat_task() + #define COMPAT_OFF_T_MAX 0x7fffffff #define COMPAT_LOFF_T_MAX 0x7fffffffffffffffL