Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2202185iof; Tue, 7 Jun 2022 23:04:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt81Ik69Mex6bHQi4L8t4QUK36I8PA2gdUXl4aam3lJ0l1UMsKFAZzRwhXo4yT4YX7l8xn X-Received: by 2002:a17:90b:4d90:b0:1e8:951b:40c8 with SMTP id oj16-20020a17090b4d9000b001e8951b40c8mr11155961pjb.130.1654668268199; Tue, 07 Jun 2022 23:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654668268; cv=none; d=google.com; s=arc-20160816; b=ErgdmvvGuKvq7RX8tkyMF5W1Z6AmSpiiOQxkGXyvTebDmazXoJCDMxUj2Ck0STqKc+ dOETnQHDVvldc50F40MoF1GCTnKFbwedAUAFrf1zF3Jrm9xteHX8WR+aoHC4ma/WNd6u utqv8OFEdEQklreP2T29hlkRMYQXA5kR2bXWY7NJlX2aE4LnlSuyRD2KQi6pmRGhxbMQ FCgCAyIzmoQWKYrqK152kXnf+Zp2UyHPjmDMM83GyFH2a5huCkGPm8jOtsya+uf5DOXX kYJ9XOSv02uYSZUkpJUf7mXQQxxAuy6Iv+QhC0lqrbwHIbfV04TarlUGeZtHUpooeh3d ONDw== 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=Z5EzapOz5KS2HyHNEwRV2l3Vf8TBcpNiKZkbDgtf0xI=; b=TjUKOiGVHaSPJTJb0kuLQ+JRQwJbVHgnpoeu6GYsFcWzvP6dS2ENVdjbov6GVnFtzh oGp7s4RpB10SbwsBGw7hHlc9AYw1i3jmqQAPE0OcaNYfK+NtzGRHEvfSB6aSl/lff1c5 dl5QbNUbzV7Uy//Ks6NC+Q7nM4C94LL4XZbeDVUuPY05pACKSzKs2Nr1j0yDGLKuUD6V 4NKE9RNCKGGdWmYZkpkEkw6kdKy87APAV2MAFYCIW5lXhlarFyXV5V7igMgM+zKL1S+Z d98g0VZqMN95p5Kc3J4zzPA7qV8Q82Dy/taJRrjqQghuJh3ikPoI/DiJMSpNlu77gt0h iTeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YmMod0GY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id pc4-20020a17090b3b8400b001ca6c627df7si32062220pjb.117.2022.06.07.23.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 23:04:28 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YmMod0GY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5F8247BCCC; Tue, 7 Jun 2022 22:28:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387101AbiFHB1M (ORCPT + 99 others); Tue, 7 Jun 2022 21:27:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380910AbiFGW2A (ORCPT ); Tue, 7 Jun 2022 18:28:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373522717B2; Tue, 7 Jun 2022 12:23:20 -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 ams.source.kernel.org (Postfix) with ESMTPS id 48A74B823D5; Tue, 7 Jun 2022 19:23:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A620FC385A2; Tue, 7 Jun 2022 19:23:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629797; bh=0f7FHCUBIcpJRP8sBna+2OFuHoRs45yztzmQqDGxi/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YmMod0GYuEQRowXWLWxKoq4zl57f5ypWLJR3Zz91QGdCh9X8fY08wlgoFFJVhhMKh GfYkNEmIrNWPAkptWLcCQq3+34Cz1y0naI6YQUkpi6SiVn0uT0PqDzjI8SpjNk1GOi Z/sAk18/N+cNXslS1Ls0yJFAU5TkMCncUo1Q0GyY= 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.18 821/879] MIPS: IP30: Remove incorrect `cpu_has_fpu override Date: Tue, 7 Jun 2022 19:05:39 +0200 Message-Id: <20220607165026.682413301@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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 @@ -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