Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp443178iog; Mon, 13 Jun 2022 06:06:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbSCerWVfkJpiNCpH3Q6ZefRITYRmMycnBywoqdfQIaUptAcmcIUilxJquDLwQCdw6N5Rs X-Received: by 2002:a17:906:5189:b0:712:1017:8ce7 with SMTP id y9-20020a170906518900b0071210178ce7mr18570408ejk.196.1655125590576; Mon, 13 Jun 2022 06:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125590; cv=none; d=google.com; s=arc-20160816; b=VuIjFxLLgLbbM04BBjtrUOpCCcHQ/UtKfzJ/uBWV3jaCKqSJzMBvBabhQ0Xktvpefk AynKyNndriSn92etmtlf8OYWFPU5TDLt8Ii8O1nM9Bqu0oEHmqdapXDeI9IbtxEdTR2R FrQq776UnHT/86DBG4UZPmBglKNyHqfSw4syhaUe08Um3zVnqJCTmHpT7MkHQgwsg9uz 3opTwbLsaObIG/SAFMJBwD4AOOnHGd0tRphlFY8WArQOSjmReqYWPcvBEwV+KKWmIUlt sUL6SXo0QSqq6FcwPg4hzzXMtEZdl3t0JdNLCFEjm3apA/4wfob4OA2XVXyOy013/VK+ VQ1A== 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=rJOnPnYqnfcWrgy1daWa9o2wApmEwRtrUPfMg4SdjJI=; b=czNu5ioOxcrvZWIhZD79S29PAOAzrEPNN2LvnHhgdAR84/WaBcx+5UH1hUGMs8Ua8F DM6mgzO5/EHAYaB28pw0r83fXB/yXPT3ZmPisFTee/B/iJxHO5I9MgleImjul00t/IQj FkV/9XZkv2fr4gdovOuMVZ5sLqx54oQKZNcN3152v3fDApQT0FN7gjF7hKUbCimHXny9 U/HQt6rBWkVwAkFMW+tGAL8HbEhZJ/BaPAHEhxCuyG60Hw5Km09C/0bKbWx4k/WdQVsu 2XJSlmrdQunGbPbAdO8lr5v/xGie0KML8+JKKg62saMOZcfcau1psBhUkLW+NBZo/z6p ZzKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="NfPsVR/e"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020a05640213da00b0042b253cc1d4si7290404edx.347.2022.06.13.06.05.54; Mon, 13 Jun 2022 06:06:30 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="NfPsVR/e"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244211AbiFMK0Q (ORCPT + 99 others); Mon, 13 Jun 2022 06:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245249AbiFMKY2 (ORCPT ); Mon, 13 Jun 2022 06:24:28 -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 0E49123BCA; Mon, 13 Jun 2022 03:18:42 -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 442D4CE0EEB; Mon, 13 Jun 2022 10:18:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32396C34114; Mon, 13 Jun 2022 10:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115519; bh=96ceQgJASxyzZfSQvr0juwSMRmN1lL3Esf2pvX28VOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NfPsVR/eXfzQd9CrKpPik8BhSVdmtZcMwuNhQqI6nYomP0psTCyTDcgWvhsAYcg9e gfMW/HRhOxC73SWlssvkdDEF8YaZ7CYmcY1IgUCpRvcuCzT7lXBGrTJ2tl6ZYdtuvk zz7Zre98i42sPRhtWbluacjj4jdfiRyZqmgLfYY8= 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 4.9 106/167] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Mon, 13 Jun 2022 12:09:40 +0200 Message-Id: <20220613094905.610346751@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 @@ -28,7 +28,6 @@ #define cpu_has_6k_cache 0 #define cpu_has_8k_cache 0 #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