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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 4CEF5C433DB for ; Mon, 11 Jan 2021 19:06:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E071D22A84 for ; Mon, 11 Jan 2021 19:06:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E071D22A84 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Wi50SmYD2+dFJ+oC//9KGcM3n6mJGJWr/Gd+GWzjfN4=; b=dlUjlbOuSKcktlhUfUHjRIM4F GumzMC0hGr5ur1U0MVK2lb81p/hQTH5nXokhyA55qyFdg31h3+c5EjW8Dfb5upjzIg8z6aqwq7+U6 +rGK8QlqxTqEcc7XQiHY3eiJy0SiPCugGTSAazRF3s07aZf2CTF+ZRFZFqRfR6DC1tjbIyzs48TPX xkHBwf8G8NOirrLn99L9z688mk8Czix5VSAiv26xsmu7OV37HrInpkAZpjTj+Z6VSBWPHsbl132zC XwBYg+TkTwdfydjZljaWUroErP9pH45Kcpicuv0uSZ/VIV4d3+3v+ybN7sbnOm0PvWddXbK9kRyDh tcmYNj9Dw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kz2Uk-0002ZD-Kl; Mon, 11 Jan 2021 19:04:50 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kz2Uh-0002Y2-7V for linux-arm-kernel@lists.infradead.org; Mon, 11 Jan 2021 19:04:48 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EB8DFAB3E; Mon, 11 Jan 2021 19:04:45 +0000 (UTC) Message-ID: Subject: Re: [PATCH] arm64: Remove arm64_dma32_phys_limit and its uses From: Nicolas Saenz Julienne To: Catalin Marinas , linux-arm-kernel@lists.infradead.org Date: Mon, 11 Jan 2021 20:04:44 +0100 In-Reply-To: <20210107184032.11815-1-catalin.marinas@arm.com> References: <20210107184032.11815-1-catalin.marinas@arm.com> User-Agent: Evolution 3.38.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210111_140447_384540_9A2B7E43 X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chen Zhou , Robin Murphy , Will Deacon Content-Type: multipart/mixed; boundary="===============5729172500881844044==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5729172500881844044== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-SJDs0fuIOaFoWkhXclfa" --=-SJDs0fuIOaFoWkhXclfa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2021-01-07 at 18:40 +0000, Catalin Marinas wrote: > With the introduction of a dynamic ZONE_DMA range based on DT or IORT > information, there's no need for CMA allocations from the wider > ZONE_DMA32 since on most platforms ZONE_DMA will cover the 32-bit > addressable range. Remove the arm64_dma32_phys_limit and set > arm64_dma_phys_limit to cover the smallest DMA range required on the > platform. CMA allocation and crashkernel reservation now goes in > the dynamically sized ZONE_DMA. >=20 > Signed-off-by: Catalin Marinas > Cc: Nicolas Saenz Julienne > Cc: Chen Zhou > --- Reviewed-by: Nicolas Saenz Julienne Tested-by: Nicolas Saenz Julienne # On RPi4B Regards, Nicolas --=-SJDs0fuIOaFoWkhXclfa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl/8oUwACgkQlfZmHno8 x/6c1Af+Nd1SYGeqXZdlY5akvHlKb/xkBiXaR8R9SKZcvioXYYL8LAx/w5gCs44f J9Q1p+Pds42fVHtls956cBAbvlBqEi10Miiya9bUx0l1U21IwCDxV08mRLxz+WWA KDDA7Mo+q4AYFeUo/f+/eubh6As6j/phJXJs6Ccbt05KOgFrFY665dCxBO/ZvOhW vXAhL9EGr5LeuXGbK4IeVSNBBZFfg7NGfJwBfyqChvA8ciThTWL7ozhOCa24QiyH 9SVmLwxi1hGQ2i8aTAyPagHJ1a4d8l4Y/HTy6doaSdgWts78Sus0IBTr8KCUERRt ARaqBF2Y5Qs5sCQ+wxkEcjK5NGEyMg== =S3mM -----END PGP SIGNATURE----- --=-SJDs0fuIOaFoWkhXclfa-- --===============5729172500881844044== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5729172500881844044==--