<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-07-21T22:46:42Z</updated>
<entry>
<title>amd64: Remove a prototype for an unimplemented function</title>
<updated>2026-07-21T22:46:42Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-07-21T15:30:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f42c68291d6803abc404fa8d6915a9f5de3a3448'/>
<id>urn:sha1:f42c68291d6803abc404fa8d6915a9f5de3a3448</id>
<content type='text'>
Fixes:		6e93f5e4d693 ("amd64: FRED support")
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D58379
</content>
</entry>
<entry>
<title>amd64: FRED support</title>
<updated>2026-07-20T21:51:02Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-02-13T11:24:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e93f5e4d6932c423b89dff8fc08d86f8bdeb7b9'/>
<id>urn:sha1:6e93f5e4d6932c423b89dff8fc08d86f8bdeb7b9</id>
<content type='text'>
FRED support as defined starting from the SDM rev. 90, requires a new
'events' entry point to receive user and kernel mode exceptions and
interrupts notifications from the hardware.  A minimal asm trampoline is
enough, rest can be implemented in C due to the clean FRED organization
of the event reporting.

The syscall entry is handled by a microptimized assembly path, directly
calling into the amd64_syscall() handler, instead of the generic events
entry point.

Tested by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D55829
</content>
</entry>
<entry>
<title>vm: Make sure NULL is defined for vm_memattr_name()</title>
<updated>2026-07-19T14:09:46Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-07-19T14:09:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=11edc985cd9c2e1dcceccb7e929c6921b4e20c9b'/>
<id>urn:sha1:11edc985cd9c2e1dcceccb7e929c6921b4e20c9b</id>
<content type='text'>
Fixes:	a7e483ee146a ("vm_phys: Add a sysctl to dump registered fictitious memory ranges")
</content>
</entry>
<entry>
<title>vm_phys: Add a sysctl to dump registered fictitious memory ranges</title>
<updated>2026-07-19T00:29:40Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-07-19T00:29:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a7e483ee146a93ac89357676fdb9af62ac58b4bc'/>
<id>urn:sha1:a7e483ee146a93ac89357676fdb9af62ac58b4bc</id>
<content type='text'>
I've wanted this a couple of times in the past.  Save the memattr in
the fictitious memory segment structure so that we can report it from
the sysctl handler, and add conversion routines for each platform.

Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D58283
</content>
</entry>
<entry>
<title>amd64 efirt: register all runtime regions as fictitious</title>
<updated>2026-07-16T15:32:50Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-07-16T06:49:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2f50c4b32d1c126cf2309dab61d27d6329908f8'/>
<id>urn:sha1:a2f50c4b32d1c126cf2309dab61d27d6329908f8</id>
<content type='text'>
This is needed for VM_PHYS_TO_PAGE() to work, which is needed for
pmap_map_io_transient() to work, which is needed for uiomove_fromphys()
to work.

PR:	296348
Reported and tested by:	Anton Saietskii &lt;vsasjason@gmail.com&gt;
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D58274
</content>
</entry>
<entry>
<title>MINIMAL: Add device md</title>
<updated>2026-07-10T04:09:40Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2026-07-10T04:04:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f273414c11e46c1e388aebc6bd45f83e91beeb11'/>
<id>urn:sha1:f273414c11e46c1e388aebc6bd45f83e91beeb11</id>
<content type='text'>
This can't be a loadable module, so add it to MINIMAL

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D58067
</content>
</entry>
<entry>
<title>x86/local_apic.c: Add support for installing a thermal interrupt handler</title>
<updated>2026-07-07T16:33:31Z</updated>
<author>
<name>Koine Yuusuke</name>
<email>koinec@yahoo.co.jp</email>
</author>
<published>2026-07-01T15:28:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87ba088fa3108dd180008a04f25760ec71476c87'/>
<id>urn:sha1:87ba088fa3108dd180008a04f25760ec71476c87</id>
<content type='text'>
The thermal interrupt is initially masked.

Thermal interrupt handling is enabled by calling lapic_enable_thermal(),
which installs a (single) handler.

[olce: Wrote the commit message.]

Reviewed by:    kib, olce
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D44454
</content>
</entry>
<entry>
<title>sys: use curthread_pflags_set/restore to manage TDP_DEADLKTREAT for uio</title>
<updated>2026-06-23T14:42:03Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-06-21T18:48:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c419570024951ad1e477c8d6c3d9968199faf4a'/>
<id>urn:sha1:4c419570024951ad1e477c8d6c3d9968199faf4a</id>
<content type='text'>
For i386, remove now unused label.
Remove unneeded initialization of the 'save' local.

Reviewed bu:	brooks
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D57726
</content>
</entry>
<entry>
<title>x86: Harmonize GENERIC and MINIMAL</title>
<updated>2026-06-23T07:51:01Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-23T07:51:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01c8644093c28d09f0d41fb522dc53f1ab696a7e'/>
<id>urn:sha1:01c8644093c28d09f0d41fb522dc53f1ab696a7e</id>
<content type='text'>
* Reorder MINIMAL so everything is in the same order as in GENERIC.

* Wherever comments diverged, except for the explanatory comment at
  the top, copy the GENERIC version to MINIMAL.

* Add KDTRACE_FRAME to i386 GENERIC; it was already in MINIMAL, and
  adding it to GENERIC seemed like the more correct move.

With these changes, MINIMAL is a strict subset of GENERIC, apart from
the identifier and the explanatory comment at the top.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D57729
</content>
</entry>
<entry>
<title>acpi: Forbid requesting S4 when S4BIOS is not supported</title>
<updated>2026-06-22T13:50:03Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce@FreeBSD.org</email>
</author>
<published>2026-06-02T16:04:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc6d7a7520d00943ab167544b145f404c10b406a'/>
<id>urn:sha1:fc6d7a7520d00943ab167544b145f404c10b406a</id>
<content type='text'>
Pending the OS-supported hibernate functionality, prevent requesting S4
when S4BIOS is not supported.

To this end, make sure that acpi_supported_stypes[] indicates that
POWER_STYPE_FW_HIBERNATE is not supported if 'acpi_s4bios_supported' is
false, even if S4 is supported by the platform (which is only
a power-down-like state, without any support to save the system image by
itself).  This will cause requests to enter S4, which are translated to
POWER_STYPE_FW_HIBERNATE before reaching
acpi_ReqSleepState()/acpi_EnterSleepState(), to fail in this case.

Retire the 'hw.acpi.s4bios' sysctl knob, as having it to 0 by default
(S4BIOS not supported) or setting it to 0 (default is 1 when S4BIOS is
supported) could only lead, on a S4 request, to a power down without any
possibility to restore the system (and, since a recent commit, it has
not been possible anymore to force it to 1 when S4BIOS is not announced
supported in the FACS table, which would cause a failure or a crash).

When OS-supported hibernate is introduced, it will become the default
hibernate method over S4BIOS, as we have not heard of any semi-recent
hardware platform implementing it (and when it is, it usually needs
a sufficiently large dedicated slice/partition, and does not use FreeBSD
swap slices/partitions).  Then, for people still wanting to use S4BIOS
on older platforms that support it, the tentative plans are to modify
acpiconf(8) to accept '4BIOS' as an argument to '-s', or modify zzz(8)
so that one can pass a specific suspension method.

Reviewed by:    obiwac
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57414
</content>
</entry>
</feed>
