Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1868892ybi; Mon, 1 Jul 2019 01:49:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2LKW0WPjGQYs4rdAFIJ6nl8amtPYxoWtgjbuiCnsvWY/g7R/zSVPynAYsEoOeyJl5NghB X-Received: by 2002:a17:902:9a06:: with SMTP id v6mr27161518plp.71.1561970954183; Mon, 01 Jul 2019 01:49:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561970954; cv=none; d=google.com; s=arc-20160816; b=Xix9ppxUdQzdqSfSdHXkZF6KEe53Bw9O0bDIU6JzU8TURfTttyUAZFytQ9u+Y2Dvco Xcm0V33H9AWa3FQ3K/chL09raZT5/7n04Uc6TcDaVlB6/yrGhL/17rlDYly3vm7ydL/F 8NowQQzmoQrGX73Wpuo3wm1CKydfkKBZ3umERsakAZmp0tF3xzMIYJA1GV+e+nCN2z0j Nd4yC5WYCn9w+B7d6EP5ZeLgtV9OLWZ5Z8imaAUqxVeTctgZnnzZRMBzXEpNgLZZgGz/ EjdWrRlS0xY+PmdndlLzLLX6SQWdwa48KX4et0rAEta/Z+9Iq4QoqvUkuk51U5I+Mmsu MbaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7ZYA6fUI1X2SHNO1Ia+3evZkOGzY3lvUDNE7zy6wa8M=; b=mQ3i1diklzIViV7skIg708/LstOIUKXmdjam50Mi7l4sygcW0I7D8IedsiNAzfdsoB egnOw4IQESXgn1tG/6D0yHoXjxhCYZPQ0/i3cSvYcy5HZIl6npVy96r188Rc6jyTIMTE DBLyrxmovJtEO9Ruc4ACJTNIrOodottr9yLe/5gmNZayY4dihS+t6KJ0Kzuavx4ZU7g0 +q6T/KVYLfieVvgl9N7F5JkYAMqB/tLePAcppqZqlMModsUyi/ZXRHcE8f7OOkvVsolH y2fdogEQPhLPlBZr6v394gt9Y8J7TFa9HnDbuUe27uHFI4MtjEEm6BEYZ7RrcCWrI41p 5ROA== 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 cn1si10045898plb.204.2019.07.01.01.48.58; Mon, 01 Jul 2019 01:49:14 -0700 (PDT) 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 S1728084AbfGAIsh (ORCPT + 99 others); Mon, 1 Jul 2019 04:48:37 -0400 Received: from verein.lst.de ([213.95.11.211]:59641 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfGAIsh (ORCPT ); Mon, 1 Jul 2019 04:48:37 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AC3E268B20; Mon, 1 Jul 2019 10:48:33 +0200 (CEST) Date: Mon, 1 Jul 2019 10:48:33 +0200 From: Christoph Hellwig To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Ian Abbott , H Hartley Sweeten Cc: devel@driverdev.osuosl.org, linux-s390@vger.kernel.org, Intel Linux Wireless , linux-rdma@vger.kernel.org, netdev@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, "moderated list:ARM PORT" , linux-media@vger.kernel.org Subject: Re: use exact allocation for dma coherent memory Message-ID: <20190701084833.GA22927@lst.de> References: <20190614134726.3827-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190614134726.3827-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 14, 2019 at 03:47:10PM +0200, Christoph Hellwig wrote: > Switching to a slightly cleaned up alloc_pages_exact is pretty easy, > but it turns out that because we didn't filter valid gfp_t flags > on the DMA allocator, a bunch of drivers were passing __GFP_COMP > to it, which is rather bogus in too many ways to explain. Arm has > been filtering it for a while, but this series instead tries to fix > the drivers and warn when __GFP_COMP is passed, which makes it much > larger than just adding the functionality. Dear driver maintainers, can you look over the patches touching your drivers, please? I'd like to get as much as possible of the driver patches into this merge window, so that it can you through your maintainer trees.