Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734796

[PATCH v2 0/2] staging: ion: get one device per heap

From Benjamin Gaignard <benjamin.gaignard@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] staging: ion: get one device per heap
Date 2017-09-19 12:30 +0200
Message-ID <urnWV-4c9-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


version 2:
- simplify ioctl check like propose by Dan
- make sure that we don't register more than ION_DEV_MAX heaps

Instead a getting 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.

Benjamin Gaignard (2):
  staging: ion: simplify ioctl args checking function
  staging: ion: create one device entry per heap

 drivers/staging/android/ion/ion-ioctl.c | 20 +++++++++++++-------
 drivers/staging/android/ion/ion.c       | 23 +++++++++++++++++------
 drivers/staging/android/ion/ion.h       | 10 +++++++---
 3 files changed, 37 insertions(+), 16 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] staging: ion: get one device per heap Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-09-19 12:30 +0200
  [PATCH v2 1/2] staging: ion: simplify ioctl args checking function Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-09-19 12:30 +0200
  [PATCH v2 2/2] staging: ion: create one device entry per heap Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-09-19 12:30 +0200
    Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Greg KH <gregkh@linuxfoundation.org> - 2017-09-19 13:10 +0200
      Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-09-19 14:00 +0200
        Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Dan Carpenter <dan.carpenter@oracle.com> - 2017-09-19 14:10 +0200
        Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Greg KH <gregkh@linuxfoundation.org> - 2017-09-19 14:40 +0200
        Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Laura Abbott <labbott@redhat.com> - 2017-09-20 03:10 +0200
          Re: [PATCH v2 2/2] staging: ion: create one device entry per heap Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-09-20 09:50 +0200

csiph-web