Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2635056iog; Mon, 20 Jun 2022 01:04:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t68eiCXKKqQl6zT2NgIZmv0cU3PNk1OKMlzJqPch1UKBS2UfXTb1CjBc0lXhboS1IkGB5N X-Received: by 2002:a17:906:51d0:b0:6ff:2415:fc18 with SMTP id v16-20020a17090651d000b006ff2415fc18mr19590387ejk.94.1655712248761; Mon, 20 Jun 2022 01:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655712248; cv=none; d=google.com; s=arc-20160816; b=aX7cLeHwrESN/CpOu6iMIq2CDsRFO0BpBOJf7kkYeqRSrH/qwDUY05EQu5ZctGZGrJ M0kH8VjBQqt2tUrsd6Y9s02Lt9CqYjJnRNZsWIUuecYnMQImMtFFeAecjDLCPoK7kZrq KLpY6K5HLhoSdGOWj0uWC2yiLo7gdSTpn5PyB0qrc6aysGlVx5a6QWVkTtjB7xbLi87r HtcfSJDMVUx7RLTd3NOx6ZvvSGJPG3QebUmtWRlKbOwFiqjxXzLYJFzPIxjrwzpDAB3y AFyN+F/QJwvTJQQyS8Mkursu/l3hSp92BBjY+I2MPeqjyRXTR9DaTgRnn8dN24izB81V IL/g== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aJJnT4zclmacL4UgvqdNW3xFVCPv4o1bWIuWGMWxMRY=; b=HAzh/avoDn0kJnfKAZOgm60HIRdsceMxmC6+CGdnF7XL5DNnjZypL4sbEHzwJsrwMs Fs9Fg7w8wr1BzrYNOPjkE7eERIVatL1TRyR/cK5fpQUgCijeZpRdHJ4olN4ZyZ18ZJo6 fWKx/CUupS45+hWtU7fVW9fVz2JzR4Yqjo6aLhoW6i7T173rj9NNZfpQVEyXP7hgT5N+ 2uQYJ4OV7Y6u1orUrG2zcCGGd1NmrJQBLbXkBGPYNIgnW4xuK6Xuc41JgvSdc9Xai0Nt CmvVJCtJX9hcKS+cBAg7hKxuqJfDZQ/mJ0eXF15d2JJPxpC1TBBbhnlGduhJoK+7SE2e uzWw== 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 qw29-20020a1709066a1d00b00718d0985a97si14276962ejc.666.2022.06.20.01.03.41; Mon, 20 Jun 2022 01:04:08 -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; 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 S239073AbiFTHGN (ORCPT + 99 others); Mon, 20 Jun 2022 03:06:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239046AbiFTHGL (ORCPT ); Mon, 20 Jun 2022 03:06:11 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21FB89FF3; Mon, 20 Jun 2022 00:06:11 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 1260868AA6; Mon, 20 Jun 2022 09:06:07 +0200 (CEST) Date: Mon, 20 Jun 2022 09:06:06 +0200 From: Christoph Hellwig To: Geert Uytterhoeven Cc: Yoshinori Sato , Rich Felker , Linus Torvalds , Andrew Morton , Jonathan Cameron , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot , Christoph Hellwig Subject: Re: [PATCH v2] sh: Convert nommu io{re,un}map() to static inline functions Message-ID: <20220620070606.GA11361@lst.de> References: <8d1b1766260961799b04035e7bc39a7f59729f72.1655708312.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d1b1766260961799b04035e7bc39a7f59729f72.1655708312.git.geert+renesas@glider.be> User-Agent: Mutt/1.5.17 (2007-11-01) 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 Mon, Jun 20, 2022 at 09:01:43AM +0200, Geert Uytterhoeven wrote: > Recently, nommu iounmap() was converted from a static inline function to > a macro again, basically reverting commit 4580ba4ad2e6b8dd ("sh: Convert > iounmap() macros to inline functions"). With -Werror, this leads to > build failures like: Stupid question: Is there any reason sh-nommu can't just use the generic nommu ioremap from asm-generic/io.h? Then again how long it takes to to fix any sh bugs I'm still wondering if we shouldn't just drop sh entirely given how much of a drag it is on everyone.