Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp446763iog; Mon, 13 Jun 2022 06:09:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytxYipUypRbrMbQmCowH9jZ87uhbZIiOy8Sa2tcqxpAvZ0B+W+09PUyJgHqJyQN0KjyRmW X-Received: by 2002:aa7:92d2:0:b0:51b:4d60:6475 with SMTP id k18-20020aa792d2000000b0051b4d606475mr75030021pfa.73.1655125631206; Mon, 13 Jun 2022 06:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125631; cv=none; d=google.com; s=arc-20160816; b=CyiDpkqtpLyV2YX8ixLtrS94RK50ztZ8/iYsytn3GVouh+er0640cTW43iTApki4G/ LJ+bYcAVM6McJSDvPZWWlfutodQ1aJWV59agt7n1FLLrfWJ63zIK9UZ11WBfdxhYJGdj jyoEQzv8yq5iMTTmmKBkd0hWAX0MgRzd6hXVoyfEoyp1TY3WXG66KS6lG8XgNn//+qlB L3pDJ4qrba1M4Acfklr/v1pNc7az816SONPWxz32Br6Z4ZkbPg3D94Ff2/h+lJ8mpmT9 uL0AStjuGlEOAVv6KldUF/TpIboYOzLxH/HqdQ3zyMXyBATgixvBER/ObOXJI4gJz3tS lWcg== 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=g1O0jzN/geqIUrp39ynRn3EBJwbEk3b3SyE3eo91R+51ZNpo4Uw2/nGB6k2F5uGebK 6cwQT5X6/WZVLliCzjxy1thobuStLJeJ3q1ygQ3UfovjmGjWbZIuSbEMNdSh0Q+UV2ow Ls+WSiBnwl/4bSK+rpCN4/Vq5EGRqscOPcsdvkLOTVc2NIMIVk2vuZUrMHu9ztyjUwjB eV4z2Q4jRmIQ1M6o9+9GEeP5C/t1HOq3spe54oGP741YVayYniL5ssud0fFIporxw43q TC+MlVVHgInEaPm23Vyhqvb1bdIFqLyTHQHCo/yDxCoW2TmIUQ+ACNjFnrzhirM6xiiR /lcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AIkkePMV; 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 m6-20020a170902db0600b001623b7ba910si10213061plx.29.2022.06.13.06.06.55; Mon, 13 Jun 2022 06:07:11 -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=AIkkePMV; 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 S1354962AbiFMLeT (ORCPT + 99 others); Mon, 13 Jun 2022 07:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354383AbiFML30 (ORCPT ); Mon, 13 Jun 2022 07:29:26 -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 B8EC12DEC; Mon, 13 Jun 2022 03:43:53 -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 6E873B80D3C; Mon, 13 Jun 2022 10:43:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2FF7C34114; Mon, 13 Jun 2022 10:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655117031; bh=96ceQgJASxyzZfSQvr0juwSMRmN1lL3Esf2pvX28VOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AIkkePMVzy9bVTFeg1SaS/hwVUNjujKm+28zB/DPMkMxavg0xbSnv6gHLTy3lkJ8+ 5BYL2F4xxcSpKdmLnIiv/KS3tqFUKk7es0Q4NT5JHxb0Lm9w2uKZAYDXuwTnHs4DI0 XJ+J5k+dvg/P/VNUIKyvM0mdZ9s7whiEUIfUosKk= 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.4 273/411] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Mon, 13 Jun 2022 12:09:06 +0200 Message-Id: <20220613094936.943749121@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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