Article View: comp.arch
Article #432Re: Interrupts in OoO
From: MitchAlsup
Date: Thu, 29 Oct 2026 02:27
Date: Thu, 29 Oct 2026 02:27
79 lines
4863 bytes
4863 bytes
EricP <ThatWouldBeTelling@thevillage.com> posted:
> 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.
Not in my design:: each layer can see/access the layers under it,
but not the layers above it. This is much easier to do when only
1 instruction has any notion of privilege.
Application has a few control registers it can see and access.
Application cannot see/access Guest OS control registers,
Guest OS can see/access Application control registers.
Guest OS is protected from Application craziness.
Guest OS cannot see/access Host OS control registers,
Host OS can see/access Guest OS control registers.
Host OS is protected from {Guest OS, Application} craziness.
Host OS cannot see/access HyperVisor control registers,
HyperVisor can see/access Host OS control registers.
HyperVisor is protected from {Host OS Guest OS, Application} craziness.
>
Technical Details
Message-ID:
<1793240861-5857@newsgrouper.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.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> <iArES.62085$BaS5.45523@fx35.iad>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: Interrupts in OoO 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> <iArES.62085$BaS5.45523@fx35.iad> Date: Thu, 29 Oct 2026 02:27:41 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1793240861-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Thu, 29 Oct 2026 02:27:41 GMT User-Agent: Newsgrouper/0.9.0