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: 54275 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id B9FD022B1E for ; Tue, 29 Sep 2015 22:21:21 +0000 (UTC) Received: by laak17 with SMTP id k17sf11611247laa.3 for ; Tue, 29 Sep 2015 15:21:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :spamdiagnosticoutput:spamdiagnosticmetadata:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=NLHSxcXtinA9N5tBKtuI87RY9CHUXqjMGuFwV+IGtLc=; b=dM83iXFtTYmhRdHvySioG3tevDlVm3/QClAoyKqlsQoKOphxT6QnW0MIqMXFerTo+P c5fLYJqUHaR/OiL9FWRKtl9T3ZdQYv6ekr79x0salL+DFhf27GTUgY0O3OU3rKakxlfX +S7kJD+EmchnVYfd7GGsj7yj6ZgejwHt/E0UhrwiuLgiDI5l7tMuA20oxbVfhdCi3X+L chw1dHaYV5mNQiB+zTEw12ruSfTXuNE4p9vhSk19I3bK+K6H5Csc5KehWNepcRF78HPI gO5du4bYrFVrScecMnNq5RG3pzrJU1KDaEoSZW1pB8j3gwDO7HxjVuiSz3RfKAvUF9OY y+5g== X-Gm-Message-State: ALoCoQl3taiTcUboe1dRZefcKDo5Pbw22x6Yma8HT5XlZdksBcb6E2dlLp3NnPloiBHjoU6gMAKf X-Received: by 10.195.18.100 with SMTP id gl4mr46882wjd.4.1443565280502; Tue, 29 Sep 2015 15:21:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.89.207 with SMTP id n198ls6787lfb.54.gmail; Tue, 29 Sep 2015 15:21:20 -0700 (PDT) X-Received: by 10.25.37.196 with SMTP id l187mr60581lfl.101.1443565280348; Tue, 29 Sep 2015 15:21:20 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id 8si11984831lak.55.2015.09.29.15.21.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 15:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lahh2 with SMTP id h2so25578305lah.0 for ; Tue, 29 Sep 2015 15:21:19 -0700 (PDT) X-Received: by 10.112.202.35 with SMTP id kf3mr102427lbc.19.1443565279880; Tue, 29 Sep 2015 15:21:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2398864lbq; Tue, 29 Sep 2015 15:21:18 -0700 (PDT) X-Received: by 10.68.143.4 with SMTP id sa4mr442529pbb.111.1443565278666; Tue, 29 Sep 2015 15:21:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd5si40532041pac.90.2015.09.29.15.21.18; Tue, 29 Sep 2015 15:21:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965519AbbI2WVQ (ORCPT + 30 others); Tue, 29 Sep 2015 18:21:16 -0400 Received: from mail-bn1on0099.outbound.protection.outlook.com ([157.56.110.99]:5748 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756877AbbI2WSn (ORCPT ); Tue, 29 Sep 2015 18:18:43 -0400 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: , , , , , CC: , , , , , Yury Norov 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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n0lI+55Seecf4YbOMQAnS?= =?us-ascii?Q?8HJTbYJ62ZYcSRZFlN3oYg27OXL2FDUGATVdplJkEykY3FWWoTYqb+KqV8Zn?= =?us-ascii?Q?SAnxiruW2+VuLyuju8n20whRAVZud/SNitCxx3Jq/kRHQSccGwuTL62tJf/a?= =?us-ascii?Q?s9OLKnhuFS3dRBMaqyjZ9GVIarG7jF9MjHQAL1BNouQp1l2gX3DjkEHSJh5d?= =?us-ascii?Q?xTKSRXiqFaa3uFPEI4bauqmPyuHFDBgQiAfajsZIFD?= 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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