Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp222753iob; Mon, 2 May 2022 17:41:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtN/wOElRDEI6Y2kKX2SM3LDPlQO3qyBKmVwVGu3KDejlUuFkfcit70VhTYlGErVzjKMUX X-Received: by 2002:a63:28f:0:b0:3aa:8453:c362 with SMTP id 137-20020a63028f000000b003aa8453c362mr11729672pgc.506.1651538483044; Mon, 02 May 2022 17:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651538483; cv=none; d=google.com; s=arc-20160816; b=prPmAQ1b12f1nCHXnmugM4BhPSCoKhVEyUDAYIDeQAD0z0K0xakk8Gb4z/DzHnUaIG IrNwvys0K6dBlJj5Zg5LSuUhO98l+OPVxqqnVsU85JeF9xHXTYcljaOn9B7WtiLrR+/e 1rWL7ygG4Ol770OWna5rjvT+ytqZz6Vilg7bjUEyypA8zXwCfHJuhOmy3elM9DbT/da6 yMhNsceg1K5eiMz8mo7rnevf/dWGLFcjTWIoCboElarBPYe03+diCssEG2/tN4XtmI/q /CZ8AHVMTAqmX2XTqVeOCWbqk032RqNxQY55+Etkua8hrO5oyAdFScbGAmsPebYwKBg/ aKrw== 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=77AWpAMrCWT8R07KQ7+jX+dd6wPb23C4VNZqCtDi9wg=; b=Quw2/sdQLBHSjbBuvVW6NKGSo4z3N1FKx3VoGo9STGva1JQc28e7WIvcYL0+eFx1wW p/5dprvJK4CpBI3sD3idTV2Fxsf9jBQHrOuGpv5/BvTqtievjC1YJ7RusVT9IJ5W1yFG IBDkFduXC1tPSvluiQ2GjIQpK1wIRLE6tkFLqSZaE+4TJ/602zW5xszrlMxxN2Nhdq62 akEpSAG9VfTA26w/7ZV553kyOnD7haUuy3cmN045OH7n9+W4hTfT+EY14npeLN84wktz uEFSqNVRryec7QKnVAOZLiXlp1X8PBoImUco/1zwrb+g8KQDyVi+ngglOQqmOzuZbeQv mIOA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y18-20020a170902ed5200b0015833d93f52si14309937plb.66.2022.05.02.17.41.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:41:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 ED79348389; Mon, 2 May 2022 17:31:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242650AbiD3PKl (ORCPT + 99 others); Sat, 30 Apr 2022 11:10:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242673AbiD3PKi (ORCPT ); Sat, 30 Apr 2022 11:10:38 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AB43B644C1; Sat, 30 Apr 2022 08:07:16 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id D0C4A9200B3; Sat, 30 Apr 2022 17:07:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id CD72292009D; Sat, 30 Apr 2022 16:07:15 +0100 (BST) Date: Sat, 30 Apr 2022 16:07:15 +0100 (BST) From: "Maciej W. Rozycki" To: Thomas Bogendoerfer cc: Joshua Kinard , Stephen Zhang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2 2/2] MIPS: IP30: Remove incorrect `cpu_has_fpu' override In-Reply-To: Message-ID: References: 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 Remove unsupported forcing of `cpu_has_fpu' to 1, which makes the `nofpu' kernel parameter non-functional, and also causes a link error: ld: arch/mips/kernel/traps.o: in function `trap_init': ./arch/mips/include/asm/msa.h:(.init.text+0x348): undefined reference to `handle_fpe' ld: ./arch/mips/include/asm/msa.h:(.init.text+0x354): undefined reference to `handle_fpe' ld: ./arch/mips/include/asm/msa.h:(.init.text+0x360): undefined reference to `handle_fpe' where the CONFIG_MIPS_FP_SUPPORT configuration option has been disabled. Signed-off-by: Maciej W. Rozycki Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)") Cc: stable@vger.kernel.org # v5.5+ --- Changes from v1: - s/chosen/disabled/ in the change description. --- arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h | 1 - 1 file changed, 1 deletion(-) linux-mips-ip30-cpu-has-fpu.diff Index: linux-macro/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h =================================================================== --- linux-macro.orig/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h +++ linux-macro/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h @@ -28,7 +28,6 @@ #define cpu_has_4kex 1 #define cpu_has_3k_cache 0 #define cpu_has_4k_cache 1 -#define cpu_has_fpu 1 #define cpu_has_nofpuex 0 #define cpu_has_32fpr 1 #define cpu_has_counter 1