Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1066295iob; Thu, 12 May 2022 10:19:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7kR6Iyw7ws8aJpfiSDRVepE1ZfVVrTLuGqGa7Q/mQP6Zux8NNruzOJ0cm1u/K2nIpaZO4 X-Received: by 2002:a17:90b:3649:b0:1db:a201:5373 with SMTP id nh9-20020a17090b364900b001dba2015373mr558328pjb.175.1652375986760; Thu, 12 May 2022 10:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652375986; cv=none; d=google.com; s=arc-20160816; b=oXTWBDw+O1Ve+w6LzrFhc3FXiHRx0r6sqvJoqwNyryEB/fibjFmT2Zwap8K8fx4uyy //Og7lYhler8vTu43vCra7WcvlRU/q86YeidnPpK+nvE3WmHkKkCjVaE4eE0c9Zt0SxW xGpwOfTymNl28K6bzw0AREvM/IV7bgj4Y11Lm6B4xK/pzDfkREQcY4Mfjt3nI4saAySO QJi4wPXXF4lr8rpwNXrAIfUUDxypDZXETzhGc/XL9E4PrImx7NcP1zMfu2NzJBxpeW6j JsIXgmAbcQpJHHOpAfy5Rqv3qRYneZQlGoNcuRe1RBYCLPzcvPPk/FAHqrQgaA2hyzKn WbMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=ZWFmwKWOlLPl7XEc75NKSaHMr/hgroG2DFqYMNTA9rE=; b=Fw3oylxBePC3d0W0QF4qH80H0pp3npAIJ61ipgo7mjCO7pyk3+9xL8zbyAHyUPuHBh tufwYHdBxCpWlZVbCahI6+QN0BjyYRrxt+qYG6+inqKh3AnM18PBQQTAcio4+f0fYc7W 4VdbL/HIF0f4Gw8jDTdazm4DNO5dRN7jfV7ClXpQ6gQpwj7+LSeDVZkn0J6LAAxg6Nw4 FWe0plBjGaT8cqyrO5dBv6f69ZmwyNT9kA3QrrT39peaf/DlHmAgAuZe8REcsmTIDnGl xZ/lQmalzWjkRZfXSJGzqWyDLadSCtGJXvCTJ0jUp8ehYDzYIhUE/Anoasn2QB4PFmCU ysQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020a637d51000000b003a94e627cc2si4241667pgn.360.2022.05.12.10.19.31; Thu, 12 May 2022 10:19:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240076AbiEKMC0 (ORCPT + 99 others); Wed, 11 May 2022 08:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233231AbiEKMCU (ORCPT ); Wed, 11 May 2022 08:02:20 -0400 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2189464BF5 for ; Wed, 11 May 2022 05:02:19 -0700 (PDT) Received: by mail-qv1-f48.google.com with SMTP id dv4so1876965qvb.13 for ; Wed, 11 May 2022 05:02:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZWFmwKWOlLPl7XEc75NKSaHMr/hgroG2DFqYMNTA9rE=; b=hXDZTSzxzE8C9XScrGkgoXWC2ceK2aezYOxzShWLDVNI5bNVe/ZnpLpUQqaQKEveWu Ylv+VmTtr/49uXS8tyOqzvo/snznyT7Y2SXeOfkZARnn8+vTp588s56UuYTNYGPPQxA1 A5vTnAOVxeI9wRD7/Wd6KliL3SSvLCUEWtiieoXhBy7N5YfSIXE5/7NcAiNFdrcnm8Tj zwMsHZomalo9QBCRA+Hk3JjLnirvoNxzEYjNFb+acieP+Eak50LDk3vw8WJ2CyCZSxkD PLvphtl2RAK3RRcECUzuQqdF9BpQgtiLn4FLOF+WAubhfzXO19ubzOYHZJAI3pl2bCOR TmwQ== X-Gm-Message-State: AOAM533LUpoIPPkrZUppJLPQ6a5i5zSFGmGoR8s5uIFKitpYnyRs9nyo VrqnrmJOoPKn3Pb6lRet4cscRGozthabIg== X-Received: by 2002:a05:6214:27e4:b0:45a:a04d:d835 with SMTP id jt4-20020a05621427e400b0045aa04dd835mr21973699qvb.82.1652270536654; Wed, 11 May 2022 05:02:16 -0700 (PDT) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com. [209.85.219.179]) by smtp.gmail.com with ESMTPSA id n207-20020a3740d8000000b006a03cbb1323sm1072800qka.65.2022.05.11.05.02.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 May 2022 05:02:16 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id g28so3520375ybj.10 for ; Wed, 11 May 2022 05:02:16 -0700 (PDT) X-Received: by 2002:a25:6157:0:b0:645:8d0e:f782 with SMTP id v84-20020a256157000000b006458d0ef782mr24367466ybb.36.1652270534527; Wed, 11 May 2022 05:02:14 -0700 (PDT) MIME-Version: 1.0 References: <875ymcwek5.fsf@igel.home> In-Reply-To: <875ymcwek5.fsf@igel.home> From: Geert Uytterhoeven Date: Wed, 11 May 2022 14:02:01 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] m68k: math-emu: Fix dependencies of math emulation support To: Andreas Schwab Cc: Greg Ungerer , linux-m68k , Linux Kernel Mailing List , kernel test robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Andreas, On Wed, May 11, 2022 at 1:43 PM Andreas Schwab wrote: > On Mai 11 2022, Geert Uytterhoeven wrote: > > Drop the dependency on MMU, as the code should work fine on 68020 and up > > without MMU (which are not yet supported by Linux, though). > > Add dependencies on M68K_CLASSIC (to rule out Coldfire) and FPU (to rule > > out 68xxx below 68020). > > Depending on FPU looks strange, since that is supposed to be an FPU > emulation, for CPUs that _lack_ an FPU (ie. 680[23]0 without the > 6888[12], or 68LC0[46]0). I picked FPU because it is selected by all of M680[2346]0. Upon closer look, both the hard FPU and soft FPU code are protected by CONFIG_FPU, so the latter looks like the right symbol. The FPU emu code also relies on the CPU trapping on the proper instructions, which I believe you need a 68020+ for, too? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds