# PEQT test #14 # testing conditions: # 1. only a subset of AMD compatible GPUs (device filtering) # 2. a given device type (deviceid filtering) # 3. 5 simple regular expressions, as follows: # - one for PCIe capability # - one for the PCIe capability # - one for # - one for PCIe capability # - one for PCIe capability # 4. all PCIe capabilities # Expected PCIe check RESULT = TRUE if # - at least one of the AMD compatible GPUs (registered within the system) matches one of the GPU ID in the list and also matches the # - all values match the given regular expression and # - all values match the given regular expression and # - all values match the given regular expression # - all values match the given regular expression # - all values match the given regular expression # FALSE otherwise actions: - name: pcie_act_1 module: peqt deviceid: 26720 capability: link_cap_max_speed: '^(2\.5 GT\/s|5 GT\/s|8 GT\/s)$' link_cap_max_width: ^(x8|x16)$ link_stat_cur_speed: '^(8 GT\/s)$' link_stat_neg_width: ^(x8|x16)$ slot_pwr_limit_value: slot_physical_num: device_id: vendor_id: kernel_driver: ^amdgpu$ dev_serial_num: D0_Maximum_Power_12V: D0_Maximum_Power_3_3V: D0_Sustained_Power_12V: D0_Sustained_Power_3_3V: atomic_op_routing: atomic_op_32_completer: atomic_op_64_completer: atomic_op_128_CAS_completer: device: 6255 50599