<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/jjohnson42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjohnson42">@jjohnson42</a> Thanks for the hints about reproduction via ESXi 7's bootx64.efi.  I will try to assemble a test case in qemu that demonstrates the problem.  If you have a minimal test case ready to use, that would be really helpful.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/huanghe4/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/huanghe4">@huanghe4</a> What you are describing is not a <strong>root</strong> cause.  If efi_currticks() is being called at a level other than TPL_CALLBACK then that indicates a missing RaiseTPL somewhere else in the code.  Masking this bug by modifying efi_currticks() to restore the "original" TPL would leave us with a latent race condition, which will be substantially harder to debug in future.  We need to find the actual root cause, which is the missing RaiseTPL that is causing efi_currticks() to be invoked at the wrong TPL.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/113#issuecomment-652279755">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVGJWQSN4FDYBNYT6KDRZLY3XANCNFSM4NMSFYRA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVFRQFLJAQKNYTZBRELRZLY3XA5CNFSM4NMSFYRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE3QP7SY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/113#issuecomment-652279755",
"url": "https://github.com/ipxe/ipxe/pull/113#issuecomment-652279755",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>