Received: by 10.213.65.68 with SMTP id h4csp428673imn; Tue, 27 Mar 2018 01:53:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49D8xU9t2T48QhNnIaq7lMCtNLD5ZauX9uHJq2cnddwu/EE5lsTCZ5H6zhVNy7i5XzvLhOS X-Received: by 2002:a17:902:206:: with SMTP id 6-v6mr9677888plc.376.1522140800747; Tue, 27 Mar 2018 01:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522140800; cv=none; d=google.com; s=arc-20160816; b=N0znKuaDxO9Vlg9TlruFD/16SmtFXE53RZ5wmcYNT1HGz4jQY2/gzzaOa7kNe1Jcc+ PoE7Ifnz0jEaoBAHGM31nyyKaIpREkANzEOzACrJaUkHHjjnUKMx+0dupjAT+sJ8MUyL 77JHjogfaTQmgCqNOwrP46xPpGnEoFFU5O3caZji0JFbD7o5GK2vy9BSCQ/+ucK+vFjS +pTaXbhBrHhap41hqprHpDX79Nug6JBvX9zjFRWTw0TrQZfVAQAREFbu8sIt2pW/5Tcf glDHeaJK8mRrTHj42X6lVrlBmd68zm0gXd85TBqEsPPW8JUntzJodWZ84eBEju9k8zvb g0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=5eToBR/uINwJwIGkXHgnz9t75Lq3sjlKV8FN5SGbc8M=; b=Jet126jXmC5tfzTN7KvkA4k9kGE4sReStg/LyLcBs0TSTFU5VRdHbw1FOcHazlkJKN gU5z8key3TZGM5ts3Qf1+xmfvDgdDlMVzQuvpEz96tGAx6iuiyrWUV0fb4czhWO7dJY+ 5N/YEkwnzDR0V+L/5OPlUXaXXg5PZ9mOTLVAI9lRDi9vmx5c4YEu7r9iHDz+AB4gSqUp SAMH6z1fKpGIPDplESry7OhmjNqyje8O+8BQwya0LNcpdPOh3kEFNyz2yNtLTvsVs/Qm U6Rszn8thB8ybFC+ajoLrKuxYgOWqibRzWT1IhPo6HUa7nGHhoEtrOfTD/woTjfd71pR 94pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=q2gi03rx; 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 z19-v6si759870plo.389.2018.03.27.01.53.06; Tue, 27 Mar 2018 01:53:20 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=q2gi03rx; 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 S1752204AbeC0Ivs (ORCPT + 99 others); Tue, 27 Mar 2018 04:51:48 -0400 Received: from mail-qt0-f174.google.com ([209.85.216.174]:38678 "EHLO mail-qt0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917AbeC0Ivq (ORCPT ); Tue, 27 Mar 2018 04:51:46 -0400 Received: by mail-qt0-f174.google.com with SMTP id c23so4288662qtj.5 for ; Tue, 27 Mar 2018 01:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=5eToBR/uINwJwIGkXHgnz9t75Lq3sjlKV8FN5SGbc8M=; b=q2gi03rxtvz0hQKR7EubWu7cDb1xCkWm9y1WpfC9MFYZAjHZvt7avuGoRAc/t8ZU1j YNYVT4bBvj3zs9jP9uKezEuDmquWZ2Hk3cYmd4BG33TDUESIjfMSLIng6tV60Up8N6T9 yDRBxOTECiYzhFTu1Tq9maGYHJpeuFwxCZwDZADryGz4VM7wTSmJdBEoFFTxG5aw8Bkd 3FqNqGqlbz/EIof4Pbe0IXWA76b5Vst3CfneDjWdFpukOeWZ83+xzQHoOriHCYudbDys XYvqmPnduCgdXS7/ZPjNRJTSN23YE/4C+E62CjT9rw4v7TA+FkFh3pYHLIiySBK87Rcu /RSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=5eToBR/uINwJwIGkXHgnz9t75Lq3sjlKV8FN5SGbc8M=; b=VyOCX68NAOA3723NiTNXtINLC6gmFkUN3f5xRwINeVYA4VujWAMM86tWzblH87YgkJ EuvMI1e/bcTUAelRLNwMsXY6lR9yXoyqkDR/jHmnse/qKk7sxqS2BdBDzh5qs1saLLoe 6NfrjBdxRd8u1WPJkVhW++LvLLmBQgzoXNybk4zM/v5uZJozPfRJeHz0PwOredAE7mKP EwjoSdrRHeenx8rQmYhV5yDt9PwV5De2MxIDNVrGmDkzBJ9hnH+8y73xuLRk/2PnXRbo ONAj76DNZ7FAs79+UgDqrc9n+bXSVjM41T1aU1sFxbtoxwC+Mtyh2yv0y6nBtGpZjgiR 2rgQ== X-Gm-Message-State: AElRT7GZjLMUg+Jgs4cq0WunRSi09fHe5Xdua7zwzcaDr6dUZU+oPuF5 gz10XkILL8TskId7hB874L/vlNgRetdqtzqByd2z5g== X-Received: by 10.200.27.3 with SMTP id y3mr63291819qtj.161.1522140705670; Tue, 27 Mar 2018 01:51:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.54.147 with HTTP; Tue, 27 Mar 2018 01:51:45 -0700 (PDT) In-Reply-To: References: From: Geert Uytterhoeven Date: Tue, 27 Mar 2018 10:51:45 +0200 X-Google-Sender-Auth: UFCMjJnhujdbFk6tGRNySzDadbY Message-ID: Subject: Re: dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 To: Sebastian Ott Cc: Christoph Hellwig , Jesper Nilsson , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On Tue, Mar 27, 2018 at 10:41 AM, Sebastian Ott wrote: > On Tue, 27 Mar 2018, Geert Uytterhoeven wrote: >> On Tue, Mar 27, 2018 at 10:12 AM, Sebastian Ott >> wrote: >> > commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma >> > allocations specifying __GFP_ZERO by silently removing that flag. >> >> How did it break? The flag is now always added. > > + flag &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM | __GFP_ZERO); > > I read that as a removal. But maybe I need more coffee.. Sorry, you're right. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds