<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - HUC Firmware loading failure delays boot time by 60 seconds"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100240#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - HUC Firmware loading failure delays boot time by 60 seconds"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100240">bug 100240</a>
from <span class="vcard"><a class="email" href="mailto:fei.yang@intel.com" title="Fei Yang <fei.yang@intel.com>"> <span class="fn">Fei Yang</span></a>
</span></b>
<pre>The delay is caused by call to fw_load_from_user_helper() from inside
_request_firmware().
The problem is that the drm/i915 driver is trying to load GuC/DMC/HuC firmware
in early boot stage before any file system is mounted. So the
request_firmware() call will fail to load the firmware and fallback to usermode
helper mechanism. However, since this is happening in early boot before init
program is started, it's impossible for any usermode helper to load the
firmware either. Thus the fw_load_from_user_helper() would stuck there until it
times out in 60 seconds.
I believe this firmware loading mechanism is problematic, it should just
schedule a delayed the firmware loading work to some point of time after file
system is mounted.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>