Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp584041iog; Mon, 13 Jun 2022 08:35:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8o5jUd9D6G7mlhwI9u8btvr/HLPZiV+0Im/G0DmFE74LChM/D0/ydtLbnth4wHVj9glqs X-Received: by 2002:a65:5688:0:b0:3c2:1015:988e with SMTP id v8-20020a655688000000b003c21015988emr197589pgs.280.1655134527758; Mon, 13 Jun 2022 08:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655134527; cv=none; d=google.com; s=arc-20160816; b=OELpdhKDEasIZecHMXr7lmSO6bCMCf2CbdOXrdAvRn3A1UbYMrrZp0/lbuVvHU+5yD hIUEgZeT/UedawK7RvfcY+QEUcueuXSosd5J4d2JUI0ZgysB+ee7J3xSTK7V2u49/Z7F 2f4b46mcKmSgensEgPdijukASmjjb+9LmO2UHM6Y+j6e2ATlkB5cGL/ZckY/D9SnYQWa kNioI+xB23q9NRe7EG/+T55p5DW8HvMO0MlI0JgURLOmoJ2cTE1exeO7IqsYY3RlichA q5cJX9Hn3zXI+tLutZzEitravIGo+sgtaTkH0it5adl5cwbvXILs1vYikl0fuWful0lK D7lQ== 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=nuib28roYMY9b3zYlRDkZLo7rtXlFBW3OUnzQhJKr1wFklhB+3SxLxwvu2LVyNIbB6 pVKsaB+wzr5VL1lf5qdnuiZDWzz848szj5ubJnAVnbRREhfLwTx0YnQqRJ4ylijfk8CO e9T8rsegGUAo1CAZX6xAUPLLiQutCkL4EaMf/wt9Yazfg5ca98OY4fGIwzEUKDnCeva7 5Fdtyf/PmzNmdQK4OKWF04e3NJdWYwM7HGVOaHLYj0Av5u/LwnXW5RZ5Z9Bx14zWmDNj Nue1Z0y2ol0HfIVw0vfrk1BYCHHA8mqzCosh6aS6Y3nLuxy8qRuedWK9Nh2Qg7AA76IT Qxxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XWIAKEkU; 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 bk11-20020a056a02028b00b004019bf283d2si11805248pgb.554.2022.06.13.08.35.14; Mon, 13 Jun 2022 08:35:27 -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=XWIAKEkU; 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 S1359261AbiFMMJI (ORCPT + 99 others); Mon, 13 Jun 2022 08:09:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359202AbiFMMF3 (ORCPT ); Mon, 13 Jun 2022 08:05:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F399B25E91; Mon, 13 Jun 2022 03:59:43 -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 7F3C7B80E5E; Mon, 13 Jun 2022 10:59:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E002BC34114; Mon, 13 Jun 2022 10:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655117981; bh=96ceQgJASxyzZfSQvr0juwSMRmN1lL3Esf2pvX28VOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XWIAKEkUjdfER+NXpuTi7iudQzwMp6rRtAuWURzqtbXIvGMC3TEpc8qwmeH0I7PKi oDtq/tfX0C2+3/vliOpoLRs54BMe/lrPAjJ7phN+kBeT2WgsftvwlGE/+Sf1LfmOP5 PHWaRUyZ2Vhfy2Gw8OPLnALR3WW4ab0cKv95e6JA= 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.19 187/287] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Mon, 13 Jun 2022 12:10:11 +0200 Message-Id: <20220613094929.537369693@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094923.832156175@linuxfoundation.org> References: <20220613094923.832156175@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