Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3455578imu; Fri, 18 Jan 2019 10:40:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4uGQWz/G6jdhIE+3QcziZTD8OAYYgvXuk3g0uISEbOJEUPvjQWvgGpZe3QosK2raMdjxiQ X-Received: by 2002:a62:f247:: with SMTP id y7mr20486398pfl.25.1547836811399; Fri, 18 Jan 2019 10:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547836811; cv=none; d=google.com; s=arc-20160816; b=FgTHiNCfDQFn+BedbGaZ44SXNICJK1zPRxCfgA9br2ocEa/+imJu7eXfeXRr6Y6O7N aR8KciTGimEMcXX/oSsxHO+pi9LfP3/rhcbtF4yGYgH/gei33mGkrx9vbW4aOXHs9WlL 6g8Re4HRKaexjDpCC02g2PKGgnpqUP+S54/3hwrErF06fWaqMOcJ0x99dyNZD461Wc+u T0pnXdOc1iBNreOYzzkii9JSDR9Ne97L9Qv8G5CmaZ/f/dU9mOJ1kn3hJELzczk8opBs Xs6FlGoIQehR5zZoZCh6mAu9UCoFnFsHnOlmZDYDEZeIHbLjIBS87LEza+IIjY66+pfS LsBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=N9EaEKEFYuMm+E+J3zln5UopUbOoSTv1NOC80VjHlnI=; b=tRXOAbifoBrHCGH55/2R+fItqbMDIsi1lkmSw17d2ZmW+m4N33oI9Bf31RTKrg3Uih Di3YU5e43N+GoYN0sV6YNRUp8set3EXuSSYXUxxcWFXA2VDuoC518ACT5wLkxJLDOpJJ MgmqtLbNCEhtiplfq55S0mA9W78Hw6xvRNKoKnw77k4dO/R/juTDUzr6iRlPMqsAblx4 dJztdDD2S4beQJ+i0Uy+w3asFcDevq8xzmgpjfGdkNNA1ZpbfJXmEeWJ61oPsbzBtAbx EEUxDTmz+nzq+kgqpwmH0/jGXevYc1rT1trvktzb4szsrm0gK/foKOWOyIUBxraCBpgz 7lIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="eXV7shq/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=n0aL9oQ5; 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 y189si5526536pfg.75.2019.01.18.10.39.55; Fri, 18 Jan 2019 10:40:11 -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=@codeaurora.org header.s=default header.b="eXV7shq/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=n0aL9oQ5; 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 S1729097AbfARSh6 (ORCPT + 99 others); Fri, 18 Jan 2019 13:37:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35820 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728622AbfARSh6 (ORCPT ); Fri, 18 Jan 2019 13:37:58 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6F914605A0; Fri, 18 Jan 2019 18:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547836677; bh=xhK0pQ26sKJSUC1f1kIPs8LUyRu77O0nKq3fFpE+dAs=; h=From:To:Cc:Subject:Date:From; b=eXV7shq/uXw/BzJKs/85KFt74V3wEGxnM4GfxFN+UiW1fwghACVO9dQsd2sbkl1+Y k1Rub9AFc8GAtjkjx6i96e8fs1Bz3Noq4IVFW4j/I38hVN230My3epiSgbFBS7+nxu ouzbtXSqvFNVjf5lY9hKdtqHahC7ek8OEPaM1UoU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from lmark-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: lmark@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id D0E0C601B4; Fri, 18 Jan 2019 18:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547836676; bh=xhK0pQ26sKJSUC1f1kIPs8LUyRu77O0nKq3fFpE+dAs=; h=From:To:Cc:Subject:Date:From; b=n0aL9oQ5tWsKfhgfkbxNMdhicpbVR3KyNjNxPWD2oKcyBN7YbFkdFt3Gp3I46pCf2 igP+kX6fYVBHJAiyFIBgdQfnN/DQjmqAAgRNyzEUrVvp6znJxD/JH4d9JJOcqgVLg7 G8UroXgK/GO8qmDDlC29UWO90zzsWGPFi6qRCklQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D0E0C601B4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=lmark@codeaurora.org From: Liam Mark To: labbott@redhat.com, sumit.semwal@linaro.org Cc: arve@android.com, tkjos@android.com, maco@android.com, joel@joelfernandes.org, christian@brauner.io, devel@driverdev.osuosl.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, afd@ti.com, john.stultz@linaro.org, Liam Mark Subject: [PATCH 0/4] ION stability and perf changes Date: Fri, 18 Jan 2019 10:37:43 -0800 Message-Id: <1547836667-13695-1-git-send-email-lmark@codeaurora.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some stability changes to improve ION robustness and a perf related change to make it easier for clients to avoid unnecessary cache maintenance, such as when buffers are clean and haven't had any CPU access. Liam Mark (4): staging: android: ion: Support cpu access during dma_buf_detach staging: android: ion: Restrict cache maintenance to dma mapped memory dma-buf: add support for mapping with dma mapping attributes staging: android: ion: Support for mapping with dma mapping attributes drivers/staging/android/ion/ion.c | 33 +++++++++++++++++++++++++-------- include/linux/dma-buf.h | 3 +++ 2 files changed, 28 insertions(+), 8 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project