Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2466316imu; Wed, 21 Nov 2018 12:06:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/X5i980KD6gOfVAc6DD3O7CGxrm3n4Kf7ZcbRBE3aeEiducLhKH/aLRVfkUoau35ZD90Ixy X-Received: by 2002:a65:60c2:: with SMTP id r2mr4251255pgv.393.1542830802464; Wed, 21 Nov 2018 12:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542830802; cv=none; d=google.com; s=arc-20160816; b=Y0qmGzFdAqZomomuvGCoHiiC4K4SYKmoOGkly35my6+PlSJZcNt+TQIQGxLjVRTYGS B23Cywk7oDXlSm790yvh/z5JWPpNA55danzUZRwAIEHj+LxMl8AVoQ/V4QAEhxy1EB+k boaXxnT99rMlDUb2RvvgtA05qQiW6yu3Ncy/cUotdH2CcIaFavs2ccVObR52D60jWK4h 3vPzN1MPLhc87bQXjAlyj3SRI1OqVaUlaIpvhCWDgT2yi6Jf/o7uNjmkGI1fURusEf4b bOiNXP2lTKQhW6Gx95y7Gfo6bMmL05z/Qb5rNq19JUCrOCrn8AT8211C3aIJE0lDRlPV jACA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=fmK3wbCj1PhV/woCVpaBJNyuEf2GkvGxLfGpnIvCXu4=; b=jB206qqnzjjFSIH5M7L0gAs0Q+aAotSpB6FLnIVpYwO65tg38u93Mgmf2Uc9l4etxa s23S9lDe7aEuK3lVOcWR1xrpZWuQPWAQmsUrRkpd22Qjbuhx8wicNUy1L+J3xQnst7r0 F5CG/9CHFq8FjJQ1Tylzdhg10193BKtbc5+pd+7MquYv7RqtnPWbWn149Rj41Vu8vWo/ inNaf30iZn85k7iNkmm9VYbMh//QjJ0S5SthNsVSEW7M8ZxYKULfPMUuV8xcm9vybhKp dwz0zGYAz+KHT31uVGlcrm6o8mLBgez7HN+0mB1JKxOMvki42YlsR+CZTcOoGUOHOHK/ MHaw== ARC-Authentication-Results: i=1; mx.google.com; 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 s5si1139538plr.211.2018.11.21.12.06.27; Wed, 21 Nov 2018 12:06:42 -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; 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 S1732537AbeKVETJ (ORCPT + 99 others); Wed, 21 Nov 2018 23:19:09 -0500 Received: from foss.arm.com ([217.140.101.70]:56086 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731032AbeKVETJ (ORCPT ); Wed, 21 Nov 2018 23:19:09 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 37B9A3617; Wed, 21 Nov 2018 09:43:49 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C84B33F5AF; Wed, 21 Nov 2018 09:43:45 -0800 (PST) Subject: Re: [PATCH v2 3/3] iommu/io-pgtable-arm-v7s: Request DMA32 memory, and improve debugging To: Christopher Lameter , Will Deacon Cc: Nicolas Boichat , 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 References: <20181111090341.120786-1-drinkcat@chromium.org> <20181111090341.120786-4-drinkcat@chromium.org> <20181121164638.GD24883@arm.com> <01000167375a15f8-362aa1e2-cf01-49b5-92b5-f0a4efcca477-000000@email.amazonses.com> From: Robin Murphy Message-ID: Date: Wed, 21 Nov 2018 17:43:44 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <01000167375a15f8-362aa1e2-cf01-49b5-92b5-f0a4efcca477-000000@email.amazonses.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/11/2018 17:38, Christopher Lameter wrote: > On Wed, 21 Nov 2018, Will Deacon wrote: > >>> +#define ARM_V7S_TABLE_SLAB_CACHE SLAB_CACHE_DMA32 > > SLAB_CACHE_DMA32??? WTH is going on here? We are trying to get rid of > the dma slab array. See the previous two patches in this series. If there's already a (better) way to have a kmem_cache which allocates its backing pages with GFP_DMA32, please do let us know. Robin.