Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1026398iob; Fri, 13 May 2022 20:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcizX69qjHlSxQYFduf4Om6X9YV4/NnbnEqsFLdyn/Rs22gy9kWUXz4qrjk1rsQ/664xqX X-Received: by 2002:a7b:c4d8:0:b0:393:fecd:2718 with SMTP id g24-20020a7bc4d8000000b00393fecd2718mr7092457wmk.23.1652497730328; Fri, 13 May 2022 20:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652497730; cv=none; d=google.com; s=arc-20160816; b=YeEXOhgB/Bw1jkDc6kvJKnUmEaGUcG448G5dY5kEs4f1YorbrlarHenCeP3Qjck/nu HBU3ertJ7sQHFGMKqzyWOi1AicbupzF58gsvL3b+M9vcr5n+QRUU54a2zm+n5u9EZrrw TZFSt15qDe0SV0JWkTe9OgHALUY4jo8feFTCobzoQP/dsYBP+fe62pa47q5s+p0yR8w5 QiJLHObmYK+LsU9wf4H78G5wa566siUPVNVrxIaeKan8vGdg2V7PmuCzYTXRrqSB6CiT gxqcgEjfdzGpLITjehDwLKn53cS0bMmOgPSj1PgWlIPHid/hbK9WenfbGflwxrLYnOer Xhtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=nGYf1fhn2ylqGDjCdL8Pr6vi1OKxBpdlXT11eofnhww=; b=UwxRMjQqU4VqMCq1yqwn9AgQZOsu9I72bWITOrAwHzFUQMTzqsBHCS6+5khYbZtEZP 72elHaLJuLtKQhkp6XZ+7uhvM5FiayKBQI1QMCkvsGrDxltmjhfCDU5FvcY/QtWt9CZk qpCywqp8S34BoTCdxpNtkXv3/2cObnYepydHR907//KqMfLQ/IZqvhMq14sDAw+KVw7U o6x4oKIF2keKGBzyGIOE6I2YBRsFDRDXq0nf+HvoUFkR6GAfaLYbqQwdT0fbsIWIpgoD ryXMfXwFxjqxKDCANZA+FL258s5xGDWr7UFfofGjTRYjKnAjoM+smxp0c9IJHDbv6O8K B2bA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g5-20020adff3c5000000b00206102db3b0si3420129wrp.502.2022.05.13.20.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:08:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A65483C1B5F; Fri, 13 May 2022 16:49:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359685AbiELX5w (ORCPT + 99 others); Thu, 12 May 2022 19:57:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359688AbiELX5t (ORCPT ); Thu, 12 May 2022 19:57:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BED25A59C; Thu, 12 May 2022 16:57:48 -0700 (PDT) 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 D35B46209D; 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-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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