• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TODO:
2	- checkpatch.pl cleanups
3	- sparse fixes
4	- rename files to be not so "generic"
5	- add proper arch dependencies as needed
6	- audit userspace interfaces to make sure they are sane
7
8
9ion/
10 - Remove ION_IOC_SYNC: Flushing for devices should be purely a kernel internal
11   interface on top of dma-buf. flush_for_device needs to be added to dma-buf
12   first.
13 - Remove ION_IOC_CUSTOM: Atm used for cache flushing for cpu access in some
14   vendor trees. Should be replaced with an ioctl on the dma-buf to expose the
15   begin/end_cpu_access hooks to userspace.
16 - Clarify the tricks ion plays with explicitly managing coherency behind the
17   dma api's back (this is absolutely needed for high-perf gpu drivers): Add an
18   explicit coherency management mode to flush_for_device to be used by drivers
19   which want to manage caches themselves and which indicates whether cpu caches
20   need flushing.
21 - With those removed there's probably no use for ION_IOC_IMPORT anymore either
22   since ion would just be the central allocator for shared buffers.
23 - Add dt-binding to expose cma regions as ion heaps, with the rule that any
24   such cma regions must already be used by some device for dma. I.e. ion only
25   exposes existing cma regions and doesn't reserve unecessarily memory when
26   booting a system which doesn't use ion.
27
28sync framework:
29 - remove CONFIG_SW_SYNC_USER, it is used only for testing/debugging and
30 should not be upstreamed.
31 - port CONFIG_SW_SYNC_USER tests interfaces to use debugfs somehow
32 - port libsync tests to kselftest
33 - clean up and ABI check for security issues
34 - move it to drivers/base/dma-buf
35
36vsoc.c, uapi/vsoc_shm.h
37 - The current driver uses the same wait queue for all of the futexes in a
38   region. This will cause false wakeups in regions with a large number of
39   waiting threads. We should eventually use multiple queues and select the
40   queue based on the region.
41 - Add debugfs support for examining the permissions of regions.
42 - Use ioremap_wc instead of ioremap_nocache.
43 - Remove VSOC_WAIT_FOR_INCOMING_INTERRUPT ioctl. This functionality has been
44   superseded by the futex and is there for legacy reasons.
45
46Please send patches to Greg Kroah-Hartman <greg@kroah.com> and Cc:
47Arve Hjønnevåg <arve@android.com> and Riley Andrews <riandrews@android.com>
48