Merge ~canonical-kernel-team/+git/autotest-client-tests:jacobmartin/ubuntu-boot-tegra-oot into ~canonical-kernel-team/+git/autotest-client-tests:master
- Git
- lp:~canonical-kernel-team/+git/autotest-client-tests
- jacobmartin/ubuntu-boot-tegra-oot
- Merge into master
Proposed by
Jacob Martin
Status: | Merged |
---|---|
Merge reported by: | Po-Hsu Lin |
Merged at revision: | 2c9d6326c72dc0786e5cef08c98c21ef66c5ad85 |
Proposed branch: | ~canonical-kernel-team/+git/autotest-client-tests:jacobmartin/ubuntu-boot-tegra-oot |
Merge into: | ~canonical-kernel-team/+git/autotest-client-tests:master |
Diff against target: |
293 lines (+224/-45) 2 files modified
ubuntu_boot/kernel_taint_test.py (+8/-45) ubuntu_boot/kernel_taint_test_known_issues.py (+216/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Po-Hsu Lin | Approve | ||
Francis Ginther | Approve | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Po-Hsu Lin (cypressyew) wrote : | # |
Note that some modules are not found failing on the test report, it's because this list contains all out-of-tree modules for Tegra. Some may not be automatically loaded on certain platforms.
review:
Approve
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Po-Hsu Lin (cypressyew) wrote : | # |
Applied and pushed. Thanks.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/ubuntu_boot/kernel_taint_test.py b/ubuntu_boot/kernel_taint_test.py |
2 | index 84d42ff..db360f7 100755 |
3 | --- a/ubuntu_boot/kernel_taint_test.py |
4 | +++ b/ubuntu_boot/kernel_taint_test.py |
5 | @@ -67,51 +67,12 @@ def process_known_issues(issue, modules): |
6 | "staging driver was loaded": "C", |
7 | "externally-built ('out-of-tree') module was loaded": "O", |
8 | "unsigned module was loaded": "E"} |
9 | - dgx_modules = {'jammy': {'nvidia_uvm': 'POE', |
10 | - 'nvidia_drm': 'POE', |
11 | - 'nvidia_modeset': 'POE', |
12 | - 'nvidia': 'POE', |
13 | - 'mlx5_ib': 'OE', |
14 | - 'ib_uverbs': 'OE', |
15 | - 'ib_core': 'OE', |
16 | - 'mlx5_core': 'OE', |
17 | - 'mlxdevm': 'OE', |
18 | - 'mlxfw': 'OE', |
19 | - 'mlx_compat': 'OE'}, |
20 | - 'focal': {'nvidia_uvm': 'O', |
21 | - 'nvidia_drm': 'PO', |
22 | - 'nvidia_modeset': 'PO', |
23 | - 'nvidia': 'PO', |
24 | - 'mlx5_ib': 'OE', |
25 | - 'ib_uverbs': 'OE', |
26 | - 'ib_core': 'OE', |
27 | - 'mlx5_core': 'OE', |
28 | - 'mlxdevm': 'OE', |
29 | - 'auxiliary': 'OE', |
30 | - 'mlxfw': 'OE', |
31 | - 'mlx_compat': 'OE'}, |
32 | - 'bionic': {'nvidia_uvm': 'O', |
33 | - 'nvidia_drm': 'PO', |
34 | - 'nvidia_modeset': 'PO', |
35 | - 'nvidia': 'PO', |
36 | - 'ib_iser': 'OE', |
37 | - 'rdma_cm': 'OE', |
38 | - 'iw_cm': 'OE', |
39 | - 'ib_cm': 'OE', |
40 | - 'mlx5_ib': 'OE', |
41 | - 'ib_uverbs': 'OE', |
42 | - 'ib_core': 'OE', |
43 | - 'mlx5_core': 'OE', |
44 | - 'mlxfw': 'OE', |
45 | - 'mdev': 'OE', |
46 | - 'mlx_compat': 'OE'}} |
47 | - rpi_modules = {'all': {'snd_bcm2835': 'CE', |
48 | - 'rpivid_hevc': 'CE', |
49 | - 'bcm2835_codec': 'CE', |
50 | - 'bcm2835_v4l2': 'CE', |
51 | - 'bcm2835_isp': 'CE', |
52 | - 'bcm2835_mmal_vchiq': 'CE', |
53 | - 'vc_sm_cma': 'CE'}} |
54 | + |
55 | + from kernel_taint_test_known_issues import (dgx_modules, |
56 | + rpi_modules, |
57 | + tegra_modules, |
58 | + ) |
59 | + |
60 | try: |
61 | with open('/sys/class/dmi/id/product_name', 'r') as f: |
62 | product_name = f.read().strip() |
63 | @@ -129,6 +90,8 @@ def process_known_issues(issue, modules): |
64 | module_flags = dgx_modules |
65 | elif 'raspi' in platform.release(): |
66 | module_flags = rpi_modules |
67 | + elif 'nvidia-tegra' in platform.release(): |
68 | + module_flags = tegra_modules |
69 | |
70 | # Filter out modules flagged with corresponding taint flag |
71 | mod_list = [] |
72 | diff --git a/ubuntu_boot/kernel_taint_test_known_issues.py b/ubuntu_boot/kernel_taint_test_known_issues.py |
73 | new file mode 100755 |
74 | index 0000000..ce931f6 |
75 | --- /dev/null |
76 | +++ b/ubuntu_boot/kernel_taint_test_known_issues.py |
77 | @@ -0,0 +1,216 @@ |
78 | +# kernel_taint_test known issues for module taint flags |
79 | + |
80 | +dgx_modules = {'jammy': {'nvidia_uvm': 'POE', |
81 | + 'nvidia_drm': 'POE', |
82 | + 'nvidia_modeset': 'POE', |
83 | + 'nvidia': 'POE', |
84 | + 'mlx5_ib': 'OE', |
85 | + 'ib_uverbs': 'OE', |
86 | + 'ib_core': 'OE', |
87 | + 'mlx5_core': 'OE', |
88 | + 'mlxdevm': 'OE', |
89 | + 'mlxfw': 'OE', |
90 | + 'mlx_compat': 'OE'}, |
91 | + 'focal': {'nvidia_uvm': 'O', |
92 | + 'nvidia_drm': 'PO', |
93 | + 'nvidia_modeset': 'PO', |
94 | + 'nvidia': 'PO', |
95 | + 'mlx5_ib': 'OE', |
96 | + 'ib_uverbs': 'OE', |
97 | + 'ib_core': 'OE', |
98 | + 'mlx5_core': 'OE', |
99 | + 'mlxdevm': 'OE', |
100 | + 'auxiliary': 'OE', |
101 | + 'mlxfw': 'OE', |
102 | + 'mlx_compat': 'OE'}, |
103 | + 'bionic': {'nvidia_uvm': 'O', |
104 | + 'nvidia_drm': 'PO', |
105 | + 'nvidia_modeset': 'PO', |
106 | + 'nvidia': 'PO', |
107 | + 'ib_iser': 'OE', |
108 | + 'rdma_cm': 'OE', |
109 | + 'iw_cm': 'OE', |
110 | + 'ib_cm': 'OE', |
111 | + 'mlx5_ib': 'OE', |
112 | + 'ib_uverbs': 'OE', |
113 | + 'ib_core': 'OE', |
114 | + 'mlx5_core': 'OE', |
115 | + 'mlxfw': 'OE', |
116 | + 'mdev': 'OE', |
117 | + 'mlx_compat': 'OE'}} |
118 | + |
119 | +rpi_modules = {'all': {'snd_bcm2835': 'CE', |
120 | + 'rpivid_hevc': 'CE', |
121 | + 'bcm2835_codec': 'CE', |
122 | + 'bcm2835_v4l2': 'CE', |
123 | + 'bcm2835_isp': 'CE', |
124 | + 'bcm2835_mmal_vchiq': 'CE', |
125 | + 'vc_sm_cma': 'CE'}} |
126 | + |
127 | +tegra_modules = {'all': {'ar1335_common': 'OE', |
128 | + 'arm64_ras': 'OE', |
129 | + 'bluedroid_pm': 'OE', |
130 | + 'bmi088': 'OE', |
131 | + 'cam_cdi_tsc': 'OE', |
132 | + 'cam_fsync': 'OE', |
133 | + 'camchar': 'OE', |
134 | + 'camera_diagnostics': 'OE', |
135 | + 'capture_ivc': 'OE', |
136 | + 'cdi_dev': 'OE', |
137 | + 'cdi_gpio': 'OE', |
138 | + 'cdi_mgr': 'OE', |
139 | + 'cdi_pwm': 'OE', |
140 | + 'cpuidle_debugfs': 'OE', |
141 | + 'cpuidle_tegra_auto': 'OE', |
142 | + 'f75308': 'OE', |
143 | + 'fusb301': 'OE', |
144 | + 'governor_pod_scaling': 'OE', |
145 | + 'gpio_max77851': 'OE', |
146 | + 'host1x': 'OE', |
147 | + 'host1x_fence': 'OE', |
148 | + 'host1x_next': 'OE', |
149 | + 'host1x_nvhost': 'OE', |
150 | + 'hsp_mailbox_client': 'OE', |
151 | + 'hvc_sysfs': 'OE', |
152 | + 'i2c_nvvrs11': 'OE', |
153 | + 'ioctl_example': 'OE', |
154 | + 'isc_dev': 'OE', |
155 | + 'isc_gpio': 'OE', |
156 | + 'isc_mgr': 'OE', |
157 | + 'isc_pwm': 'OE', |
158 | + 'ivc_bus': 'OE', |
159 | + 'ivc_cdev': 'OE', |
160 | + 'ivc_ext': 'OE', |
161 | + 'kfuse': 'OE', |
162 | + 'lan743x': 'OE', |
163 | + 'lt6911uxc': 'OE', |
164 | + 'max77851': 'OE', |
165 | + 'max77851_poweroff': 'OE', |
166 | + 'max77851_regulator': 'OE', |
167 | + 'max77851_thermal': 'OE', |
168 | + 'max77851_wdt': 'OE', |
169 | + 'max9295': 'OE', |
170 | + 'max9296': 'OE', |
171 | + 'max96712': 'OE', |
172 | + 'maxim_gmsl_dp_serializer': 'OE', |
173 | + 'maxim_gmsl_hdmi_serializer': 'OE', |
174 | + 'mc_hwpm': 'OE', |
175 | + 'mc_utils': 'OE', |
176 | + 'mods': 'OE', |
177 | + 'mttcan': 'OE', |
178 | + 'nv_ar0234': 'OE', |
179 | + 'nv_hawk_owl': 'OE', |
180 | + 'nv_imx185': 'OE', |
181 | + 'nv_imx219': 'OE', |
182 | + 'nv_imx274': 'OE', |
183 | + 'nv_imx318': 'OE', |
184 | + 'nv_imx390': 'OE', |
185 | + 'nv_imx477': 'OE', |
186 | + 'nv_ov5693': 'OE', |
187 | + 'nv_virtio_console_poc': 'OE', |
188 | + 'nvethernet': 'OE', |
189 | + 'nvgpu': 'OE', |
190 | + 'nvhost_capture': 'OE', |
191 | + 'nvhost_isp5': 'OE', |
192 | + 'nvhost_nvcsi': 'OE', |
193 | + 'nvhost_nvcsi_t194': 'OE', |
194 | + 'nvhost_nvdla': 'OE', |
195 | + 'nvhost_pva': 'OE', |
196 | + 'nvhost_vi5': 'OE', |
197 | + 'nvhost_vi_tpg_t19x': 'OE', |
198 | + 'nvhwpm': 'OE', |
199 | + 'nvidia': 'OE', |
200 | + 'nvidia_drm': 'OE', |
201 | + 'nvidia_modeset': 'OE', |
202 | + 'nvidia_p2p': 'OE', |
203 | + 'nvidia_vrs_pseq': 'OE', |
204 | + 'nvmap': 'OE', |
205 | + 'nvpmodel_clk_cap': 'OE', |
206 | + 'nvpps': 'OE', |
207 | + 'nvscic2c_pcie_epc': 'OE', |
208 | + 'nvscic2c_pcie_epf': 'OE', |
209 | + 'nvsciipc': 'OE', |
210 | + 'nvvrs_pseq_rtc': 'OE', |
211 | + 'oak_pci': 'OE', |
212 | + 'pca9570': 'OE', |
213 | + 'pci_epf_dma_test': 'OE', |
214 | + 'pci_epf_tegra_vnet': 'OE', |
215 | + 'pcie_tegra_vf': 'OE', |
216 | + 'pex9749_thermal': 'OE', |
217 | + 'pinctrl_max77851': 'OE', |
218 | + 'pinctrl_tegra194_pexclk_padctrl': 'OE', |
219 | + 'pinctrl_tegra234_dpaux': 'OE', |
220 | + 'pwm_tegra_tachometer': 'OE', |
221 | + 'r8168': 'OE', |
222 | + 'rtc_max77851': 'OE', |
223 | + 'rtcpu_debug': 'OE', |
224 | + 'rtk_btusb': 'OE', |
225 | + 'rtl8822ce': 'OE', |
226 | + 'safety_i2s': 'OE', |
227 | + 'sensor_kernel_tests': 'OE', |
228 | + 'snd_soc_tegra186_arad_oot': 'OE', |
229 | + 'snd_soc_tegra186_asrc_oot': 'OE', |
230 | + 'snd_soc_tegra186_dspk_oot': 'OE', |
231 | + 'snd_soc_tegra210_admaif_oot': 'OE', |
232 | + 'snd_soc_tegra210_adx_oot': 'OE', |
233 | + 'snd_soc_tegra210_afc_oot': 'OE', |
234 | + 'snd_soc_tegra210_ahub_oot': 'OE', |
235 | + 'snd_soc_tegra210_amx_oot': 'OE', |
236 | + 'snd_soc_tegra210_dmic_oot': 'OE', |
237 | + 'snd_soc_tegra210_i2s_oot': 'OE', |
238 | + 'snd_soc_tegra210_iqc_oot': 'OE', |
239 | + 'snd_soc_tegra210_mixer_oot': 'OE', |
240 | + 'snd_soc_tegra210_mvc_oot': 'OE', |
241 | + 'snd_soc_tegra210_ope_oot': 'OE', |
242 | + 'snd_soc_tegra210_sfc_oot': 'OE', |
243 | + 'snd_soc_tegra210_virt_alt_admaif': 'OE', |
244 | + 'snd_soc_tegra_machine_driver_oot': 'OE', |
245 | + 'snd_soc_tegra_utils_oot': 'OE', |
246 | + 'snd_soc_tegra_virt_t210ref_pcm': 'OE', |
247 | + 'softdog_platform': 'OE', |
248 | + 'spi_aurix_tegra': 'OE', |
249 | + 'spi_tegra124_slave': 'OE', |
250 | + 'spi_tegra210_quad': 'OE', |
251 | + 'tegra194_gte': 'OE', |
252 | + 'tegra194_gte_test': 'OE', |
253 | + 'tegra234_aon': 'OE', |
254 | + 'tegra234_oc_event': 'OE', |
255 | + 'tegra23x_perf_uncore': 'OE', |
256 | + 'tegra23x_psc': 'OE', |
257 | + 'tegra_aon_ivc_echo': 'OE', |
258 | + 'tegra_bootloader_debug': 'OE', |
259 | + 'tegra_bpmp': 'OE', |
260 | + 'tegra_cactmon_mc_all': 'OE', |
261 | + 'tegra_camera': 'OE', |
262 | + 'tegra_camera_platform': 'OE', |
263 | + 'tegra_camera_rtcpu': 'OE', |
264 | + 'tegra_dce': 'OE', |
265 | + 'tegra_drm': 'OE', |
266 | + 'tegra_drm_next': 'OE', |
267 | + 'tegra_fsicom': 'OE', |
268 | + 'tegra_gr_comm': 'OE', |
269 | + 'tegra_hv_mtd': 'OE', |
270 | + 'tegra_hv_pm_ctl': 'OE', |
271 | + 'tegra_hv_vblk_oops': 'OE', |
272 | + 'tegra_hv_vcpu_yield': 'OE', |
273 | + 'tegra_hv_vse_safety': 'OE', |
274 | + 'tegra_mce': 'OE', |
275 | + 'tegra_nvvse_cryptodev': 'OE', |
276 | + 'tegra_pcie_dma_test': 'OE', |
277 | + 'tegra_pcie_edma': 'OE', |
278 | + 'tegra_se': 'OE', |
279 | + 'tegra_se_nvrng': 'OE', |
280 | + 'tegra_uss_io_proxy': 'OE', |
281 | + 'tegra_vblk': 'OE', |
282 | + 'tegra_vnet': 'OE', |
283 | + 'tegra_wmark': 'OE', |
284 | + 'tegracam_log': 'OE', |
285 | + 'thermal_trip_event': 'OE', |
286 | + 'ti_fpdlink_dp_serializer': 'OE', |
287 | + 'tsecriscv': 'OE', |
288 | + 'ufs_tegra': 'OE', |
289 | + 'ufs_tegra_provision': 'OE', |
290 | + 'userspace_ivc_mempool': 'OE', |
291 | + 'virtual_i2c_mux': 'OE', |
292 | + 'watchdog_tegra_t18x': 'OE', |
293 | + 'wch': 'OE'}} |
+1