From patchwork Tue Nov 17 21:16:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7642401 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 F3594BF90C for ; Tue, 17 Nov 2015 21:26:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25AFE20429 for ; Tue, 17 Nov 2015 21:26:39 +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 3EA1A2041A for ; Tue, 17 Nov 2015 21:26:38 +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 1Zynk3-00046b-OU; Tue, 17 Nov 2015 21:24:43 +0000 Received: from mail-by2on0068.outbound.protection.outlook.com ([207.46.100.68] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zynhn-0001nR-7E for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 21:22:26 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.120) by DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) with Microsoft SMTP Server (TLS) id 15.1.325.17; Tue, 17 Nov 2015 21:22:08 +0000 From: Yury Norov To: , , , Subject: [PATCH v6 17/19] arm64:ilp32: use the native siginfo instead of the compat siginfo Date: Wed, 18 Nov 2015 00:16:57 +0300 Message-ID: <1447795019-30176-18-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> References: <1447795019-30176-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.120] X-ClientProxiedBy: AM3PR01CA044.eurprd01.prod.exchangelabs.com (10.141.191.34) To DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 2:JfqAmVjQsCxo+Jj3vecVVvAxy6Xn29r19OXfPqafEMgnodDHZ2kW1py8ILS0yBKMOpGxxozgquTSVFFIOBy6Qsf20aQtnuYesD8MghIsKcG0PNwQwsO2BMTPZrP0DecCfD5rUw23130V8PeVXf3IgqkO+JQBuXunDVbyuT+D2gk=; 3:WvlAL58svN7RNKBBO9Xt1v8XXQqGk5dT0mK6hPBoVQgppxsDxqVlc4Yge3v+rL4THkJrjWHow2U2euYk9/kpXQ/dffVePQQfuLJPNPnQKa9JxywCW59BlhJNfC+4bjliRv9YX55/pk4HpiM9X1cK6w==; 25:h1J5SVZzOTm5FVyNnUEZb4rQyoFh8zt3g+Pu/WA81uu9YXC0Swj8tEkoxMFzsUjfQWuTrdXS7w4C8UDugmQ8NQ7+jg/XkzTnBaL4nziMtwynHId84po85eziKReB/TPQKjPTFz23H33tCg0ATxgC9tK5PvsEF6R5gBQKn5L3+drrrY0JcFRmnhDtyDt/HoyhHCgeGjmfk/TNTcIgTZTql/ZKH83fwzsefXR2IkeVD/uRquMH4tseXKlqRuwnj7875kG1E4xtqrA0LBmlIDe47g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 20:/eIHtEbQLfAbt4MKoKlGuZF5ijNt5ojfTJdSerMx57LfmkCkgf84M1vjnvOKKIFBHJ6IE0ZWOP2bzS1V/KcasVZp2Wa8ED11OXrWZ4PCVKkaToi1Me8tOCRx3WL1KmJ9DADTdifkm7jpHhj/+iUXVCWCAmYRFuDqkRbav5rtloPbGM81JV85i+c/cOJqVacij+nKE5jf7jOCrGTr4KP2ppkrLRGrfgBgQesMjUSncxlgrkhDQJ+rKVHo7tai0KeKmquenUBkJDsT/jp7RMFE1DGnjNM+YILwtVrFQZEpoqX8xzRALQ8kCj9M5gukhDs4DE1yyTxPUL+xqRk4S4iufpqyEiF08mfO+INfOaraICKoxZbSNL45rS9/qqzwqSqbeIPirh2sr3nLjYdUgjYeOtQq8iwpyTtHhDrdOejO/Ef1PPGLFo5J+Y6pfS9E4JHlQKrTKdxkZ/sBPgZNYfmE0OG9qfzNJnqHA34/i+pI+hV419NBQj5RguMsZ00nQZSGoLjXfr9ShUoR8hErlV9b9QzXnyZyybVRPBfwTHzSh8tLcPnvwg5aYbpvqqM5hOpe8BwCNtHxApzGqRZlmFZrFn4qI5EqXvs8VbpzXXZbbxY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:DM2PR07MB624; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 4:1/X8ULMMwMkqcPfg9d8SFAHxZBnF2MnAMk+W0/wflWBG1BvtDilnQzRoQxjSJd43ojGgIQjmBKO+PM6X7w42Os6k3FRJJ1tuTvLoCN12FgYZf0iBL+ICD3dcEGq+R6Uhe6Y6sLM0miOhPqlkDMZU6pmxODEHFPLrjxeX67WJgriRQRmQc6AlLEPXXRCn0mz3lLQfzZjbsGrlrT0tueJViZcXhj1QLaNj18+jI8QTd+ZkDsboJ6dbctBvLAHjiYXsS+FkBwHUfbh4/0ofFq2tYu1aF0aN3Kw2epTNx4+Rg4v9CbzvSJsqEG11GwWN3KvoxIG1+3TcclgaDnMMEAqqtIgYdZoZDq0688qDAnXBcB/cu4qakqalTRDg3ZVHzVGB X-Forefront-PRVS: 07630F72AD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(2201001)(50466002)(229853001)(5007970100001)(5001770100001)(33646002)(106356001)(92566002)(36756003)(19580405001)(19580395003)(586003)(77096005)(4001430100002)(105586002)(47776003)(50226001)(2950100001)(76176999)(101416001)(5008740100001)(50986999)(5003940100001)(48376002)(66066001)(107886002)(189998001)(5004730100002)(42186005)(81156007)(87976001)(5001960100002)(40100003)(97736004)(122386002)(76506005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB624; 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; DM2PR07MB624; 23:6h0ayA3OoInF06OSt5Zv256uClxmv0R3EZ9nf8S2Ea?= =?us-ascii?Q?GeC3LlfYUGnc0KB/IzQ0Xz3UVt74HQMiMwDXcxyzM/mVYBbbOaTAVu6cfcCn?= =?us-ascii?Q?u5bUaFZDXzwvpkUdxxj0QqLcvP5Fm6GQqtbRbJ+iPdC2P/Sv8K9/erTy5RgQ?= =?us-ascii?Q?exRfRIy3KLY5BjNeqxuwE6ym6RzVWLYTPX5JVuGDAzP1o8lTCN0RUE5ZoY0A?= =?us-ascii?Q?jprX7k6ViLw/l+wyQC7UA3xjor4Sl+gtR/tCOe3QwxF2Aea+dFvt+EtjDRkg?= =?us-ascii?Q?QkHxSDHyZqf+Pi2DfxdeZFxPkvaU5NJO4pIIN+J5Ybm9tSMbE63Ls//y39YF?= =?us-ascii?Q?gnXmLRyMUivRltA7E/WQImj9jXuAX2nxriSinAQ/VvKxc5rmkz0Q41W1zSFC?= =?us-ascii?Q?DjssLf1Q8GmXF3oPz4/k4jz5FXFccEODo6a+LJz2T6KOICyCFTk7QsLk1WwH?= =?us-ascii?Q?voecsm4gyMfPbSjg3N7JQrZscE6ocUyfeKtDoO1SSiHFDddXnuuTuggkyHzG?= =?us-ascii?Q?792nm+Lg/0cgeGglTzoFTsUbCK+ymeT8nyqAKPNLBhllrqtSCXo++C1fuTOO?= =?us-ascii?Q?VnvKwr3iVwpDuom/8XiKKFpq1izOZSqEvVMiH6lNSx2DrDX/AOsQ9NRXbvJS?= =?us-ascii?Q?xPH4hkR7y6ZOv2avTq9K2TSd8WvsXrwOT1GX+18RzOQTrH10ACJF6R50T2cL?= =?us-ascii?Q?NhpVv7e5ZtocNO72z0JtfFSFexsXArhYVyfnG5sBDpfWLkrmjB0GcoVjlUr+?= =?us-ascii?Q?easzuFxg5nwwhBstd1SRi1Ys/MqOe1zGTRzdVDXPyb4zFKktwmXIlevzYzxa?= =?us-ascii?Q?Jrn7FBFoQfTZoZLxfk+l48EnxEVgx44zKPDXievO9SYOFgTE0cyQ6ixeG3xD?= =?us-ascii?Q?VhsNCrm+8XzvLzyk9H3L5fgp7Z9cGIOQWl+N/1KybPTvWBQjaJZ6XmV5RGK/?= =?us-ascii?Q?91oBewSvToTSnASPHh+3TOv3UTAHavdBfyzuYV9QZlDB8VXPxUPuba+j2J5x?= =?us-ascii?Q?JCnlb5IVtAMpVWjuFqxd/aX9scEPy7VDPVlKtPzVachlXWptfrx0YA1AP3ac?= =?us-ascii?Q?8zWiCa6o4rq1RasUB+34+NYNMqChY6V2QNvwUdsB7KkP3soao0vJN+afEMAg?= =?us-ascii?Q?2pZliTwY4=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 5:yxCO/lQPzLn/6rc40WvycQC7LUdoFypriHkArZW8R56OkWtdfupzKLM3mnYvdz5eWzW2AjvllN6UjUopUtrwcyVqJXAwyQb5Hxz95P+bSESo7uncWtgih4P72xrw0y8yIsS9DZYP1u/1qOoiYCUlDg==; 24:ucPPvT+EAGhTIHNY7mrAZGvPNxPDIq5+SO1xUxaTb1QnhjKXCAbA1Rrdbe5ldryqmbQeBikwZbZBsKHZNbkz56ISux2kwbnzgb7g7xokb/I=; 20:6tPB+ca794ndPWU4/WjTxbMUMSgocpaWL//mtzQztaTTeka/NsyGhKS+0YgjtfM19dUF703Mcx056m2mBIj1hw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2015 21:22:08.4115 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB624 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_132223_766552_8166DFEC X-CRM114-Status: UNSURE ( 6.90 ) 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, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, jan.dakinevich@gmail.com, Yury Norov , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, andrey.konovalov@linaro.org, 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.8 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 From: Andrew Pinski Set COMPAT_USE_NATIVE_SIGINFO to be true for non AARCH32 tasks. Reviewed-by: David Daney Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner Signed-off-by: Yury Norov Signed-off-by: Andrew Pinski --- arch/arm64/include/asm/compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h index 95d2d72..087f21b 100644 --- a/arch/arm64/include/asm/compat.h +++ b/arch/arm64/include/asm/compat.h @@ -214,6 +214,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