Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2287360iof; Wed, 8 Jun 2022 01:29:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+3FAeZaaurZcDPt+c9qceUCiMog7VcaHnXmitEPWZxeC2Ym06oLulMOqrNNBNIRUoK2r0 X-Received: by 2002:a65:6055:0:b0:3c6:adfd:5135 with SMTP id a21-20020a656055000000b003c6adfd5135mr29268376pgp.146.1654676959527; Wed, 08 Jun 2022 01:29:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654676959; cv=none; d=google.com; s=arc-20160816; b=c4PwMC7FE0UBBA1R7wfa/XoI/gCehp3bfQ/yE+bB38DxIUKwgHEAb6zLxUbAKMzG0M neNVE+N9k1KeSJOEPwd+xd/HNbyP08E8etqtvv1FpklP0oPWs51YbjGWurtnlFgVYlha 1J1Dwarv57Ml3D4cLog7g7HvBi8rioznMtsPAmKK4xjLqWUAwfWn/5s1XgLACmkJkAyu 4VH9jRLeA8wzqigXRbfg/Xpxsx7TIZqcBf1PEu3QroYVOgJYXZ4XV/Ve8/RGt/JA98GN OqzEKTj7MCosbfdSdDa/v3IH/pxbcaMZFj2lQPiENhYAu0ZZmL4IktHuXUDr/cqi6kdr uJFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mbu1PRsLdSg/pazwZEH7SWqPcL9XDEKBPlfnPn/CADY=; b=0GzyyrPnElMTw0UkuTdr+WKs1LItElPkTtJS9fR/RdwZ1Ho4sVsCKGFcX3CcVaoC5w ATd8jaTGNg/TgKZAXg5ZouBarR9iwxBqeGsCzewmiHxoF+asa86KsEyMiVRxGT5Q/Q4g GfAEanCy0MnehGAr1jdRJu9lpNkMj8Br03qnLeU1pNS/7LzyE1J+uSh32uQZcuEV0TAy 94Nw996dUUl7zJAgs4CcUjD/jWusDR+26yWKdmfzZjh0oiY8vVJe6KOi6HQitTOG1/FY S8vwoa7T8LVjX7ldVrWYTCJmJamhdIo2Yfk4KOUdY3SCiVruOWgfT3LSYRnljxLx7XxZ pAiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=S9eCgzDK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x14-20020a056a00188e00b005061eb330a1si29745686pfh.351.2022.06.08.01.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:29:19 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=S9eCgzDK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EE52BED3C6; Wed, 8 Jun 2022 00:58:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349756AbiFGSNH (ORCPT + 99 others); Tue, 7 Jun 2022 14:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350108AbiFGRvx (ORCPT ); Tue, 7 Jun 2022 13:51:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E92FC1406C2; Tue, 7 Jun 2022 10:39:27 -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 80440614BC; Tue, 7 Jun 2022 17:38:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EDACC385A5; Tue, 7 Jun 2022 17:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623529; bh=P93cyAbJAwdWUFf2HFYq9K7w37mCzMvtd/q/MFN3/kw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S9eCgzDKslaA2qQyeO1rEgGl/K/yI3SlIKqvWwbXGHWygeyN2IFlZrmUUreOAou+i ye4pYLHi6b3ckZfPvbimDm5d/hoS8MwN5uWHJ0sPqyzlreUAkYOF8gP4wWllEdKF/X jtjbQaGRYzaVcVBwyy411G3gNBNYFu26Ncv59OKk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Maciej W. Rozycki" , Stephen Zhang , Thomas Bogendoerfer Subject: [PATCH 5.10 450/452] MIPS: IP30: Remove incorrect `cpu_has_fpu override Date: Tue, 7 Jun 2022 19:05:07 +0200 Message-Id: <20220607164921.979767863@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 From: Maciej W. Rozycki commit f44b3e74c33fe04defeff24ebcae98c3bcc5b285 upstream. 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 Reported-by: Stephen Zhang Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)") Cc: stable@vger.kernel.org # v5.5+ Signed-off-by: Thomas Bogendoerfer Signed-off-by: Greg Kroah-Hartman --- arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h | 1 - 1 file changed, 1 deletion(-) --- a/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-ip30/cpu-feature-overrides.h @@ -29,7 +29,6 @@ #define cpu_has_3k_cache 0 #define cpu_has_4k_cache 1 #define cpu_has_tx39_cache 0 -#define cpu_has_fpu 1 #define cpu_has_nofpuex 0 #define cpu_has_32fpr 1 #define cpu_has_counter 1