<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/amdtemp, 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>2025-10-31T18:50:40Z</updated>
<entry>
<title>amdtemp(4): Fix typo in a sysctl description</title>
<updated>2025-10-31T18:50:40Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2025-10-29T15:21:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=85d6c86f4b53e6ac2a9b163c553b48466638f394'/>
<id>urn:sha1:85d6c86f4b53e6ac2a9b163c553b48466638f394</id>
<content type='text'>
- s/temparature/temperature/

MFC after:	5 days
</content>
</entry>
<entry>
<title>newbus: replace leftover device unit wildcards</title>
<updated>2025-06-21T02:57:45Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-06-11T00:25:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b670c9bafc0e31c7609969bf374b2e80bdc00211'/>
<id>urn:sha1:b670c9bafc0e31c7609969bf374b2e80bdc00211</id>
<content type='text'>
Reviewed by:	imp, jhb
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D50913
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): Add support for AMD Family 1Ah (Zen5) CPUs</title>
<updated>2025-05-10T19:20:37Z</updated>
<author>
<name>Ravi Pokala</name>
<email>rpokala@FreeBSD.org</email>
</author>
<published>2025-05-10T06:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a042fab4f91a525daa6255b69892fb434c62831'/>
<id>urn:sha1:2a042fab4f91a525daa6255b69892fb434c62831</id>
<content type='text'>
I found the '1AH_MxxH_ROOT' PCI device IDs in the Linux "AMD K8
Northbridge" driver [1][5]. Since Family 19h (Zen3, Zen4) uses the same
registers as Family 17h (Zen1, Zen2), I tried using those same registers
for Family 1Ah (Zen5) as well, and they worked.

I pulled the 1Ah model ranges from Linux as well [2][3][4][6].

Added some additional logging under 'bootverbose', and used a local
variable and macro for the stepping, rather than repeatedly using the
mask directly.

Consistently report the CPUID (family, model, stepping) using two,
zero-padded, un-prefixed, uppercase nybbles, with an 'h' suffix. This is
the format used in documentation and in Linux.

My own testing with various models of Zen4 EPYC 9xx4 ("Genoa") shows
that their CPUID models are in the range 0x10 .. 0x1f. Similar testing
with various models of Zen5 EPYC 9xx5 ("Turin") shows that their CPUID
models are in the range 0x00 ... 0x2f.

[1] 2023-08-10: https://github.com/torvalds/linux/commit/c640166
[2] 2024-01-23: https://github.com/torvalds/linux/commit/3e4147f
[3] 2024-01-25: https://github.com/torvalds/linux/commit/b9328fd
[4] 2024-04-24: https://github.com/torvalds/linux/commit/2718a7f
[5] 2024-07-28: https://github.com/torvalds/linux/commit/59c3400
[6] 2024-07-30: https://github.com/torvalds/linux/commit/bf5641e

Sponsored by:	Vdura
MFC after:	3 days
Reviewed by:	delphij
Differential Revision:	https://reviews.freebsd.org/D50278
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): add support for Zen 5</title>
<updated>2025-01-12T12:14:01Z</updated>
<author>
<name>Simon Wells</name>
<email>swel024@gmail.com</email>
</author>
<published>2025-01-12T11:46:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a9a71513ccfcb38346c84b006b43d45511d1652c'/>
<id>urn:sha1:a9a71513ccfcb38346c84b006b43d45511d1652c</id>
<content type='text'>
Zen 5 support, tested on Ryzen 7 9700X

PR:	284010
MFC after:	1 week
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Cezanne" cpus</title>
<updated>2025-01-12T12:14:01Z</updated>
<author>
<name>Simon Wells</name>
<email>swel024@gmail.com</email>
</author>
<published>2025-01-12T11:45:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7aa6eeb220d89a3c29eb4f768f258622c3803f46'/>
<id>urn:sha1:7aa6eeb220d89a3c29eb4f768f258622c3803f46</id>
<content type='text'>
Tested on AMD 5700G

PR:	284009
MFC after:	1 week
</content>
</entry>
<entry>
<title>amdtemp: add support for AMD Family 19h Models 40h-4Fh</title>
<updated>2024-10-13T13:21:19Z</updated>
<author>
<name>Matthias Lanter</name>
<email>freebsd@lanter-it.ch</email>
</author>
<published>2024-10-13T13:21:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ecbe99e1627627b6797153899e4d95fde3e230e2'/>
<id>urn:sha1:ecbe99e1627627b6797153899e4d95fde3e230e2</id>
<content type='text'>
PR:		281962
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Phoenix" processors</title>
<updated>2024-08-23T04:51:19Z</updated>
<author>
<name>Oliver Fromme</name>
<email>olli@FreeBSD.org</email>
</author>
<published>2024-08-23T04:46:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef3f8aa0a0492487ac7db839de078b1913f61b4c'/>
<id>urn:sha1:ef3f8aa0a0492487ac7db839de078b1913f61b4c</id>
<content type='text'>
Adds support for AMD Ryzen 7 "Phoenix" processors (family 0x19,
model 0x70-0x7f) to the amdsmn(4) and amdtemp(4) drivers. This
enables temperature readings of these CPUs via sysctl.

The sensors function identically to those for the "Raphael" processors
(model 0x60-0x6f); only the PCI device ID differs.

PR:		kern/280942
Relnotes:	yes
MFC after:	3 days
</content>
</entry>
<entry>
<title>newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY</title>
<updated>2024-07-25T04:22:58Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-25T04:22:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b56413d04e608379c9a306373554a8e4d321bc0'/>
<id>urn:sha1:5b56413d04e608379c9a306373554a8e4d321bc0</id>
<content type='text'>
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): add support for AMD Family 19h Models 10h-1Fh.</title>
<updated>2024-04-14T07:52:08Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2024-04-14T07:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=51c69c8682e8ab0e5d82ab3d6f2d16419d40bad4'/>
<id>urn:sha1:51c69c8682e8ab0e5d82ab3d6f2d16419d40bad4</id>
<content type='text'>
Tested on AMD Threadripper 7960X.

PR:		kern/278311
Tested by:	jbo
MFC after:	1 week
</content>
</entry>
<entry>
<title>pci_cfgreg: Add a PCI domain argument to the low-level register API</title>
<updated>2023-11-29T18:31:47Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-11-29T18:31:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1587a9db92c03c738bb3f0fc5874b43c961e7c99'/>
<id>urn:sha1:1587a9db92c03c738bb3f0fc5874b43c961e7c99</id>
<content type='text'>
This commit changes the API of pci_cfgreg(read|write) to add a domain
argument (referred to as a segment in ACPI parlance) (note that this
is not the same as a NUMA domain, but something PCI-specific).  This
does not yet enable access to domains other than 0, but updates the
API to support domains.

Places that use hard-coded bus/slot/function addresses have been
updated to hardcode a domain of 0.  A few places that have the PCI
domain (segment) available such as the acpi_pcib_acpi.c Host-PCI
bridge driver pass the PCI domain.

The hpt27xx(4) and hptnr(4) drivers fail to attach to a device not on
domain 0 since they provide APIs to their binary blobs that only
permit bus/slot/function addressing.

The x86 non-ACPI PCI bus drivers all hardcode a domain of 0 as they do
not support multiple domains.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42827
</content>
</entry>
</feed>
