From nobody Fri Apr 10 17:45:24 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fskjK19Htz6Y5qJ for ; Fri, 10 Apr 2026 17:45:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fskjK0Vrjz3thW for ; Fri, 10 Apr 2026 17:45:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775843125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nwUf1EdyZC/wdgRhBDfAAxHDFNzIPKLD2ioJZnSIvKE=; b=Ac0mGlFF4Vpmid6HsHMdbbnjYRVE/vByTTBUJ7VDvq5nD7mMrAYOjq2voT/bwXi/u43vcJ 5vwN+jp2bj9LzdYvQRjMNZuK5YU6BYRELPdOc/RngKrUDxvunFOIOxSqSevSGQzJKU9JNp 4XW/ZFqmkvWzzuGjPYh/JyEuaLh2hjElWaa5K/eQ7XWc8Z3aDP6IMtNYKkhPTV/TB5Vq3r XsM3M3Mc3e7yCEltAT8gV02cWTn4yLUt8c3e4iJ+RoeHtiItnstByfn1MOgD8PWP2l6Gkj X3VNHW6TUG6rn3NrXQJxWIE/7/nyqupGa6KYnn3cSCmy1F/EoLS0SCpPtPC/lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775843125; a=rsa-sha256; cv=none; b=TS3Qm8xQawhlHW6o62InQ0SkwQiM/3euWIjekL+lGnuV9/RldJo3UT/m8bpU8zNXzDGQG7 NDycOFfCBMEIjJvZCfT7/v6rn3mFZ/xzupQul7M6taQgYAo5SOQaSGi0QIuNa8MmcAAn52 fkpE/LZ9sSTOZHv0+Gwln4MaqlPGyW1JVc6q7kVApO+Y+x2OpPdeydITZ3dtSuxCMnMr7X ziljogScNeRQ8l3YBGRGOqGGUUd+7Cs7VoMMR/YNYVlK2gu6X5rKh9W7eSQ2qhDtxJav3n +r6WIieneNgDOhgqReVN4wbp/Mc+Ua1YtQBmQ9LmTV3bVtGCi+UDHBF151jIzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775843125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nwUf1EdyZC/wdgRhBDfAAxHDFNzIPKLD2ioJZnSIvKE=; b=CfpIc7fVenCVaRCmE+Nbb/HICtYZDfhhsXlGdlO0CK+pOXvM90Sq009LRdzg+/f+GwmiZs O8yWAGqyxzMliq8KNPIXZDyApD+un07bJ+wN7nqnafRXzJn69tLrlSt0H0evCc245Cdl86 vJRtNsWEHMQQKkNfKr7FJMWH65UgnvsHBHEQdD1zHV7F2+acJb2cQ5NbZpgID7SYhxqUe9 NycLQmgGWTBR1MgfD8gCF0rXM82VqX6Oo0CB69ziPXgQ8Cxh/94I6XJohpBFVnCVD70fc+ VBCqEPVAUDczw8h9QUkRfHD6A8l58r2qB4FtgcZ4aK4QUaAVV4/okpTm7h6Ivg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fskjJ6ZC7zvFM for ; Fri, 10 Apr 2026 17:45:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33b1d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 10 Apr 2026 17:45:24 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Konstantin Belousov Subject: git: 3b65d32cc0 - main - Report about amd64 FRED List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b65d32cc06273c117c66bb016b50269382540aa Auto-Submitted: auto-generated Date: Fri, 10 Apr 2026 17:45:24 +0000 Message-Id: <69d93734.33b1d.2c83c88c@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/doc/commit/?id=3b65d32cc06273c117c66bb016b50269382540aa commit 3b65d32cc06273c117c66bb016b50269382540aa Author: Konstantin Belousov AuthorDate: 2026-04-02 05:37:42 +0000 Commit: Konstantin Belousov 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 + +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 Foundation