Received: by 10.213.65.68 with SMTP id h4csp405346imn; Tue, 27 Mar 2018 01:14:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELvGpTMBC2AhZoeHRiOJ01434Gnw9NL3xm/0IOky8YSb/sbK7higclZbkOLlVGOT9J6XYIfZ X-Received: by 2002:a17:902:7088:: with SMTP id z8-v6mr44129440plk.174.1522138450025; Tue, 27 Mar 2018 01:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522138450; cv=none; d=google.com; s=arc-20160816; b=dActBlJxzL9gn3ShycI6knABrwc7xiN7BZUWgoqAAAUk3f9PO/PiDYkAZd3WZV8M0E kZbToQz1coW+F7AR3RX/++Uqs7yjgj9IETAJZavQH73lquGlgE3OnPAo5g1ktXkZWBe8 5QjNypTS5NNycsVv/sa5yN+Lz2wDbrzliFENnKZqbrNNC0QLNl+Rd1FU52Ia4Vvts5UW 35f5JEIkh86l1enYYW06wDMtA5budbuiv1MqehslDo3oYMlnh38hgVBqO7jeQKXNN2AW h3pjIvxwtqZEwiulQj0CPH0AkNVxCt0uo2zTfLYWRDIXnO9H6vrsPL1a78ZgvlGsc6+q vYFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:organization :user-agent:subject:cc:to:from:date:arc-authentication-results; bh=Reh74GVYMkK904ofjZ5eCV7dRam4pyMJVJCHYrjZUxI=; b=bLnJPG3zk5JDIXyvcu3AR8yclyGmElJLmp8h7thHh+PaQCzJqimbqiQcG7cpVZ0jmp H27Skqxqp4uGvKv6o04lKBT16lyf0jRMJ/DnnuqJeMkGbyB7LESB1Fs5P7woPsVcqtZB +O3CKqksb8qIEupJvKX+WW1kiGHycymSG/0G16gXtWNqXsfeyUUuTTC1myMJcXHB1R7q pftmQa/n3BxA9nyLBo5m9UEicNQUI5AlbkMnjmqlOpxlZr4FD2HhFzOLY/NdihL18ma9 4Z2CY3ZVi7/dGCGABbCBD+CBK1lgxa7YoqwTbGoz6BHex+TxBSrBF5CKpxYc7t/GCCC9 CLAQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b34-v6si759028pld.249.2018.03.27.01.13.55; Tue, 27 Mar 2018 01:14:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbeC0INF (ORCPT + 99 others); Tue, 27 Mar 2018 04:13:05 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47302 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750937AbeC0INC (ORCPT ); Tue, 27 Mar 2018 04:13:02 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2R89g9l010401 for ; Tue, 27 Mar 2018 04:13:01 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gyj6d06ke-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 27 Mar 2018 04:13:01 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Mar 2018 09:12:59 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 27 Mar 2018 09:12:56 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2R8CuMA7930240; Tue, 27 Mar 2018 08:12:56 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2420252049; Tue, 27 Mar 2018 08:04:13 +0100 (BST) Received: from icon-9-164-188-66.megacenter.de.ibm.com (unknown [9.164.188.66]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 9BC4A52041; Tue, 27 Mar 2018 08:04:12 +0100 (BST) Date: Tue, 27 Mar 2018 10:12:54 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Christoph Hellwig , Jesper Nilsson , Geert Uytterhoeven cc: linux-kernel@vger.kernel.org Subject: dma_zalloc_coherent broken with 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH?= =?ISO-8859-15?Q?_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina?= =?ISO-8859-15?Q?_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp?= =?ISO-8859-15?Q?_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Reg?= =?ISO-8859-15?Q?istergericht=3A_Amtsgericht_Stuttgart=2C_HRB_2432?= =?ISO-8859-15?Q?94=22?= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-TM-AS-GCONF: 00 x-cbid: 18032708-0044-0000-0000-00000540439F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18032708-0045-0000-0000-0000287F5DA7 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-27_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803270084 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, commit 57bf5a8963f80fb3828c46c3e3a5b2dd790e09a7 broke usage of dma allocations specifying __GFP_ZERO by silently removing that flag. Why should "the memory returned [] always be zeroed."? Regards, Sebastian