Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5351168ybc; Wed, 27 Nov 2019 02:42:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyLDlvN66pt8gP1hbY/t5T4DSQuyJzBhYE5V9lCoepAFOMH+JWIQcyvgpVHTv8iR89aPY8c X-Received: by 2002:a17:906:cb93:: with SMTP id mf19mr48020970ejb.87.1574851343316; Wed, 27 Nov 2019 02:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574851343; cv=none; d=google.com; s=arc-20160816; b=gYbGXoqLHH/ekDIAyHY9VUpsYwLVKBhtIm/TEPj3Ul/szekrWW883JR3SOIM26ZKmj WqDWYYuqh6v9C7Z5K9YuiZasxjHAFOJ9AVxGGHkP+6UxFCbG9hedCzO374uvIPAsFqfj Rk419qJ60ikuMh1Tgub6N5adEYeG39QaIDkJXv6b517ouW7Y8+xXk3i4+XN6XQHGNPil oWWj5XFDAKdqHQ80964xNH39h8jdgqJnNEnkdFof1wnP/5cQkuF66PtML36bdQ1sGVWA FpZUw8TNbibzxdNBpG5TX+1i9dNxDkZcXGhQDAG8nlILrfTrrWGgu7BwUtPpdXkb0R6k VlCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ewgqqU4Fv75hm6I6kOgEgefLyMrwq8Y0lRVDLqcKl2g=; b=sdQ8VD+XnUaw5Ue4LA2SAM2QRth59Axj0DheCezYPpCKLpZCO9lMkDIUkruP3ozdEd xDJCyHeoySf97ACod6lxTDIU0ySe3qULnzIw0wTZO31MvolXJcp16166/51IlGu3yI+i 2l7E//DVvG/Vnxf75ox23tEbtt8Typd/3dnE/kR4rTqM9P746RN7nYmMcpm7j8i1xRRB RS3XmxbM9seS2L9HRkVBy4SatJFkQSI6skSHu7jvRSD3KypKMx0l0plgoFaFV+7WAEsR 0d50TFWP3lOCAm7TfVEeBcgyoCYaSgs5ANvuluATnVl1lqEEkF3iPScie/s6SHrHEDjE NTIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si9905408edw.274.2019.11.27.02.41.59; Wed, 27 Nov 2019 02:42:23 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727436AbfK0KkZ (ORCPT + 99 others); Wed, 27 Nov 2019 05:40:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:56706 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727345AbfK0KkJ (ORCPT ); Wed, 27 Nov 2019 05:40:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6787CB2FB; Wed, 27 Nov 2019 10:40:08 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Oleg Nesterov , Alexander Viro , Christian Brauner , Nicholas Piggin , Allison Randal , "Naveen N. Rao" , Thomas Gleixner , Breno Leitao , Christophe Leroy , Claudio Carvalho , Russell Currey , Greg Kroah-Hartman , Mahesh Salgaonkar , Arnd Bergmann , Geert Uytterhoeven , Firoz Khan , Dmitry Vyukov , Masahiro Yamada , Hari Bathini , Andrew Donnellan , Nicolai Stange , Valentin Schneider , Diana Craciun , Daniel Axtens , Michael Neuling , Gustavo Romero , Mathieu Malaterre , "Steven Rostedt" , "Eric W. Biederman" , Heiko Carstens , David Howells , Brajeswar Ghosh , Jagadeesh Pagadala , David Hildenbrand , Andrew Morton , Madhavan Srinivasan , linux-kernel@vger.kernel.org Subject: [PATCH v2 rebase 32/34] powerpc/64: Make COMPAT user-selectable disabled on littleendian by default. Date: Wed, 27 Nov 2019 11:39:08 +0100 Message-Id: <760dd63d2035d3707a9ba85c4b667dc79ff46caf.1574803685.git.msuchanek@suse.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On bigendian ppc64 it is common to have 32bit legacy binaries but much less so on littleendian. Signed-off-by: Michal Suchanek Reviewed-by: Christophe Leroy --- arch/powerpc/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e446bb5b3f8d..fabae186eea7 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -267,8 +267,9 @@ config PANIC_TIMEOUT default 180 config COMPAT - bool - default y if PPC64 + bool "Enable support for 32bit binaries" + depends on PPC64 + default y if !CPU_LITTLE_ENDIAN select COMPAT_BINFMT_ELF select ARCH_WANT_OLD_COMPAT_IPC select COMPAT_OLD_SIGACTION -- 2.23.0