Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2414274imu; Wed, 21 Nov 2018 11:14:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/XPAK0PySuXSZnQEV/mOanIwYcNQoKzot8kPobbiL1AG3BKEIZgO7Bm2TFCv86PiMEyZYmB X-Received: by 2002:a63:86c2:: with SMTP id x185mr6547038pgd.230.1542827678384; Wed, 21 Nov 2018 11:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542827678; cv=none; d=google.com; s=arc-20160816; b=zailoz+UIrn21gK4wZZ9hRh2r8DuSyJm4cyeetYPQy1I+2mBDzk1T/hNwi6MuYnJhy 6fgrQ3e2cKHlb+0GDtgeaZAdf0Ax8kpG2fpSJHrccTI7DyxlVwnzVEI8ex7qs9ayiCeo qiep0xSrg+qMyU+MFloSagTDCoqlBQ2d2b0tqUuUsjcSCEhDXREhgPe5GraH/iUnYYIc kRLUjMRa9+vLLt2QYvQvFqdiQ4mz6goO01pEZf5v0SBcMBAI6cpRejGKVR7haPvENOTW 1D9TArbQxaUHdu0e4hk4VCFAoLiR2Wb5ADL8aLceoeirtarAdDcBIAVSaQfAwUrANdIE 6hPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=fNz9HMYpk0d6K4pY0c1SItNlF0eQIZIZoJVVi47eoqo=; b=iwFO+deR/70rBDVOa+QVGuVi9F0j4N8Rk0Fy5GQceu2yPE0cu88HEiy7KTmqJgQWFM LWOABC//kRWPFedDE4+PTWvNKQlmWjulvpWTsSIO5Ce+QQUQS7AAqo89Cd+fVobKjU6m uDnY3B4ZXMILcRc2k0ARdjvnq/J/ujkieNSgRiKzZB1YaKUEQ5Gow/BbdA7nsuispdre +kGDxxKEPQI1MchCmz2ALZpkBaGzll1nh2vwaNWbb1g9VlcOIPVXUpqiCQQvGbpBfRqu 3DGY3zf/taqiF5A9lmPMRX0DlTMavq53Lz7r4YH5Kx7tqlHW/rI+nZkC7TwFhgwtWpjQ uYYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=ChYNux5r; 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 c37si23610601pgm.156.2018.11.21.11.14.24; Wed, 21 Nov 2018 11:14:38 -0800 (PST) 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=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=ChYNux5r; 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 S1733091AbeKVEz2 (ORCPT + 99 others); Wed, 21 Nov 2018 23:55:28 -0500 Received: from a9-54.smtp-out.amazonses.com ([54.240.9.54]:45732 "EHLO a9-54.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729128AbeKVEz2 (ORCPT ); Wed, 21 Nov 2018 23:55:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1542824402; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=fNz9HMYpk0d6K4pY0c1SItNlF0eQIZIZoJVVi47eoqo=; b=ChYNux5rT8Z5jBRH8+A0f/PipJ30CxMnIblcPelPUZoiFkygBW6R9EOpoS4npXjj hJlT9cZEIyX6Gn4ZkY8IiiqCiZ09p00TUZUfwLwnOXwPb8J/Y52TLyk1xc/efNpU0Ue OtdV82IyYg0kTvwY1gX5ueaE6H90c+K9TdYsDkqY= Date: Wed, 21 Nov 2018 18:20:02 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Nicolas Boichat cc: Robin Murphy , Will Deacon , Joerg Roedel , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Michal Hocko , Mel Gorman , Levin Alexander , Huaisheng Ye , Mike Rapoport , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Yong Wu , Matthias Brugger , Tomasz Figa , yingjoe.chen@mediatek.com Subject: Re: [PATCH v2 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables In-Reply-To: <20181111090341.120786-1-drinkcat@chromium.org> Message-ID: <0100016737801f14-84f1265d-4577-4dcf-ad57-90dbc8e0a78f-000000@email.amazonses.com> References: <20181111090341.120786-1-drinkcat@chromium.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2018.11.21-54.240.9.54 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 11 Nov 2018, Nicolas Boichat wrote: > This is a follow-up to the discussion in [1], to make sure that the page > tables allocated by iommu/io-pgtable-arm-v7s are contained within 32-bit > physical address space. Page tables? This means you need a page frame? Why go through the slab allocators?