Skip to content

Commit

Permalink
VTS fix added additional nodes for usb-passthrough
Browse files Browse the repository at this point in the history
Added genfs rules for ADL-PS, ADL-P and ADL-S devices
With USB-PASSTRHOUGH showing ACPI LNXSYSTM/LNXSYBUS and USB wake nodes

fix VTS test SuspendSepolicyTests

Tracked-On: OAM-111651
Signed-off-by: Kothapeta, BikshapathiX <[email protected]>
  • Loading branch information
bkothapx committed Aug 29, 2023
1 parent 26ff9f6 commit f3d7e60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vendor/genfs_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,17 @@ genfscon sysfs /devices/pnp0/00:03/rtc/rtc0/alarmtimer.1.auto/wakeup u:object_r:
genfscon sysfs /devices/pci0000:00/0000:00:09.0/usb1/1-2/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/pnp0/00:03/wakeup u:object_r:sysfs_wakeup:s0

genfscon sysfs /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:10/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0c/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0d/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0f/wakeup u:object_r:sysfs_wakeup:s0

genfscon sysfs /devices/pci0000:00/0000:00:07.0/usb1/1-2/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/pci0000:00/0000:00:09.0/usb1/1-2/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/pci0000:00/0000:00:0d.0/usb5/5-2/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/pci0000:00/0000:00:07.0/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/pci0000:00/0000:00:08.0/wakeup u:object_r:sysfs_wakeup:s0

genfscon proc /sys/vm/swappiness u:object_r:proc_swappiness:s0
genfscon proc /sys/vm/disk_based_swap u:object_r:proc_disk_based_swap:s0

0 comments on commit f3d7e60

Please sign in to comment.