Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3878494rwb; Tue, 8 Nov 2022 09:20:11 -0800 (PST) X-Google-Smtp-Source: AMsMyM41GKhjQCSK4YnGj/srcYZEmVZGG/tZaFcf78Mgbyqcz93aqhymuG4Q9NiI0lvwdYHRKPuV X-Received: by 2002:a05:6a00:2187:b0:56d:4d02:5776 with SMTP id h7-20020a056a00218700b0056d4d025776mr51294906pfi.4.1667928011759; Tue, 08 Nov 2022 09:20:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667928011; cv=none; d=google.com; s=arc-20160816; b=rdrVQDL2n+oNLT6PUo/WWmUpXi7e1RaHpTDd6T+806zEz+9MPTskTY3QzhOHOlg2th LaB4KjoGr2JpsWHfWZp5eUHtRz1mlFPhtiAfFbqaZX9C3FXNkr10qj7BJNgCPeqAA80K 3kjbJR2tLrJqvnyKd1FWbplKfgLD2fRGD/DC+3BvMK5mbVjswdCtj8KRu++MwtMqKJKU grtdKRpRTxh27LG1KPd3GbVQ3H8nP2uGxZzaZsX4HX4soZgRaum/4GB6+E75106EToJM UTOLx4/Z/l2xmeomt3DQnw5AeOCmmSrSNvIruVvDEctyRYupDY5cyQuiAgQtRP/VfrJR JRUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Dun8O58lBKCdY6bAZa5joeNvKL5jxxNtypD4HyDbh2Q=; b=T8z1xMXwL5qBCbqMY7/50mXGmwQUjRMrHivD7aEXmJEP8ZINP+/y5udCA3pob9DfJ9 NeXmytjGnUCnVmSSQNOssoXzfgx9vwI2L0EQWzBYZWxN3T99WiCfzSitmNmq0TxWZuNo ONt0KQs+OgwozseeGPc6VI3BAQ1ml2FpYJ/tatTbGIMIHg1wx7PSVu1i5E6t7GDZzpp7 H7WJPFD7//rSzSgW56meDcodvx6XGW2QHiUdVYlvouIbcNMAURPh45fllV9w/d+fm3UE d7pDePgz63kZWPhLx9Hkm8T9psjNcJtsjKdQqUPcgiMHKRQe/MlyLKy4b8K32L0w6j+k VLCg== 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 x64-20020a638643000000b0046ed15b5318si14891651pgd.98.2022.11.08.09.20.00; Tue, 08 Nov 2022 09:20:11 -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 S233453AbiKHQmR (ORCPT + 91 others); Tue, 8 Nov 2022 11:42:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233956AbiKHQmM (ORCPT ); Tue, 8 Nov 2022 11:42:12 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A1EF458024; Tue, 8 Nov 2022 08:42:10 -0800 (PST) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1osRfm-0002pj-00; Tue, 08 Nov 2022 17:42:02 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id D0E19C1156; Tue, 8 Nov 2022 17:41:39 +0100 (CET) Date: Tue, 8 Nov 2022 17:41:39 +0100 From: Thomas Bogendoerfer To: =?utf-8?B?0L3QsNCx?= Cc: Jonathan Corbet , Federico Vaga , Alex Shi , Yanteng Si , Hu Haowen , Greg Kroah-Hartman , Jiri Slaby , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc-tw-discuss@lists.sourceforge.net, linux-mips@vger.kernel.org Subject: Re: [PATCH v2 07/15] MIPS: IP27: clean out sn/nmi.h Message-ID: <20221108164139.GA3277@alpha.franken.de> References: <534e0e7e4f2b0cc1cb35d5024192473635ed1b94.1667330271.git.nabijaczleweli@nabijaczleweli.xyz> <20221104145002.GA16099@alpha.franken.de> <20221108153820.fp5du7p7zr7pc7cs@tarta.nabijaczleweli.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221108153820.fp5du7p7zr7pc7cs@tarta.nabijaczleweli.xyz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS 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 Tue, Nov 08, 2022 at 04:38:20PM +0100, наб wrote: > On Fri, Nov 04, 2022 at 03:50:02PM +0100, Thomas Bogendoerfer wrote: > > On Wed, Nov 02, 2022 at 12:05:30AM +0100, Ahelenia Ziemiańska wrote: > > > The only user is arch/mips/sgi-ip27/ip27-nmi.c; this file was imported > > > wholesale in 2.3.99pre9-1, and received only whitespace updates since > > > then. > > > > > > NMI_MAGIC isn't a magic number; it's unclear if it's actually used by > > > the firmware in some capacity or if it's a holdover from copying the SGI > > > code, but in the former case it's API and in the latter it's dead cruft. > > > > it's used by firmware and Linux code to register the NMI exception > > handler. > Great, I'll put that in the message. > > > Please leave arch/mips/include/asm/sn/nmi.h untouched as > > it's documents firmware NMI handler usage (even when we don't use it, yet). > "Yet". > This file appeared in 2.3.99pre9-1, and hasn't changed since. > I removed hard-coded assembly struct offsets, which we'll never use, > because we /haven't/ used them, and this part is implemented in C. > This file's my age, and these parts have been dead for just as long. > > Yet. it might be never used, but what's the problem with them ? Those files came from IRIX and "document" the firmware interface. And me as the MIPS maintainer wants to keep it there. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]