From 7e95f80cb9ecbc2ab678810f30b2aaba710515f5 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Wed, 16 Dec 2020 19:09:41 -0800 Subject: [PATCH] sdm660-common: rootdir: ueventd: Add support for MEM-BUF VMs The char devices under /dev/mem_buf_vm each represent a Virtual Machine to which HLOS can transfer or share memory using an ioctl. Change-Id: If3546148204e3b1c389975d3ec9aabd265b03012 Signed-off-by: clarencelol Signed-off-by: pix106 --- rootdir/etc/ueventd.qcom.rc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index d150f5a3..22ad9903 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2015, 2017-2020, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2015, 2017-2021, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -34,6 +34,10 @@ subsystem dma_heap devname uevent_devpath dirname /dev/dma_heap +subsystem mem_buf_vm + devname uevent_devpath + dirname /dev/mem_buf_vm + # the DIAG device node is not world writable/readable. /dev/diag 0660 system oem_2901 /dev/mhi_*_pipe_4 0660 system system @@ -46,6 +50,7 @@ subsystem dma_heap /dev/kgsl-2d1 0666 root root /dev/ion 0664 system system /dev/membuf 0664 system system +/dev/mem_buf_vm/* 0660 system system /dev/dma_heap/* 0664 system system /dev/rtc0 0660 system system /dev/smd0 0660 system system