[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171024161444.GA14939@jcrouse-lnx.qualcomm.com>
Date: Tue, 24 Oct 2017 10:14:44 -0600
From: Jordan Crouse <jcrouse@...eaurora.org>
To: Benjamin Gaignard <benjamin.gaignard@...aro.org>
Cc: labbott@...hat.com, sumit.semwal@...aro.org,
gregkh@...uxfoundation.org, arve@...roid.com,
riandrews@...roid.com, broonie@...nel.org,
dan.carpenter@...cle.com, devel@...verdev.osuosl.org,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v6 2/2] staging: ion: create one device entry per heap
On Mon, Oct 23, 2017 at 05:55:37PM +0200, Benjamin Gaignard wrote:
> Instead a getting only one common device "/dev/ion" for
> all the heaps this patch allow to create one device
> entry ("/dev/ionX") per heap.
> Getting an entry per heap could allow to set security rules
> per heap and global ones for all heaps.
>
> Allocation requests will be only allowed if the mask_id
> match with device minor.
> Query request could be done on any of the devices.
>
> Ion devices are parentless so it is need to add platform_bus as
> parent and platform_bus_type as bus to be put in /sys/device/paltform.
nit: paltform -> platform.
Jordan
--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists