Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp230876iob; Mon, 2 May 2022 17:56:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa9Qkv4I+KnFqetTVpxBgsG29DXDjuGWVHLubGuqChu5n3RuDOJtadmgwNhnssxPjX3G8X X-Received: by 2002:a63:f4b:0:b0:3c2:2452:2d48 with SMTP id 11-20020a630f4b000000b003c224522d48mr5716928pgp.439.1651539392822; Mon, 02 May 2022 17:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539392; cv=none; d=google.com; s=arc-20160816; b=0nnWj8Bgw77bGnv5JYC0Vy9pGRmq6ftGGHlBsiwtWamHaYetZOxuwodpaX0G6bxzAj uTEeLcf9cY3bH7wZomErXFFT1OGYDVTVWD0DFnPoSuwIWdXl+RYP47r4OaSQhyEFZfdL cTthyFHdWnSG7ZRFio7izvgJFFT/by3nhKAmuTeJfYpo7ABvmsLRMTLv4TloVEmdeDBB gwTzUPUNlEUGejkvfBMDfYRpZuv4F+ljaE0UxV6TLYpBGg7orghOkpIs3fk1d1vUa7bI QHN7HUjtrWxz8ZyVOF28iCdKz3A6peQXkmNaxNFuP+bIuN7lbLQijMh0kIRhgvVTGuor OqCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=JoTh5iz5D1ToyvCfRGdT0TJSNVDnqdo6ZI7D7Qvsu7g=; b=rbmkAnvF9MGX3FrPYHX0kstIdh6QoJTTXFi3vz+dAVuQg3uOogjjWv4KMOfIQT9rXf lpOyz3xgAoWXHQa9I7coyqeRvylnJsksa9UbXjotgHxDVbB3BBVwMpQPzqBYcZEurBbG Jp0BAqI0o5f2I4I1TNwhwwGbaOv/O9I0nZ7QOOvlzU/J5y3YcEAkeBTSv8hZhPakxEzc vLCZxWcWOyXHlD+Z81B+Ngyk0xD6oM0h5+aOf0C+srADQxD6kQFmexSFQHyHLqlDCUEs gGY0DXZWDdEwSK7FEi0TgpSezQ+NEfNwoVhhxDsau8ywNJMzMTa0fHqt4R74LYoM1bXn cGFw== 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 b7-20020a170903228700b0015d133dea93si4667844plh.581.2022.05.02.17.56.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:56:32 -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 9908649923; Mon, 2 May 2022 17:42:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346475AbiEALfW (ORCPT + 99 others); Sun, 1 May 2022 07:35:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346455AbiEALfV (ORCPT ); Sun, 1 May 2022 07:35:21 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD871186E2; Sun, 1 May 2022 04:31:55 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 5AF6892009C; Sun, 1 May 2022 13:31:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 54F0092009B; Sun, 1 May 2022 12:31:52 +0100 (BST) Date: Sun, 1 May 2022 12:31:52 +0100 (BST) From: "Maciej W. Rozycki" To: Stephen Zhang cc: Thomas Bogendoerfer , liam.howlett@oracle.com, ebiederm@xmission.com, alobakin@pm.me, f.fainelli@gmail.com, paul@crapouillou.net, linux@roeck-us.net, anemo@mba.ocn.ne.jp, zhangshida , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH v2] MIPS: undefine and redefine cpu_has_fpu when it is overrided In-Reply-To: Message-ID: References: <20220429032621.674865-1-starzhangzsd@gmail.com> <20220429095104.GA11365@alpha.franken.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 On Sun, 1 May 2022, Stephen Zhang wrote: > Thanks for your elaboration.It helps a lot. > I want to submit a v3 patch like: > > #if cpu_has_fpu > # error "Forcing `cpu_has_fpu' to non-zero is not supported" > #endif > > but this will cause the link error if not combined with the fix: > > MIPS: IP30: Remove incorrect `cpu_has_fpu' override > > Maybe I should submit one first, and see how it goes then. Let's wait a couple of days until the fixes required have been queued. Maciej