Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2179353iof; Tue, 7 Jun 2022 22:20:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXY0VvzHNWsh/W1d+YT1rQVBCCzobz+XQYjtrAlNTX/mhTbz1l/y2CrvV1jOCb5TeVSU0U X-Received: by 2002:a17:902:9303:b0:15f:446e:dccc with SMTP id bc3-20020a170902930300b0015f446edcccmr33068751plb.35.1654665654821; Tue, 07 Jun 2022 22:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654665654; cv=none; d=google.com; s=arc-20160816; b=hgas7iHopTngo94Q0AaHT8YHvmDWvXQDZOlArVdpXYsJGNmqiJ8qZUAdimAm5chplp ntCba12zkM6Y9h7z8bCWRJiM3aQwIr8kqClzG4ewKSJZdq67h5ekuyA95NzjypJl5kxE DIAlxhKQbuw/OfjkGLme7Wa/B9WDOwk7oJn3spe2ROLHDzgqJhqJ9ar/rLkTcPHJCWrn /MciwGttnlXbsBZvC5ByJNusrxlbzvtnJPS+1HjOTkajHNdKnhKCGKmHk9/imRDNiDvA /kbS4JojhRJo/yokLLZHV7l8WggzLE7Tdaza57FIX0mf58vZJ7CKDMb95FeJHPVKCaZk CaLQ== 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=SYbj8cbAezlEvm59zU/pAViA5otOjdAev5LvDFgDUM/M3ujmWwUJcRqUNAwfVTDWU3 zaQMi7Ec2BdzJyHhpPQQcLJ8UkwkNQdT71kqIME/hteNUi8URIy9VuQMSv6bE8JpffPL 6BILMdwdBFNTSZLl6uWNkTSaGe2ZifodVfseCvSnWwvfVzqo698ZUtrcPJdd0AJ4wHgR bAHkcGPjEdKCRgI+GpTN3U3Y0ZHblCs4Go4xxVCp8s8N/BWXleO/Nuv3GL/fP9jh5/cV VdUzrcj/EwBTS7X9UkckTykMaemn/JVpteUtGlZJEGTDsxtSuPZzL8WiHInqxKE56t3p iHwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hG1YHEcc; 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 oo7-20020a17090b1c8700b001e31c6cc63asi29946380pjb.43.2022.06.07.22.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:20:54 -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=hG1YHEcc; 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 841FD48494F; Tue, 7 Jun 2022 21:56:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379279AbiFGV5J (ORCPT + 99 others); Tue, 7 Jun 2022 17:57:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378198AbiFGVBE (ORCPT ); Tue, 7 Jun 2022 17:01:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7886520C6CE; Tue, 7 Jun 2022 11:45: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 dfw.source.kernel.org (Postfix) with ESMTPS id 890166156D; Tue, 7 Jun 2022 18:45:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A443C385A2; Tue, 7 Jun 2022 18:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654627505; bh=bcdIFeJXlB+GJWVD5AtTpUmtkilRANrSvoajawvCIEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hG1YHEccC9BhPI1jW6OozJys97flSy52bdVMOBKZAeGlearr1MOFPvuojej2V571O 4Q7i7M/QOm3I9SIYwW2owfLgjg1Qj5OHihgO84CuhoOTEN+IxskfpFte5rgWnUuEEd klpYB36EkwYkOt6efIda8B1S3zLKGt4r0QApQFGE= 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.17 763/772] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Tue, 7 Jun 2022 19:05:55 +0200 Message-Id: <20220607165011.506151674@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164948.980838585@linuxfoundation.org> References: <20220607164948.980838585@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