Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1472712ybt; Sat, 27 Jun 2020 09:16:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrF3N823L1Og6UYtTSaPk696D/fm5p+zb4+3Aea8sxfyjPZ62P2ZP+2oa9OmTQaGtI4ZUE X-Received: by 2002:aa7:cc19:: with SMTP id q25mr9062491edt.26.1593274601018; Sat, 27 Jun 2020 09:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593274601; cv=none; d=google.com; s=arc-20160816; b=B7/lC7YSzxXqiMafLClHLEMLBPtRpl50CMF8Yi/qXhpnzyaYo99DG2zW72P2PYmE04 qRD/veoB2pbGYIh38gESmdeegCBu1bBIFNu0UI6oAzi0HzwVdVq5/e8+gCUk2adEqsp7 cUusyHRzBjTRorhRfT3j3wSa4Rsb4SyoOVUicNtoje9S22V4fiY5uWM+nbg0i+eQUTEg 0rha2xfJarNYQp6glTxNsBbCyjHHjHwqpYGaU7VwvTD6HcYX+FyJoYn6HIWmQtjXCcB1 Hh97Y2M2qs5N4Akgr/+5abF4VFdhBa1tlD7eMDloR/9MMaUixYdq+5T5iOu2uQOxKYkC ysAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=vmibEapp7i3W4JySl1+J7TZsKPglhBSI9BnbzZn5bMc=; b=BUiYw4lap4csa0xAWXwuZJmdRDnbVLooGea2cSw0CKo5vp8xqvqtoEF9stey/y+Dho SCPov7YcEBr7y1DRyYGN5rRJRk7BFIRfJYQv2GtBwqF3KhkHR8iQnU6LL7LHsZkUwYm2 A5hc5E0dClYDpfXaAzeXYEAtEEtftLs3ZU0oBPjLY5tEdCtjxbTen4xijytJXN0fl+u7 i9T6MrVNN1XqDu64cJ0SSwwaemTewczMELjBNWHXjnZajkMdVWhydcPht8WNew16FqWg rqf6lfdmv0bs6o2AonuGy0yYgS/lJTz9WweasuBEDdq0K0VvKSnZ6d6rJB6z5jWH+c2P weFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si11778035ejx.493.2020.06.27.09.16.17; Sat, 27 Jun 2020 09:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725975AbgF0QNv (ORCPT + 99 others); Sat, 27 Jun 2020 12:13:51 -0400 Received: from smtp02.smtpout.orange.fr ([80.12.242.124]:52598 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbgF0QNu (ORCPT ); Sat, 27 Jun 2020 12:13:50 -0400 Received: from [192.168.42.210] ([93.22.39.177]) by mwinf5d03 with ME id wGDk2200B3pKrM103GDkec; Sat, 27 Jun 2020 18:13:48 +0200 X-ME-Helo: [192.168.42.210] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 27 Jun 2020 18:13:48 +0200 X-ME-IP: 93.22.39.177 Subject: Re: [PATCH v2] dma-pool: Fix too large DMA pools on medium systems To: Christoph Hellwig , Guenter Roeck Cc: Geert Uytterhoeven , Marek Szyprowski , Robin Murphy , David Rientjes , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20200608132217.29945-1-geert@linux-m68k.org> <20200620200936.GA106151@roeck-us.net> <20200624073815.GE18609@lst.de> From: Marion & Christophe JAILLET Message-ID: <6473db8e-4116-c994-aa08-6b50a6c609fb@wanadoo.fr> Date: Sat, 27 Jun 2020 18:13:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200624073815.GE18609@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 24/06/2020 à 09:38, Christoph Hellwig a écrit : > Hi Guenter, > > can you try the patch below? This just converts the huge allocations > in mptbase to use GFP_KERNEL. Christophe (added to Cc) actually has > a scripted conversion for the rest that he hasn't posted yet, so I'll > aim for the minimal version here. Hi, I'm sorry, but I will not send pci_ --> dma_ conversion for this driver. I'm a bit puzzled by some choice of GFP_KERNEL and GFP_ATOMIC that not all that obvious to me. I'll try to send some patches for other easier drivers in the coming weeks. Best regards, CJ