Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2150401pxm; Fri, 4 Mar 2022 10:17:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQqdMx+GcTt2T/S5NvdO8lZYYQ/cBS+M0/UTMQWsuO05+TAe0IRjXM+tzZVkFbUsEJON6g X-Received: by 2002:a17:907:7f8b:b0:6da:6eeb:72e4 with SMTP id qk11-20020a1709077f8b00b006da6eeb72e4mr10669109ejc.311.1646417819938; Fri, 04 Mar 2022 10:16:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646417819; cv=none; d=google.com; s=arc-20160816; b=MUXB48K8GcSBxV1XuFQCGUib7bVSy4vb5ZK0eW6XHUeRF6oTIuDPzmcMGdfXa8u4vS UNI54FUcAadXy9A0xi2iYipv0ZwUrYnHGBZPgE4IKLjCbLebMs+FAvnA1riY/+iOS2KD SSXdAtuX7YJTH2Agn+Tt71yxjnrbvVv48hKSLxvKFnvAUUI8T2FpwkfR03KBSaVnNF9z RNeldC4GAG+/httDamNahMUquuZzdqFLpILvCF7f6PWoyfqFAfN3Wbi0SbjIt6JUHmSj BZ/CbroWdjJe/avoHwENIKZyjNM2oupJJMQY1YF4rvg23y+megeLJlY5JAIXkvOvoaZg 8g9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=f9gMOnpt3QQ746GU+MpQpgUsLd1wF3QwzfK+UpyF0RE=; b=tK9rnYcCD5UqSkvbcqvU2/u6mhD83FIg+SwO8H3V4RPmfrrHhcpvblZaWHv7kKW5I3 uGP9BTcKHaIJF9RgtoC3EoSSvW7j6OGdBjx5+UBTPm4AJYxpTNF2lns3ZGV3FArRvavY rihqwX8x9GHRdT7WVXJ0W78E4jjI9Qm3/CXshW9e4dNqQO87+rTROxkfXp+/tCDMzP6o 55+W/qwuePLy/DzIx16P7XkJAulUElmyvn3S18UxMD/qBfuP4rW+Jspjtd5NzoWTD5yo 9aA4ZJfXZ33veH0JSm2xCg8hKFJsgsxdNuEdaPh5bJTpYmFTV8VkcQ+9CARfC5sR0M/c +unA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ej26-20020a056402369a00b0041602b856basi1350664edb.220.2022.03.04.10.16.35; Fri, 04 Mar 2022 10:16:59 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236237AbiCDJJu (ORCPT + 99 others); Fri, 4 Mar 2022 04:09:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239282AbiCDJIi (ORCPT ); Fri, 4 Mar 2022 04:08:38 -0500 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F2024B417; Fri, 4 Mar 2022 01:07:49 -0800 (PST) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 0709A92009C; Fri, 4 Mar 2022 10:07:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id F3FB992009B; Fri, 4 Mar 2022 09:07:48 +0000 (GMT) Date: Fri, 4 Mar 2022 09:07:48 +0000 (GMT) From: "Maciej W. Rozycki" To: Randy Dunlap cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, kernel test robot , Paul Burton , Thomas Bogendoerfer , linux-mips@vger.kernel.org Subject: Re: [PATCH] mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n In-Reply-To: <20220304011328.27459-1-rdunlap@infradead.org> Message-ID: References: <20220304011328.27459-1-rdunlap@infradead.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 On Thu, 3 Mar 2022, Randy Dunlap wrote: > Include the DECstation interrupt handler in opting out of > FPU support. > > Fixes a linker error: > > mips-linux-ld: arch/mips/dec/int-handler.o: in function `fpu': > (.text+0x148): undefined reference to `handle_fpe_int' > > Fixes: 183b40f992c8 ("MIPS: Allow FP support to be disabled") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Paul Burton > Cc: Thomas Bogendoerfer > Cc: "Maciej W. Rozycki" > Cc: linux-mips@vger.kernel.org > --- > This builds OK. Is it enough for runtime interrupt handling? There's: #ifdef CONFIG_32BIT lw t2,cpu_fpu_mask #endif earlier on that needs to go too, and code in arch/mips/dec/setup.c below: /* Register board interrupts: FPU and cascade. */ (we don't want an unhandled interrupt unmasked). Are you happy to do such an update or shall I? I cannot verify that change at run time, because any program that does FP will then crash. Maybe init(8) and sulogin(8) won't. I can check that. Thanks for doing this stuff! Maciej