Article View: comp.arch
Article #423Re: Interrupts in OoO
From: EricP
Date: Wed, 28 Oct 2026 18:57
Date: Wed, 28 Oct 2026 18:57
59 lines
3920 bytes
3920 bytes
On 2026-Oct-27 17:07, MitchAlsup wrote:
> scott@slp53.sl.home (Scott Lurndal) posted:
>
>> MitchAlsup <user5857@newsgrouper.org.invalid> writes:
> -----------------------------
>>>> In my terminology I have Exceptions, Interrupts, and Errors.
>>>> I take all the well defined stuff and put it in the Exception and
>>>> Interrupt buckets, and take all the weird stuff and call it Errors.
>>>
>>> To a very large extent I agree with you. The things you call errors
>>> I call Checks. Checks are never supposed to happen {{like late store
>>> data ECC fails}}.
>>
>> If it is "never supposed to happen", why bother to check at all...
>
> Guest OS can run as if uncorrectable ECC can never happen. So, to
> Guest OS it is never supposed to happen, and Guest OS is not setup
> to deal with the problem if it does.
If a memory read error is uncorrectable then the entire hierarchy should be informed.
If a guest OS chooses not to do anything in its handler then that's it business.
HW notifies the HV, which does its thing and punts it to the guest OS,
which can record it and punts it to the app, which dies with a fatal exception.
>
> HyperVisor cannot run banking applications with UC ECC, whereas some
> real-time control might be able to; so you punt it all the way up the
> privilege ladder.
>
>> For RAS reasons, if nothing else, one must assume that anything
>> may happen.
>
> But, still, Guest OS should not be burdened with those checks.
>>
>>>
>> <snip>
>>
>>>> Errors are model and error specific, may be synchronous or asynchronous,
>>>> may be precise (Faults or Traps) or imprecise (Aborts).
>>>> Errors may or may not be deferred (maskable).
>>>
>>> It is at this point I generally point out that Checks {errors} deliver
>>> control to the highest privilege level {HyperVisor} not the next higher
>>> privilege level {Guest OS when in User}.
>>
>> It's better if that is programmable, i.e. the highest privilege level
>> (even higher than the hypervisor - i.e. the EL3 in ARM64, or SMM for
>> intel/amd (or perhaps a BMC)). The higher privilege levels can delegate
>> the asynchronous "check" exception handling to a lower level, if necessary.
>
> Or abort the lower level that suffered the check, possibly restarting it
> from the last checkpoint with new/diffent memory.
>
I'm not clear on exactly what this "higher privilege level" does.
Privileges typically give access to protected resources like control registers.
But Super mode, or HV mode if in a VM, already has full access.
Technical Details
Message-ID:
<iArES.62085$BaS5.45523@fx35.iad>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx35.iad.POSTED!not-for-mailReferences:
<2024Oct3.160055@mips.complang.tuwien.ac.at> <vdmrk6$3rksr$1@dont-email.me> <LyELO.69485$2nv5.62232@fx39.iad> <TdWLO.282116$FzW1.158190@fx14.iad> <963a276fd8d43e4212477cefae7f6e46@www.novabbs.org> <8IcMO.249144$v8v2.147178@fx18.iad> <2024Oct5.195712@mips.complang.tuwien.ac.at> <6adbf319.9129937@news.eternal-september.org> <1792869649-5857@newsgrouper.org> <fCpDS.27362$9b8f.8498@fx39.iad> <L%JDS.15598$fJ0f.4191@fx44.iad> <1793118908-5857@newsgrouper.org> <086ES.1941$y_V1.526@fx12.iad> <1793135271-5857@newsgrouper.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx35.iad.POSTED!not-for-mail MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Interrupts in OoO Content-Language: en-CA Newsgroups: comp.arch References: <2024Oct3.160055@mips.complang.tuwien.ac.at> <vdmrk6$3rksr$1@dont-email.me> <LyELO.69485$2nv5.62232@fx39.iad> <TdWLO.282116$FzW1.158190@fx14.iad> <963a276fd8d43e4212477cefae7f6e46@www.novabbs.org> <8IcMO.249144$v8v2.147178@fx18.iad> <2024Oct5.195712@mips.complang.tuwien.ac.at> <6adbf319.9129937@news.eternal-september.org> <1792869649-5857@newsgrouper.org> <fCpDS.27362$9b8f.8498@fx39.iad> <L%JDS.15598$fJ0f.4191@fx44.iad> <1793118908-5857@newsgrouper.org> <086ES.1941$y_V1.526@fx12.iad> <1793135271-5857@newsgrouper.org> From: EricP <ThatWouldBeTelling@thevillage.com> In-Reply-To: <1793135271-5857@newsgrouper.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 59 Message-ID: <iArES.62085$BaS5.45523@fx35.iad> X-Complaints-To: abuse@UsenetServer.com NNTP-Posting-Date: Wed, 28 Oct 2026 18:57:18 UTC Date: Wed, 28 Oct 2026 14:57:16 -0400 X-Received-Bytes: 3688