Date: Fri, 10 Apr 2026 17:45:24 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 3b65d32cc0 - main - Report about amd64 FRED Message-ID: <69d93734.33b1d.2c83c88c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/doc/commit/?id=3b65d32cc06273c117c66bb016b50269382540aa commit 3b65d32cc06273c117c66bb016b50269382540aa Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-04-02 05:37:42 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-04-10 15:13:04 +0000 Report about amd64 FRED Reviewed by: salvadore Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D56220 --- .../en/status/report-2026-01-2026-03/fred.adoc | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/website/content/en/status/report-2026-01-2026-03/fred.adoc b/website/content/en/status/report-2026-01-2026-03/fred.adoc new file mode 100644 index 0000000000..700cd2abad --- /dev/null +++ b/website/content/en/status/report-2026-01-2026-03/fred.adoc @@ -0,0 +1,25 @@ +=== amd64 FRED support + +Links: + +link:https://www.intel.com/content/www/us/en/content-details/819481/flexible-return-and-event-delivery-fred-specification.html[Intel FRED specification before SDM] URL: link:https://www.intel.com/content/www/us/en/content-details/819481/flexible-return-and-event-delivery-fred-specification.html[] ++ link:https://reviews.freebsd.org/D55829[D55829 amd64: FRED support] URL: link:https://reviews.freebsd.org/D55829[] + +Contact: Konstantin Belousov <kib@FreeBSD.org> + +Support for FRED AKA Flexible Return and Event Delivery feature of the very modern amd64 platform was implemented. +FRED is the complete revamp of the hardware interface to report exceptions, interrupts, and system calls to the operating system, and the way operating system returns control from the handler to the interrupted code. +The goal for designing FRED was to get rid of the layers of compatibility features and bugs that accumulated in the existing way, let us call it IDT based event delivery. + +FRED specification is now included into the Intel SDM revision 90. +AMD seems to be committed to provide FRED on some future implementations. + +As such, FRED support requires the new code path for event handlers. +The nice structuring of the FRED allows to have minimal assembly trampolines there, moving most of the dispatch to the C code. + +The implementation of the FRED handler was relatively simple, and required much less time than I initially thought. +It shows how good and natural the proposed interface is. + +The testing so far was only done on the Simics emulator. +FRED should be supported by the newly released Intel Panther Lake CPUs, but I do not have access to the real hardware. + +Sponsor: The FreeBSD Foundationhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d93734.33b1d.2c83c88c>
