On 07.02.2024 23:10, Christian Gudrian wrote:

Is the kernel too old for the XHCI emulator or am I missing something else?

The ancient kernel wasn't honoring bits 4:7 in register hcs_params2
(max. number of event ring segments) and tried to allocate 2 segments
while QEMU only supports 1. That kills QEMU XHCI driver very early
during initialization.

I've patched the kernel appropriately (by replacing all occurences of
ERST_NUM_SEGS with the computed allowed maximum number).

XHCI is working now.

Christian

Reply via email to