From patchwork Tue Apr 5 22:08:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8755781 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 13604C0553 for ; Tue, 5 Apr 2016 22:12:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46DBC202BE for ; Tue, 5 Apr 2016 22:12:09 +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 68058202A1 for ; Tue, 5 Apr 2016 22:12:08 +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 1anZAn-0005Kl-Gp; Tue, 05 Apr 2016 22:10:09 +0000 Received: from mail-bn1bon0072.outbound.protection.outlook.com ([157.56.111.72] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anZAj-0004se-I5 for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 22:10:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xhEMJg41YGXOhKJzJsgxIPulup0eB3bEfMwVWfwawCY=; b=wGVnrcZY4NPLNNj3pgDe/yxv3AGR9Z5AMq7q0TCLWZGRvAlDxF8GxKLxt0305xZpyl85eYVF0naph2rTIFTfre1ggSHYjz3b+qdPkLAvp2YKDxxUE/jcgO7QSzNluGxmlsVxilA6JrFBdWqrWV3BZpMSy39yF6DpoYyn2LwbJpM= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (95.143.213.121) by BY2PR07MB613.namprd07.prod.outlook.com (10.141.222.144) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 5 Apr 2016 22:09:42 +0000 From: Yury Norov To: , , , Subject: [PATCH 02/25] all: introduce COMPAT_WRAPPER option and enable it for s390 Date: Wed, 6 Apr 2016 01:08:24 +0300 Message-ID: <1459894127-17698-3-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0019.eurprd03.prod.outlook.com (10.160.207.29) To BY2PR07MB613.namprd07.prod.outlook.com (10.141.222.144) X-MS-Office365-Filtering-Correlation-Id: 9286a471-f5c0-4a6a-eed1-08d35d9efd9b X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB613; 2:KpMv6mg2LTOi64xkLf3JJULUC54z8DNFFIpzhvl0xrzA1ubSuu+hihEpl+ypXHhUx5nLfNL4ZbvGOvcUhKqzlWvW2I5vKx+JwLc5l20ylB0cHPnrAeAdHSpdyHox73GWVkLFT3f6PGzLvVrbC0FEOpwFA48ZM1YWLVDnasYLH6bA+0Oxfvy9Ks7U60uobV8d; 3:ATNsr+NUg6PT8qXt+a5mYAiglpoSyTpfqrfBentGv1KgbhpE0/XglenHzaNDqblmJOIYGvYHShIgMzzwovifwSB7IVLXe0fWAO18j+he2AZiqe1YKseA7QFiYtYiJvIM X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB613; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB613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bUel2+W54mX8xqNWgkltegg3u7c6k2GhaLc7d8dcgbZF3xhEWgdXI5wbSKjfn9PzTPcf8bFw+zrcj6pFtLXzkj5PcSSpdBq3QSO3atPj0I7BettmW/07NhoR968s7ct53NFdJ9ls7Glq2kF9d/95nZ+33ZJIYYAFTLr3QXCn0DFDX0uYgd2NfHwcxlaB2atmhbit00+D9jdzutAOU4cUqDGHvgFeGo3qjSwHYUM99Ie/6T5Wg= 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:BY2PR07MB613; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB613; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB613; 4:lkqYuv1g65hcUuny6eJS/JvQnfWiZkSgT0Ta318D4/qNA3756Yq6d4f4URXy1jmjawSULGqPCpIWF935WkXjwZv7D2WHsAL/7VQtAlccRwJ/00IhrSPLYSRrcuCAQLd9X1dF1Jp7DGU9ahK3Lk0Tyo1EsUVFdnGNdSMlaPOQoE3uYYi2r5c8IPLTFzR4m2OJFO9hHnnYWFuZOzV13tBrqL/0Q6SSDcRyoIAz3dpPZ7HUKZm8Dkv2c5f4vb4DEkgKfEiFwpeCDuNkaO+yr0jqMdBQnQ6i72xXL8z5/kpLIdIQN7PVtcNXhVRxuBlzJCja6fFs6CPHpjkqzwhYThx+z6bSPK6zH1RKOupEqXV6blnsTA7lhuPe7TjqffRARudT X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(2950100001)(2201001)(5003940100001)(36756003)(2906002)(77096005)(1096002)(47776003)(4326007)(6116002)(5008740100001)(586003)(19580405001)(33646002)(3846002)(19580395003)(42186005)(5004730100002)(81166005)(76506005)(50226001)(66066001)(189998001)(50986999)(229853001)(92566002)(5001770100001)(76176999)(50466002)(48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Rs1BJSXxW2E5yRYpt X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB613; 5:6WdOfMz7qyRbByLlLuze7xKs/wi/+KasxZIsYd6YDPzfMMLsfnbzhQ+TA/SGR5139BdVGQ3DfrNjR/Trd7B2kSpFLH3QMwNi4iW2kecgD/yeWdKcUY4nIfV4wUUAN7K7009VGLgBlC0f3Na/eMGrCA==; 24:qPUoY1NV57srvR1+rySOk45NlFGFRQShdo5i4qXvHnhOD7YxcaP/T/KkjfGZuH2aDPOk0jIY4oethxMejpQwvyOYgQlKERrYtPuiWE6dNU8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:09:42.6067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB613 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_151005_930784_4F123BEA X-CRM114-Status: UNSURE ( 4.12 ) 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: linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, ynorov@caviumnetworks.com, bamvor.zhangjian@huawei.com, schwidefsky@de.ibm.com, Nathan_Lynch@mentor.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=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Acked-by: Heiko Carstens --- arch/Kconfig | 4 ++++ arch/s390/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index 81869a5..92fcbd4 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -589,6 +589,10 @@ config HAVE_STACK_VALIDATION Architecture supports the 'objtool check' host tool command, which performs compile-time stack metadata validation. +config COMPAT_WRAPPER + bool + depends on COMPAT + # # ABI hall of shame # diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index aad23e3..cdc02e0 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -337,6 +337,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