Article View: comp.arch
Article #427Re: Interrupts in OoO
From: Scott Lurndal
Date: Wed, 28 Oct 2026 20:16
Date: Wed, 28 Oct 2026 20:16
100 lines
5810 bytes
5810 bytes
George Neuner <gneuner2@comcast.net> writes:
>On Wed, 28 Oct 2026 15:35:45 GMT, MitchAlsup
><user5857@newsgrouper.org.invalid> wrote:
>
>>scott@slp53.sl.home (Scott Lurndal) posted:
>>
>>> MitchAlsup <user5857@newsgrouper.org.invalid> writes:
>>> >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.
>>> >
>>> >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.
>>>
>>> Nor should the hypervisor. All of which are generally hardware
>>> agnostic (KVM, XEN, VMWare, et alia) for most everything except
>>> the virtualization mechanics (AMD's SVM or Intel's VM capabilities).
>>
>>So, it all one has is {user, Guest, Host, Hyper}: who SHOULD be burdened
>>with creating responses to things that are not supposed to happen but do ??
>
>There is another question along with who handles it ... what should be
>done? Uncorrected ECC error (check) means the data has to be
>considered corrupt [even if it really is valid] and unusable.
On ARM64 systems, which supports industry standard interfaces implemented by
both windows and linux, there are four exception levels, in order of
increasing privilege:
EL0 User code
EL1 Kernel code (off the shelf, not platform specific)
EL2 Hypervisor code (off the shelf, not platform specific)
EL3 Secure monitor code
Platform and processor specific code is encapsulated in EL3, so that
the operating systems and hypervisors can off-the-shelf standard across
all implementations of a given processor family.
In addition, most non-consumer ARM64 systems will have a Baseboard
Management Controller (BMC) and perhaps a CPLD which handle all the
platform and processor specific RAS and management functionality,
with a small shim in the EL3 code, if necessary, to interface
with the BMC (usually over I2C/I3C and/or ethernet). This is
all provided by the board manufacturer, with the appropriate
security mechanisms and guarantees (e.g. encrypted communications
over I3C or ethernet, etc.)
Beyond that, most processors (intel/amd/arm) used in server-grade
systems have on-SoC mini processors such as Cortex-M3 or M7 cores for handling
boot (including loading firmware from SPI/eMMC controllers prior to
releasing the primary core from reset). The boot rom is executed by
the aux (e.g. m7) processor, not the main processor and is pretty
small, but sufficient to support trusted boot.
RAS notification and recovery is fairly well defined in the various
related specifications for standard firmware interfaces (e.g. AcPI).
Most of the platform-specific recovery is done by the secure firmware,
BMC or the M7 core(s). The ACPI standard (used by intel/amd/arm) defines
the standard mechanisms that windows and linux will use to interface
with the proprietary hardware, including a notification mechanism
to the hypervisor (which can then, if required, use the same mechanism
to notify the kernel of an issue). Recovery is done by standard
non-platform dependent code in the operating systems, if possible.
>
>Do you crash the program that can't handle it?
>Do you crash the guest OS that can't handle it?
> :
>
>How is the user going to feel about your system?
Recovery from an uncorrectable hardware fault is HARD.
Believe that the user experience is at the forefront of the
designers of _all_ these systems; certainly at the high-end
and for most custom designs.
Worst case, if no recovery path exists for a hardware problem,
the BMC will reset the board.
Technical Details
Message-ID:
<XKsES.5146$ygZ5.2581@fx36.iad>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mailReferences:
<TdWLO.282116$FzW1.158190@fx14.iad> <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> <rx8ES.54739$MmU5.22635@fx44.iad> <1793201745-5857@newsgrouper.org> <oqf4elpin9jkntklj7ap5hl9714554eqlf@4ax.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail X-newsreader: xrn 9.03-beta-14-64bit Sender: scott@dragon.sl.home (Scott Lurndal) From: scott@slp53.sl.home (Scott Lurndal) Reply-To: slp53@pacbell.net Subject: Re: Interrupts in OoO Newsgroups: comp.arch References: <TdWLO.282116$FzW1.158190@fx14.iad> <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> <rx8ES.54739$MmU5.22635@fx44.iad> <1793201745-5857@newsgrouper.org> <oqf4elpin9jkntklj7ap5hl9714554eqlf@4ax.com> Lines: 100 Message-ID: <XKsES.5146$ygZ5.2581@fx36.iad> X-Complaints-To: abuse@usenetserver.com NNTP-Posting-Date: Wed, 28 Oct 2026 20:16:55 UTC Organization: UsenetServer - www.usenetserver.com Date: Wed, 28 Oct 2026 20:16:55 GMT X-Received-Bytes: 5578