From patchwork Wed Feb 24 18:34:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8411111 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 8A786C0553 for ; Wed, 24 Feb 2016 18:38:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B9E3E20376 for ; Wed, 24 Feb 2016 18:38:31 +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 D59D62035B for ; Wed, 24 Feb 2016 18:38:30 +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 1aYeIs-0007yj-38; Wed, 24 Feb 2016 18:36:50 +0000 Received: from mail-by2on0057.outbound.protection.outlook.com ([207.46.100.57] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aYeIn-0007gG-Mp for linux-arm-kernel@lists.infradead.org; Wed, 24 Feb 2016 18:36:46 +0000 Authentication-Results: de.ibm.com; dkim=none (message not signed) header.d=none;de.ibm.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (95.143.213.121) by DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) with Microsoft SMTP Server (TLS) id 15.1.403.16; Wed, 24 Feb 2016 18:36:23 +0000 From: Yury Norov To: , , , , , , , Subject: [PATCH 2/5] all: introduce COMPAT_WRAPPER option and enable it for s390 Date: Wed, 24 Feb 2016 21:34:11 +0300 Message-ID: <1456338854-14901-3-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1456338854-14901-1-git-send-email-ynorov@caviumnetworks.com> References: <1456338854-14901-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: HE1PR01CA0014.eurprd01.prod.exchangelabs.com (25.163.2.152) To DM2PR07MB624.namprd07.prod.outlook.com (10.141.177.154) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 2:SDEuXfAUsnP8Inr2vgcfJlUX1n7FMLpYqEMcKdE9gUtIwp9tgMvZnDWqyp0m8tCyZZx/ZE7KzK3U7uDVD8gHCTeM+FYUbxQBHBkBFD4mwospekUKzfXWcpmitBIcvOKc0BM9JQdOhB8mvvtbC8bfvQ==; 3:XGfNgzbbYqxyVtRNnj4PBSPBcRHg1Iw/WNiMV93smw7Z5mPZrIp+hC/+eFyRp78pBwZhuKAlvw3CWoj2DLO6kO0QW9dt5wMn+6mLiCV/0ZOiKoc6cM0osENs68xIqxHb; 25:43RtQLdjTukV7VmcoVRlKLVGe62lpls76MZ+OtC1Ge8LusRoUAKzMt9S2p+E+7Njba0zgTabfboxSFeeMh/K2KXnqsfDlQH35GBWRVf68eYW8FfPh5AI/cSsDsRC8KdIJstxh90aQcbnbneO/ceymwewHDkohBxTH2oOc3a61sKgs1FrCY8p9V12o3hHd3anVmcy9S2VCVktYjRHcbyE7az2EKyPvZU9F4PNi/4Gf7gy0iJ0hip8D6xIGUPzLj1NSpdhSWyHCVpbOxfgLJMLDTbqxUmfaOyFzCGAErzvUhYLDTNjLvH3on0pz2iRa+RGhyg787D/8/iNPc4Wd7QhSA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR07MB624; X-MS-Office365-Filtering-Correlation-Id: 9d00eb0d-5907-450c-fc3e-08d33d4965a3 X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 20:hG64DIFR8XrqSI8QCYpmFqjkv4HLaJEi8Ll8yzcMdtg2TIxyJRYTsi5Fa7xeFoOqfHnLxz4ZLU17OMmActe9IfBaqYUcDUXkbSCpAN+/6E3j0ZPzi32fEzNCLS+WWs94zb+JcegZBnkM2NfWgMiYaC/gmHgkPfA63P0r+2gNxBs0jzypB16xwcgjhrxmu/gjVJFPOrz4A8TBgvyiN3uBrQHHmbjZbim7NdC+qw5bc1UAB5rCK6R6X1xWtWnSpHanzJvgjzsyRH9S3pNhUbY9e5nsr2eEKMaf8JLyhRPPa2wujk95aGMjOc9aJ+lPvDqXLg58gkzzlbEIc0tbX2zYdJ4bFQ9N0d9+ksc+9aXJzD6bgHHcJXlZQ2iI03Q+Oz+ols3+1cDn6SDbmZOibnCrEmSHNVCqKRgYUnhZPTvBlQ4/k74srGHuBwiO6SzrVpqFxDBzYtPCSra2YA9fbygIUPKcKDG1DeTzB6WsVu8oiFBxzxXQO3jsaaeoIjjIV9Pyihy8QR45SfCa7SabMEMwpAsJQLWPtpfisp6FI15S50cZNuGMVSERZ9+wGcz3zTD75z5qvF8rUAqtzUTJ0ZJy9xCSKATWVYXpKKhBljCgV3U= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:DM2PR07MB624; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB624; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 4:IQiEk4mxFRTz1XtRhPstfMzJQIHklf1hF7RYvhV6ySzVoyg3UCQsOIvP/s4WRXzhIAEkLgf1FN17HuRtlD9F05Qzmh4co6pgPFCdm1EaS0xCMzEN1zLFBVf/NyXatZvN0lokIYUZHukyYFqepVkl2hg3IUx16V76fDfRcGkFmc7iqk8vywt3ZhKpzssdYXFqefINuEegURKHUoCPFYyBPG9noD5HaZ3P9ySLoQZGOeFc1VqLrHatZ6viTlJnzUK5C5afqjYXMnRp3v9EEHzFFg0D8uVXf3hKWq6nZB6BLgbES5drpcyUXAb3znQckurZLf/DvlythREZemcxXr7lgA4ID3MNaIhkEJjsGcDw2UziJnxJtQGtOY3GFcDC1/RE X-Forefront-PRVS: 08626BE3A5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(50226001)(92566002)(229853001)(6116002)(48376002)(33646002)(50466002)(77096005)(19580395003)(19580405001)(5001770100001)(40100003)(2950100001)(122386002)(5003940100001)(76176999)(5001960100002)(107886002)(87976001)(42186005)(50986999)(3846002)(76506005)(5008740100001)(2906002)(4326007)(47776003)(1096002)(5004730100002)(586003)(2201001)(36756003)(4001430100002)(66066001)(189998001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB624; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR07MB624; 23:/HhDhItGHcTS4urvjB4Zf3Ek6TBNiq1L+wFt1dMt8r?= =?us-ascii?Q?1zEAKX3SA0C29n7VOR6mu236n1UKVErh49dN+ECxLwDg72OTVgwN1fYn7A6+?= =?us-ascii?Q?ynSpUcNfEYAoM5CQuuYbPFxoXtZZtCwJB85IrZo4F3ruImyRUWd3sbJHZmTo?= =?us-ascii?Q?97g3ez9piFTDaRONId1k6y7XHLRi7Och3UgULBGmKMNCpsr8vfh7bDJMG5M2?= =?us-ascii?Q?MTcWiZu6jTbiBqH7Y5kUkbBM577ex6iUk7ppPcK21PXyxXRHSHf4GMUQznzM?= =?us-ascii?Q?QJdHeClFuLEl3QiP91zYM7PU5oOyuQsTaliLaKQp7FEKjtwrmM8YMYSXQtar?= =?us-ascii?Q?t0cd+So+IT7FaVeiXT3tLXj+z5Vsz0+PjQ9EtGggYCY88OmMDN3yx0CvXZ6h?= =?us-ascii?Q?VIuhcSOuho1rWnZt7+Y6xF5wRu2XYY0ZexwH25g2p8hbNVmk9aPR7sFCrJX7?= =?us-ascii?Q?xgxAGUhljdZsaP/0AEQdQ4/+VJ2HIf2doIAt3AFqHwwwQrlc/FqUHGaeP5R7?= =?us-ascii?Q?9CeSHyqUwPfeC+IG2vE2LLwnYqEbRFCZvle2vr29RIq4SBJZOYYDQAApcUNC?= =?us-ascii?Q?cBOKDouU8G497W3bRbBWsP2wIoz1A90SNQjmv+WZD9iq4a2GdVGc28PNPWgn?= =?us-ascii?Q?jT6egvs8SJhABrrALiyVVZlz5Dh4y3DG9W7jO93Q+9axjZWFgP+M4MD2Q7pd?= =?us-ascii?Q?JTcSEsqKUjBcNp99Jifi8UcCAIp29UDaQSNonpETkSF+opyvNciHA/UWfOwM?= =?us-ascii?Q?2e0uQQtZHi5ORbRLcNwg/LX3FUzB04+kDWNfR5/h52/5OBGRtZHQHp4S0s34?= =?us-ascii?Q?6SY5aiIxgiQcN54Uump7tXFFWLhsd+Cu2CvO1Dz6aFeNQJ9pEbOoC2CiFXYj?= =?us-ascii?Q?aDUBRmQx6rrDDKr6lT5T3reTu2FVKt3h8RswbjWtDqphzRn8jG5kV+q6a4KD?= =?us-ascii?Q?YfmuN9nDZai7NZcAlWxJNwh9oFaZHSxa4V/yKLeWA/F4uExaWhwyCdUhOp87?= =?us-ascii?Q?8z2dbJRXMgEdhedkSzJRXnD+Mw/7xtdvwgc/r4RSlLfQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB624; 5:m7ZONMbNgwpcHCoXqfRetyoPiSrIBjvcu1MgZdwHz17Asx7qJfk5wsNWNNriTK2L4cRAbctxSlR6CVvVnz1r3cG+hrESk9FAC8EowEorkVRktP9bQx8/kJvq6dU4C704eT5fq5hJhpmMd/tIjeqmrA==; 24:zl0EqU9uS2Vnz9mIiAu9oWqGsY7SbpKeh9Lak2o5wsUyqYOeN0+/5IrLpEI9Zea7lJxppW7AmdtzcA+zo5LYbdaePADU3lw7o4Tx6erbNRQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2016 18:36:23.1524 (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-20160224_103646_013256_863088B5 X-CRM114-Status: UNSURE ( 5.36 ) 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, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, bamvor.zhangjian@huawei.com, Yury Norov , 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 Signed-off-by: Yury Norov --- arch/Kconfig | 4 ++++ arch/s390/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index f6b649d..6393093 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -583,6 +583,10 @@ config HAVE_COPY_THREAD_TLS normal C parameter passing, rather than extracting the syscall argument from pt_regs. +config COMPAT_WRAPPER + bool + depends on COMPAT + # # ABI hall of shame # diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 3be9c83..082b861 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -333,6 +333,7 @@ config COMPAT select COMPAT_BINFMT_ELF if BINFMT_ELF select ARCH_WANT_OLD_COMPAT_IPC select COMPAT_OLD_SIGACTION + select COMPAT_WRAPPER depends on MULTIUSER help Select this option if you want to enable your system kernel to