Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp353711ybl; Tue, 13 Aug 2019 22:25:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0b2WXl6l4/6j6AOzSk92WtlBF6XygI3b8cem+5wFeWCFVSxjZ0XUkbxJF84Mg8lk3C8hO X-Received: by 2002:a17:90a:bf92:: with SMTP id d18mr5663801pjs.128.1565760322305; Tue, 13 Aug 2019 22:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565760322; cv=none; d=google.com; s=arc-20160816; b=BKChmti9iPCSfFsguo3MBFN8CqbK9pq+FKv/pH9NqzO/OypnLqaeXlTAqEdgHSkOnB xNt0YpWdIkGyMvxsLLYIUOK15cBV4nlg5anCklifz30CVxdSmb9TaGdbnPOeszF+irok xPx+BoAYlmmD2RbNUB+BVydnSz88MNYF45rykU2feMb8WhlBgatCflOUJCh9gU08wcya qLsxXvwZTj0hL0Nk+Fs23VYGCldFnziEYbBY6kJSMtmKjsxWlL3/EAMY1LcClL9XUuC1 hXmje1UJBvystFUTtOftItUvLVNhlQAnxIN60XIFQCZ+/uxGUXv9K1vL5m4GIqK/FFT9 CZ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6A+GI4gZGWyRuDQP+niAaChFqcQKKkaIrqbRkUwGXwo=; b=Fy2RarIJTs8hMgwvckpJkNuwBRuJ8IZ65lFEnjE82EOa+PAWpWo7WTuWtqVR3j5Xd5 4lnChzV2ci7Fm/LXG7kH9r3mKuHfWsoyTuWexMQkPDuuJlLWPm9VhHKLGtOOHETrQwJF O6ZGImQAkQUitw3s6RgKOwP7D2lmgQXi3XUghUQLVeSPo2vPd4Ewe1EXnrFRb9KoNXuT WDjlMttI6Q7JRcoZ2MMkgbNs0PsAMyOsV1J5yJ+FvYApt6Qls/BGKOwurQzMS9Tk3+7F fodn1IQzZAaEuNLFIj0aTPpW5zoq08J+NZSQMJAuJKlhvbQn7szCk93ze9XEv6j6/Qhk vhnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TD4osz4E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si2271163pjb.40.2019.08.13.22.25.06; Tue, 13 Aug 2019 22:25:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TD4osz4E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727382AbfHNFX4 (ORCPT + 99 others); Wed, 14 Aug 2019 01:23:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:59314 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727041AbfHNFX4 (ORCPT ); Wed, 14 Aug 2019 01:23:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6A+GI4gZGWyRuDQP+niAaChFqcQKKkaIrqbRkUwGXwo=; b=TD4osz4EQt2utwjTeRlilo8KF 06vLqy0TeQlMHW4j741qZOyLyXwopNKhNwi2vlkRKGg9Yg1PxwzKRgG1Mc4MHQx+dNo8eClQKtoEx WVgwKQn8hXYR1UahF9IN5BgNOm4+pFRwYE2pTzia4ioSPS27uw1bigd+SfLa8sDEd9QhyxmlBkUv5 Gg4qZfQNaQcWWI30w0nZCs9TPaP86aoeMEYsOWSfOayyFw72PUgg0ktHzNJFVbxeyUAbolb7YEBsx K3xDBThon40273qLCQs5OcEQFSH5vgHmUkjm5lM9iPycSDpM/xaviZY1sZr3qN3lqiWZkzlhj/6mx uhhkwQNJw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hxll8-0003G0-DK; Wed, 14 Aug 2019 05:23:42 +0000 Date: Tue, 13 Aug 2019 22:23:42 -0700 From: Christoph Hellwig To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , npiggin@gmail.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 08/10] powerpc/mm: move __ioremap_at() and __iounmap_at() into ioremap.c Message-ID: <20190814052342.GB7545@infradead.org> References: <6bc35eca507359075528bc0e55938bc1ce8ee485.1565726867.git.christophe.leroy@c-s.fr> <84bab66e7afc4b35e2bd460a87b5911c1b0830d2.1565726867.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84bab66e7afc4b35e2bd460a87b5911c1b0830d2.1565726867.git.christophe.leroy@c-s.fr> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +/** > + * __iounmap_from - Low level function to tear down the page tables > + * for an IO mapping. This is used for mappings that > + * are manipulated manually, like partial unmapping of > + * PCI IOs or ISA space. > + */ > +void __iounmap_at(void *ea, unsigned long size) The comment doesn't mention the function name. That's why I ususally don't even add the function name so that it doesn't get out of sync.