Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp443870iog; Mon, 13 Jun 2022 06:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznSdk7g9xdKRboWM3O9YMEV3ks0FVnNHJPemFkLuIrT0fS6TnyrGVY3sMF2HF5btCy/1Yh X-Received: by 2002:a63:1f22:0:b0:3fc:b45d:2c83 with SMTP id f34-20020a631f22000000b003fcb45d2c83mr51214122pgf.69.1655125626723; Mon, 13 Jun 2022 06:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125626; cv=none; d=google.com; s=arc-20160816; b=wzuHA9LBNJg7mPd/UTb8knCcgYjssZn5CLM7/wM1dBj/6gRFvxBReUCmvtZy0srrb7 QwVNv9r1qKKND1qC0Pqx7+173lXPONi0WEHkuQGGzGr2KGQTkhEfjTUgTVMEyg3J25tf fKbYe1quAteX579vkMzSf9PZhenaz7aswJxfRBkk6Sy+jS88VC4JEJLBnR81kuugr+AU 8ANj9QRpfPE/eET4Hpsv+vggJlQ3Zlj9QmdAPyq6DbE4otNguNz7DvUjk/hwCSYdA68T L1Bfu2N0qOLtK6ZaxGCWGHuJhFr3gddht4Bn7eF8mdv6jS2qEjyqMrQIjELl+nvDuA5Y L8bQ== 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=r8YkzlWImel49RA5zd1gWuOQOkWm9bWKL+d9Ty/xpPmV18dcC7NkxMKC9pyLvZ4H5O oiAEHFjkNdwbMMuX2xhGRRInlHtOMw2kq6iPTDEJm8yIJ0T0Fz7JJRtyaf/Q5EOm5ve+ Z4eHk3DQUZjUFHv3Zcd9kGXZIAFuK0ZNpIwJqfL9ydLDCuaqLmJjUk0i3iP4lTwclRDT wPlkRzy16i8YbTXBiqQcl0thvWU7UqOMC9lbW7hNnj1TsnaRYYbod6lBaMULHRFowqnY Ua/Pd7zUNBrmQniTWZXt/CFz7slEQkJ9MGUtlYPMhmhKQ9PbnW0jlmroK3TycnB9mLLL U6qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=URykTnEE; 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 o3-20020a63f143000000b003fca01bf92esi8077615pgk.482.2022.06.13.06.06.51; Mon, 13 Jun 2022 06:07:06 -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=URykTnEE; 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 S237711AbiFMK74 (ORCPT + 99 others); Mon, 13 Jun 2022 06:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350174AbiFMKyo (ORCPT ); Mon, 13 Jun 2022 06:54:44 -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 C3580CE1B; Mon, 13 Jun 2022 03:29:52 -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 7B7B8B80E94; Mon, 13 Jun 2022 10:29:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFE7BC34114; Mon, 13 Jun 2022 10:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116190; bh=96ceQgJASxyzZfSQvr0juwSMRmN1lL3Esf2pvX28VOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=URykTnEE1IqZGcMHZCwLp+VIkX/wivHEJ2khv6wh9SapA8sulsUEEHrA6Bht+aMm7 5LLdmq0SdPWia6C++UU8L49XjCDETRmbGvBUYJlG2qUR4ShxU/ZDo7CLurWMJFI6J7 M1Oj2dkzOm/hEkxuKczY38P1qrasjQn8Tgro3EyA= 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.14 138/218] MIPS: IP27: Remove incorrect `cpu_has_fpu override Date: Mon, 13 Jun 2022 12:09:56 +0200 Message-Id: <20220613094924.771143010@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094908.257446132@linuxfoundation.org> References: <20220613094908.257446132@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