Commit graph

6 commits

Author SHA1 Message Date
Dinesh Yadav
064b50e43b Add sepolicy for edgetpu_tachyon_service to report metrics
This permission is needed to report errors encountered while running gxp workloads to telemetry services.

AVC Error seen while reporting errors:
11-21 09:30:05.711   406   406 E SELinux : avc:  denied  { find } for pid=1821 uid=1000 name=android.frameworks.stats.IStats/default scontext=u:r:edgetpu_tachyon_server:s0 tcontext=u:object_r:fwk_stats_service:s0 tclass=service_manager permissive=0

Bug: 359404493
Flag: EXEMPT updates device sepolicy only
Change-Id: Ic282928aad6283077e183f931230f79eea49053d
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2024-11-21 06:39:00 +00:00
Wilson Sung
69ffa902be Remove the duplicate gxp rule
Bug: 375108715
Test: build
Flag: EXEMPT bugfix
Change-Id: I8d4aa27c963709a91b1284921a20d7fc5d369d89
2024-10-24 08:05:26 +00:00
Nishok Kumar S
55f48f663c Connect Gxp runtime to TPU authentication service
- Add selinux policies to allow edgetpu_app_service to access gxp
   device.

Bug: 316262348
Test: Disable selinux policies for GCA, then verify if GCA is able to
access device through edgetpu app service.

Change-Id: I83429755b1406289c8714d9499c1f14c1ec76a30
2024-01-18 09:41:26 +00:00
Dinesh Yadav
e7cffe4da5 Allow edgetpu_tachyon_service to access GXP device & Dmabuf.
As gxp stack will be using Tachyon service to process kernels on aurora
dsp, these permissions will be needed.

Bug: 279655948
Change-Id: I04c11575208d0ca1a3dda68db1367804c4d7596d
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-11-23 05:35:08 +00:00
Dinesh Yadav
2a6c690d1a Move gxp sepolicies to gs-common
This change moves all gxp sepolicies to common. This eliminates the
need for having these policies in sepolicy folder of all P22+ devices.

Tested:
Created private builds and found no selinux violations for P22 & P23 devices.

Bug: 288368306
Change-Id: Iec5dfe01dd9088a117f549cc999b9ee2aa2c4484
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-07-10 08:58:08 +00:00
Adam Shih
60d07215ea move gxp dump to gs-common
Bug: 240530709
Test: adb bugreport;unzip *zip;tar -xvf dumpstate_board.bin
And found gxp content

Change-Id: I27b54b283609cf574796d706da0450802dc601a3
2023-03-01 22:23:18 +00:00