# PEQT test #16 # testing conditions: # 1. only a subset of AMD compatible GPUs (device filtering) # 2. a given device type (deviceid filtering) # 3. 6 simple regular expressions, as follows: # - one for PCIe capability # - one for the PCIe capability # - one for # - one for PCIe capability # - one for PCIe capability # - one for PCIe capability # 4. only a subset of 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 # - all values match the given regular expression (4 TRUE/FALSE values with whitespace between them) # 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)$ kernel_driver: ^amdgpu$ atomic_op_routing: ^((TRUE|FALSE){1})$ atomic_op_32_completer: ^((TRUE|FALSE){1})$ device: 6255 50599