Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2186178iof; Tue, 7 Jun 2022 22:33:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2/G3wALbwGNfaKebtalAlsiBkd3vp5/NISVlwJB+g5Xjdknpc8ayTmaUW3YDaY6YMp77i X-Received: by 2002:a17:90b:1d92:b0:1e3:47f2:fd03 with SMTP id pf18-20020a17090b1d9200b001e347f2fd03mr35922481pjb.192.1654666386239; Tue, 07 Jun 2022 22:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666386; cv=none; d=google.com; s=arc-20160816; b=PfG5r0nkF9fXR6JTp86OP616DSEIt02VT4TtdzlAJ/peihi4y6X4pNnaxscGHIGpBg cl8itoG1JQ2vTEm5vedrOYSMRIUAIL1GemTxlsKjci3BAzp031d3UAyDC0r7L0cFH/0v 7M53CEGwHW3m042pBZcx/6cb3gJwl7OfITd8CjbB9zVcpbmwolS+1hXoXZTtP5Oo5dWY jQWVPbMXiNGxEfiOCwJEPaeXBsGoK1hbTp9P1Mvh5GpwPLAiqQlQdeUDOwh0psicHR3U 8THyJ0xE9Z3rU6HSAgYXubzxTH+BVxlhZLS90hd2BctEgZ4eJ5rAjAHR7Bog2oeZBHH7 L2bg== 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=aQToDPjws5heVAH4h4Y702AFHiVIFa1NobwUMB+7lzY=; b=GcEGp0XvO5Odndpk7BCIfSyKQ31qRLEZrLZ/szyofEwhvhwpdy0Sjn8WCd1cGWk8AX AFHJRshDMb1BxwSsKwYcIjzMAfAGCTK9gManD3WNOWF6J3hvjhcO+vUs9bvj6iZ+Leiz Q9I8hh8fRxDXsKlm+x+U+LPvSHUK1hQYrvvERv/jMHagPL6K2OBaYTYQhE7+LYWzAaI+ 63qwf81b8Qt0mwMTBMmb3kSMHsn89pz1JpViQNlbJ8adCMQ7Jtm8kH6yJ4xwiziepW1I TI7hI2/COXmFP6ufiYne7eWEFAOd5FcSksCohZ5CyCA4n/18IjTTyTJHFT8BaQC4ZMa4 P1QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HkuHYygu; 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 204-20020a6302d5000000b003fe1c0ace80si3405174pgc.105.2022.06.07.22.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:33:06 -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=HkuHYygu; 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 CBE1FD9207; Tue, 7 Jun 2022 22:00:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351990AbiFGSeN (ORCPT + 99 others); Tue, 7 Jun 2022 14:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351286AbiFGSB4 (ORCPT ); Tue, 7 Jun 2022 14:01:56 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B54A14FCB9; Tue, 7 Jun 2022 10:44:06 -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 sin.source.kernel.org (Postfix) with ESMTPS id 090ECCE21CD; Tue, 7 Jun 2022 17:38:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D899CC34115; Tue, 7 Jun 2022 17:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623527; bh=bcdIFeJXlB+GJWVD5AtTpUmtkilRANrSvoajawvCIEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HkuHYygu+TUthYkFKVBgZNLh8gYE7PhLYr0jr50I6WE0gUeNoJBvkpHmyAFGN0EWu i7DG2rKNd6i5HcJbALwP1dPanB39khbcxPjk/gf5c5dJ414+aPkEpQVgDcOJDPPnE1 oEpJR4RkkMnVCtZ0+RnAh9PWszC1zIuqs6+yfewg= 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 449/452] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Tue, 7 Jun 2022 19:05:06 +0200 Message-Id: <20220607164921.949577508@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 424c3781dd1cb401857585331eaaa425a13f2429 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: 0ebb2f4159af ("MIPS: IP27: Update/restructure CPU overrides") Cc: stable@vger.kernel.org # v4.2+ Signed-off-by: Thomas Bogendoerfer Signed-off-by: Greg Kroah-Hartman --- arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h | 1 - 1 file changed, 1 deletion(-) --- a/arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h @@ -26,7 +26,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