Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp201835pxp; Fri, 11 Mar 2022 02:31:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbU5IxgtgLrKioTVUGKUBdRJ3QHJ4nWyGc9rDTJxnvt1PY7yo7BzIHFmN+FjOCeR5oGnWk X-Received: by 2002:a05:6402:13c6:b0:415:fb66:fb60 with SMTP id a6-20020a05640213c600b00415fb66fb60mr8247510edx.337.1646994660973; Fri, 11 Mar 2022 02:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646994660; cv=none; d=google.com; s=arc-20160816; b=IVp8fdVPm4YylfBk1V+Cb9egDR3B24+SMGRJO7lAMEglYX8IFvrNY/85WwbJxuqD51 FsN7D+lS/NBUYov/+xQRupepD1QDf3FlE0aJGVpCdDDomMV0cBDLVZ2G66KXXnyeX7at BgsgWqjY4Mu/Am23T8JM9gvSDfc8/3FTM+SAV8p8ZieLcBaMcZDRAxUeg8Ohk+wG5K+f DpQDUd0XBpNOZwxRDqe714Su7xTLwIM6X6J8RuOTBSVnJSDCL1mUKt4IYYqNoDxiy3RC BYXEtQ2DrI3syjxjSaqfwZPcTGxm+Kbq9TCEX4gZn+NnUa436yhTYSKW6J5WECHIfXLU EYHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6fZFRDk00Q3zeigqRio4keAMEWWmRAGUJBzI3wc4vAQ=; b=06DOP38pelJjaF2zr7ObBUIhPNMRpNrlxwHvjZyL+P5dcUUQ5NMnOg2q5exhzwK0og VIqNxYan/++iRTY7PPAiMvhWTBA+w8Yyoht4VX0xQpMRSopGx++E6hku4cjvtVgC0XOe rpGOTyc+dbOMEww+WY8rDrFC+SWVrkoV8uvLpl1R2MdorQrlku4V6WySjIwG9dHfzfyK sQawEIv/rwjrTJcOrVs7oTLqPbI8QL53r7Yc685AZLwsU2/y3F70MhCiFmAu3WpUxLbs gJLbPNNi1nrYqdRgGtd2nExwtwLmeIZl+COLQW2eecN6LgLP9ChTpGAGaYkXg6nt/jgw VvLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W3yXoQrH; 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 b19-20020aa7c6d3000000b004162b4188d9si4652925eds.247.2022.03.11.02.30.36; Fri, 11 Mar 2022 02:31:00 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W3yXoQrH; 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 S240179AbiCJIF6 (ORCPT + 99 others); Thu, 10 Mar 2022 03:05:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231814AbiCJIFz (ORCPT ); Thu, 10 Mar 2022 03:05:55 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F043D6BDCE for ; Thu, 10 Mar 2022 00:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6fZFRDk00Q3zeigqRio4keAMEWWmRAGUJBzI3wc4vAQ=; b=W3yXoQrHVgRBgOuCkBpPB/gz8i hHpRH4Vk+apWrTyQskw2y87v/nbjZdjLg7oC7wtFJqhUstYc7xgq0y+HAisvh8mnqBSDKqAXTESYr 2K2IfYS/ep4DZGEZ17uWrOuPOnjFFATpZVvLNTql1Puws/3qju2vWtYYV43zWXtMIePBH8RjcWpyP JOLOzsreGgH4Og22imza/oRbwSeqF2JvHJ9NX6bBauUPEKKHimWfhfq22gF2X7w7nJoIwFt487WPf Qn3wzRhRFI43Gwij7BVkwIRzfoiKsXZQLal43/RREx+fvK3fHmkG5X7FBgr4OuD0snuAW5Yaq9UaQ gtz59HOQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSDn0-00Bptl-RQ; Thu, 10 Mar 2022 08:04:50 +0000 Date: Thu, 10 Mar 2022 00:04:50 -0800 From: Christoph Hellwig To: Palmer Dabbelt Cc: Christoph Hellwig , michael@michaelkloos.com, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: Work to remove kernel dependence on the M-extension Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Wed, Mar 09, 2022 at 11:34:25PM -0800, Palmer Dabbelt wrote: > If someone has hardware that lacks M and users care about running Linux on > that then I'm happy to support it. I'll still point out the silliness of > that decision, but if it's too late to change things then I'd rather support > the hardware. If it's one of these "fill out every possible allowed ISA > flavor, even if nobody has one that runs Linux" then I don't see a reason to > bother -- there's an infinite amount of allowable RISC-V implementations, > we'll all go crazy chasing them around. It's not like Linux had required M mode since the RISC-V port was merged upstream, so any new implementor really should know about it. And performance on anything that requires Linux will just be horrible. I could see a bit of an excuse for a nommu port. Anyway, this kind of patch really does need to state the why. And it better be a really good reason.