From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DB3DC433F5 for ; Thu, 12 May 2022 23:57:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 056A56B0073; Thu, 12 May 2022 19:57:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F218F6B0075; Thu, 12 May 2022 19:57:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DC2416B0078; Thu, 12 May 2022 19:57:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id C72A06B0073 for ; Thu, 12 May 2022 19:57:49 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D70453174D for ; Thu, 12 May 2022 23:57:48 +0000 (UTC) X-FDA: 79458756216.15.147622D Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf15.hostedemail.com (Postfix) with ESMTP id 4271EA00AD for ; Thu, 12 May 2022 23:57:35 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6998F62080; Thu, 12 May 2022 23:57:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DF4EC385B8; Thu, 12 May 2022 23:57:46 +0000 (UTC) Message-ID: Date: Fri, 13 May 2022 09:57:43 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 4/4] m68knommu: allow elf_fdpic loader to be selected Content-Language: en-US To: linux-m68k@vger.kernel.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, dalias@libc.org References: <20220512230602.1408871-1-gerg@linux-m68k.org> From: Greg Ungerer In-Reply-To: <20220512230602.1408871-1-gerg@linux-m68k.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4271EA00AD X-Stat-Signature: zo4a5jt8b39eo77wpawtwtpb5768ktbq Authentication-Results: imf15.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf15.hostedemail.com: domain of "SRS0=2lTI=VU=linux-m68k.org=gerg@kernel.org" designates 139.178.84.217 as permitted sender) smtp.mailfrom="SRS0=2lTI=VU=linux-m68k.org=gerg@kernel.org" X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1652399855-886651 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 13/5/22 09:06, Greg Ungerer wrote: > The m68k architecture code is capable of supporting the binfmt_elf_fdpic > loader, so allow it to be configured. It is restricted to nommu > configurations at this time due to the MMU context structures/code not > supporting everything elf_fdpic needs when MMU is enabled. > > Link: https://lore.kernel.org/linux-m68k/20220428033319.239341-1-gerg@linux-m68k.org/ > Signed-off-by: Greg Ungerer > --- > fs/Kconfig.binfmt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > v2: remove superfluous surrounding "(" ")" If no one has any objections I can carry this in the m68knommu git tree with the rest of the series. Regards Greg > diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt > index 21c6332fa785..fb325b3aa4b0 100644 > --- a/fs/Kconfig.binfmt > +++ b/fs/Kconfig.binfmt > @@ -58,7 +58,7 @@ config ARCH_USE_GNU_PROPERTY > config BINFMT_ELF_FDPIC > bool "Kernel support for FDPIC ELF binaries" > default y if !BINFMT_ELF > - depends on (ARM || (SUPERH && !MMU)) > + depends on ARM || ((M68K || SUPERH) && !MMU) > select ELFCORE > help > ELF FDPIC binaries are based on ELF, but allow the individual load