diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2019-05-16 18:37:16 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-07 23:11:38 +0300 |
commit | 4b7d4d453fc46769394e31d1cb19088f49897b59 (patch) | |
tree | b485d348084855efa543562edf5f157a36e7f3f8 /kernel/audit_tree.c | |
parent | a3e520a25ce85f84a7f589af2b6ec38af96caa12 (diff) | |
download | linux-4b7d4d453fc46769394e31d1cb19088f49897b59.tar.xz |
device_cgroup: Export devcgroup_check_permission
For AMD compute (amdkfd) driver.
All AMD compute devices are exported via single device node /dev/kfd. As
a result devices cannot be controlled individually using device cgroup.
AMD compute devices will rely on its graphics counterpart that exposes
/dev/dri/renderN node for each device. For each task (based on its
cgroup), KFD driver will check if /dev/dri/renderN node is accessible
before exposing it.
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions