Received: by 10.223.176.46 with SMTP id f43csp1489996wra; Fri, 19 Jan 2018 12:17:02 -0800 (PST) X-Google-Smtp-Source: ACJfBosICfNmR2kWs6Sk8/Q0veRKLK28Cp3rm4oo5BmnGLMza+2/wlyPVXv68WjYa3D7CWUDl2o1 X-Received: by 10.99.4.198 with SMTP id 189mr38631178pge.210.1516393021833; Fri, 19 Jan 2018 12:17:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516393021; cv=none; d=google.com; s=arc-20160816; b=GbkKjvmna38xO9NjMyYl7HXIXtihpNKSk5v1uGTLIxjxRb9yfGWopiIgBEcyf8/c3k g4j2/+I9I6Z8DCMm8P5wV2KqlnEVrkeYNPyYG4Yn/gX6w2GYd2nMM42S8IWPG4HMrBHD LDqgc6S4WzHZ3J/9d8TFZ2OOVC7VVfZZZpT/uBhdG4YkPI6Aa0O0tAGfVMCuTA9hDWlo Wibsn9Kz5hTiHDlt3xpvW1VPlm8aAqMtjLFuGibRB1MmX/I895J5lsx/OxOOfhblvVs2 TfBhd+JcR8pWZkuhA+O32mReH0D57tVLNFkRCFd8HcTJ9CgorFPoty/Uf1PXlAkr9CwV Wlyw== 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:dkim-signature:arc-authentication-results; bh=pUuSOTkWNJTE1XloeUibWbeHpQGVqJJpoY3gX7DoTVM=; b=im9NGgss+xeyCycWTL+yJgemjj9nrAGUr5uO3hyoaKN0DHkzfAh2HcQiryZ1Hhqh3t EBpeh7CrFHUdhKwfLHApsUfp85hh93JsvomWmYd2mnogyMCYwhzDof9JdhOpwN6xpGvM W6qXmc2j9F4fwXkcD7RkJr6t4iOXwVBvWBifNkSU5nAQhcqtDmLFJmcvbOQL2QQLMPNm cazfBkud+NN5sFuI0I6SiN7Co+5kQyDSjV38VO6AwvNaxwouCHU7b9j33HVwGzcctj+z j1WaLf4ZVc4xTxUs9G1UBcgL37XJl5z9UXTVuz5z/KmToC8iTTmx+o2iqy/t/1oCw4Ay XvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=IkmkWIJ9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si8665054pgv.244.2018.01.19.12.16.14; Fri, 19 Jan 2018 12:17:01 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=IkmkWIJ9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756233AbeASUPS (ORCPT + 99 others); Fri, 19 Jan 2018 15:15:18 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:36460 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755982AbeASUPO (ORCPT ); Fri, 19 Jan 2018 15:15:14 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0JKC9j5049759; Fri, 19 Jan 2018 20:15:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=pUuSOTkWNJTE1XloeUibWbeHpQGVqJJpoY3gX7DoTVM=; b=IkmkWIJ9+ngDRupWhqZRofVwUZHiXyMY3jW3hCjT2iVTvRfR2qaBKjWMxBmrtMnl1Cj+ gP2U6DALex7Y4DiH+Ch1lM5jjC1h+rknZxr1JQLxW/W+f1o3QOU5etdYGuGxdTzR47Y4 wMe1SmOVlYV170erfA+FtzNHZDwUx/mZzgnvTNJTGvDEY3EjDElCS364Zhp3EBT55g4n 4JoOZ2LCmwSVCLuKev9rvTlVrD9hRh7cFDPwazwALiV8kuoEWJ7wCzWm9SsvdgohzXKE Y/2gvITRhVupHhxRIUDm0TqJYdu0Ap+I2amXl4Vfa/STjkJGwvVJObNoFt5ze688sVLe kA== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2fkqb08297-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Jan 2018 20:15:07 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w0JKF76l009476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 Jan 2018 20:15:07 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w0JKF6uq025411; Fri, 19 Jan 2018 20:15:06 GMT Received: from mwanda (/41.202.241.56) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 19 Jan 2018 12:15:05 -0800 Date: Fri, 19 Jan 2018 23:14:53 +0300 From: Dan Carpenter To: Liam Mark Cc: Laura Abbott , Sumit Semwal , linaro-mm-sig@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: android: ion: Zero CMA allocated memory Message-ID: <20180119201453.ssbcfr5eqkyb3gxt@mwanda> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8779 signatures=668654 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=764 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801190262 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 19, 2018 at 11:16:47AM -0800, Liam Mark wrote: > Since the CMA API is now used directly the allocated memory is no longer > automatically zeroed. > > Explicitly zero CMA allocated memory to ensure that no data is exposed > to userspace. > > Change-Id: I08e143707a0d31610821a7f16826c262bf3c1999 How do I use this Gerrit tag? I type it into https://android-review.googlesource.com/ somewhere? regards, dan carpenter