From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B01AC43331 for ; Thu, 5 Sep 2019 17:05:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57ABD20870 for ; Thu, 5 Sep 2019 17:05:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="H02C9PnI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57ABD20870 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LSPF2DzDQEHZmDIXf8oEuKpBFPsc3hM9N33l0hiM9CA=; b=H02C9PnIWxZyke lzngf2lPZnr1vkZEvEibzq9pfyyNJZpjnXniG6+m2vfC7LhxlJ2Bye33F8zM6usfR8RufpTR+sEIi ur3akvCgBMU+KZJVAVPxlFpTCK+W49K2UYI9/EbC+W6pOZUcOkH7pDzRuz4JQBuIJ8bFWG7yazpXt 8ZajzXPQT367axgwyPQYVxmZTjIBSC97gfoeO9/ZEbcGE74Dioqsi6/7vdVg7Yn7ZZJD/+UiD+vzQ fzumYl1ZB8IdhkdWBfkS+1kPOeSjCSMwopM26EHvhhbLELIxgeJcGldPJI70DM5I1v3A2Ci3Xgik6 i+OEz+Av6tCof14aEsNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5vCX-0006EU-UN; Thu, 05 Sep 2019 17:05:41 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5vCK-00063i-Sa; Thu, 05 Sep 2019 17:05:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DABAF28; Thu, 5 Sep 2019 10:05:27 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D80663F718; Thu, 5 Sep 2019 10:05:25 -0700 (PDT) Date: Thu, 5 Sep 2019 18:05:23 +0100 From: Catalin Marinas To: Nicolas Saenz Julienne Subject: Re: [PATCH v3 1/4] arm64: mm: use arm64_dma_phys_limit instead of calling max_zone_dma_phys() Message-ID: <20190905170523.GD31268@arrakis.emea.arm.com> References: <20190902141043.27210-1-nsaenzjulienne@suse.de> <20190902141043.27210-2-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190902141043.27210-2-nsaenzjulienne@suse.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190905_100528_969947_217D23C3 X-CRM114-Status: UNSURE ( 6.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: f.fainelli@gmail.com, mbrugger@suse.com, marc.zyngier@arm.com, robin.murphy@arm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, robh+dt@kernel.org, wahrenst@gmx.net, m.szyprowski@samsung.com, linux-riscv@lists.infradead.org, phill@raspberrypi.org, will@kernel.org, hch@lst.de, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Sep 02, 2019 at 04:10:39PM +0200, Nicolas Saenz Julienne wrote: > By the time we call zones_sizes_init() arm64_dma_phys_limit already > contains the result of max_zone_dma_phys(). We use the variable instead > of calling the function directly to save some precious cpu time. > > Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Catalin Marinas _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv