Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1081220rwa; Sun, 21 Aug 2022 00:04:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR4CYjiH29I/+ERK8C4IimjlMRYT2FANpw75SJWAcbFKl16V+McsftC4jC8/leqG1SooX/DI X-Received: by 2002:a05:6402:10d2:b0:445:d9ee:fc19 with SMTP id p18-20020a05640210d200b00445d9eefc19mr11510642edu.81.1661065439923; Sun, 21 Aug 2022 00:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661065439; cv=none; d=google.com; s=arc-20160816; b=PdGlFYxeKovD8kp9oGJ2eFt8v5cJqCnjBFnaRyUwaShBN8GsojKVYKoOXETlFx8tS0 T/AQ9QBmIHQ8yJMbGMoynFB92OSFGqL3/rpjrn+REUGJK0nRHQ6F6aKnAsdFs/oY0+Kd pDVyuUhTTM1Kes6sW1oUDehyadIHJuRZ0AzUvhp6t0Y8hM1KaMKVfEVX3xV1WKEOq8SP LmtELy/in1B2EjzgDGVE/owleoPjcaddh+dJd1PUhNyTUaYz3zuif2+PzbYJpjBytJTP ml21RZFdx6CuV9yclZjZE99SUvGly32PG0ujV3SshZetNo7VvjFdFHf/9fYmfeR35EVe LdtQ== 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=6ySj9j9saW2yCa8c+yJi3tbjUYdMOCd4L5+lUeBFBlw=; b=Tooiywl2WOfooVtAEyW09WvhhFwlZY/qn9Y08X583I0CIJzWbm+4wz4Q14DDQQVp2S ycuoOvDm9dS5HvSJxTPHPBR2jB2fSxNfobJEM6S11pO0b+JRTBxosNZ+iidrDvRiVKSx aW0KMWdxqV4gxcLvrdi2eZOnk8r5/QYwc0HvTaNxeXFJkfjIIPOq5l0jsYrGPaV+jmgr qkV9lEPs1d6xoCn/ziYJ9l09fnahPaM+BqzVGYRkJ2dCWXxH2hhpNoB1Cdz/SJnXLsDi aR4U2fLHtBdSzJgu6V3eNYPONaTpy2gfwhI8rJI+rP9pY7j5Yi97PiaOA63ijxTzKcPs nJrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=CFKmVhJo; 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 ji22-20020a170907981600b007304fac484fsi6112674ejc.466.2022.08.21.00.03.34; Sun, 21 Aug 2022 00:03:59 -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=@infradead.org header.s=bombadil.20210309 header.b=CFKmVhJo; 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 S229904AbiHUHA1 (ORCPT + 99 others); Sun, 21 Aug 2022 03:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbiHUHAL (ORCPT ); Sun, 21 Aug 2022 03:00:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3383026106; Sun, 21 Aug 2022 00:00:10 -0700 (PDT) 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=6ySj9j9saW2yCa8c+yJi3tbjUYdMOCd4L5+lUeBFBlw=; b=CFKmVhJoVtkiach+yo+gcT08D1 laKEfLo/oILc9TSGonwru5FCVANzuvnFwQ/3crz8lAV/BpWfSnILYuE//AXjRNbmM8YrOQlJEupHS Gg8fYZxHLqsSTkyzOfq/EHNVynE+0A/ZdKOEdoNdxRiFyWN1/o9Uww9lfjerTMmvne5StBJhBMIaV 8WqTlefjPr0wdF/b287jk6bBPSMrzgTblxlXRYz4yoYNKXM/9Nu+Fn0dZVmthfQBTUengXF73Q1fg m0z9GnXcdPuIH8jU84zUdx2pguBjgU1Fwag/Z98gSY8N1BWQsn1OfHUp+IEUTmwLWqV+/AzQKZTsj zpBdgLuA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPewJ-0073Ye-1x; Sun, 21 Aug 2022 07:00:07 +0000 Date: Sun, 21 Aug 2022 00:00:07 -0700 From: Christoph Hellwig To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, hch@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, linux-arm-kernel@lists.infradead.org, Brian Cain , linux-hexagon@vger.kernel.org Subject: Re: [PATCH v2 05/11] hexagon: mm: Convert to GENERIC_IOREMAP Message-ID: References: <20220820003125.353570-1-bhe@redhat.com> <20220820003125.353570-6-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220820003125.353570-6-bhe@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Sat, Aug 20, 2022 at 08:31:19AM +0800, Baoquan He wrote: > With it, the old ioremap() and iounmap() can be perfectly removed > since they are duplicated with the standard functions. Can you write a somewhat better commit message explaining that it switches to the generic code that has equivalent functionality? > +#define ioremap_uc(addr, size) ioremap((addr), (size)) This is wrong and hexagon should use the asm-generic version of ioremap_uc that returns NULL.