genodelabs / genode

Genode OS Framework
https://genode.org/
Other
1.03k stars 249 forks source link

gpu/intel: executing `clflush` on MMIO causes system hang-up on ZimaBlade (Celeron N3450) #5176

Closed jschlatow closed 1 month ago

jschlatow commented 1 month ago

When investigating why using the GPU on my ZimaBlade hangs up the system, I found out that calling clflush on the GPUs MMIO was the culprit. I inspected the current Linux code and found that clflush is not used in those situations where our intel_gpu_drv uses it. However, it is used for the ppgtt (which is not MMIO) where we do not use clflush yet.

jschlatow commented 1 month ago

Fixed by efc701b.

I tested this on the ZimaBlade and x260.