<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/amdtemp, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-12-12T19:43:38Z</updated>
<entry>
<title>amdtemp(4): Add missing Family 17h models</title>
<updated>2020-12-12T19:43:38Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-12-12T19:43:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b499ab877f3d6bf5e2c894edfcfdcf89ce7c79d3'/>
<id>urn:sha1:b499ab877f3d6bf5e2c894edfcfdcf89ce7c79d3</id>
<content type='text'>
Add missing model numbers M20h (Dali, Zen1), M60H (Renoir, Zen2), and
M90H (Van Gogh, Zen2).

Submitted by:	Greg V &lt;greg AT unrelenting.technology&gt;
</content>
</entry>
<entry>
<title>amdsmn(4), amdtemp(4): add support for Family 19h (Zen 3)</title>
<updated>2020-12-12T19:34:12Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-12-12T19:34:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ea6189d3a470ce9ffb19335f915eab6af0cfef57'/>
<id>urn:sha1:ea6189d3a470ce9ffb19335f915eab6af0cfef57</id>
<content type='text'>
Zen 3 "Vermeer" support, tested on Ryzen 9 5950X.

Model numbers from https://en.wikichip.org/wiki/amd/cpuid "Extended
Model" column.

Submitted by:	Greg V &lt;greg AT unrelenting.technology&gt;
Differential Revision:	https://reviews.freebsd.org/D27552
</content>
</entry>
<entry>
<title>amdtemp(4), amdsmn(4): Attach to Ryzen 4000 APU (Zen 2, "Renoir")</title>
<updated>2020-09-25T04:16:28Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-09-25T04:16:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5b505170794dfaae633294aaf178bd797b7a1b11'/>
<id>urn:sha1:5b505170794dfaae633294aaf178bd797b7a1b11</id>
<content type='text'>
PR:		249864
Reported by:	Florian Millet &lt;florian.millet AT laposte.net&gt;
Tested by:	Florian Millet
</content>
</entry>
<entry>
<title>kernel: provide panicky version of __unreachable</title>
<updated>2020-05-13T18:07:37Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-05-13T18:07:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c79cee71363ddaeb3c5ab7d3ccb87a11e1860d95'/>
<id>urn:sha1:c79cee71363ddaeb3c5ab7d3ccb87a11e1860d95</id>
<content type='text'>
__builtin_unreachable doesn't raise any compile-time warnings/errors on its
own, so problems with its usage can't be easily detected. While it would be
nice for this situation to change and compilers to at least add a warning
for trivial cases where local state means the instruction can't be reached,
this isn't the case at the moment and likely will not happen.

This commit adds an __assert_unreachable, whose intent is incredibly clear:
it asserts that this instruction is unreachable. On INVARIANTS builds, it's
a panic(), and on non-INVARIANTS it expands to  __unreachable().

Existing users of __unreachable() are converted to __assert_unreachable,
to improve debuggability if this assumption is violated.

Reviewed by:	mjg
Differential Revision:	https://reviews.freebsd.org/D23793
</content>
</entry>
<entry>
<title>Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)</title>
<updated>2020-02-26T14:26:36Z</updated>
<author>
<name>Pawel Biernacki</name>
<email>kaktus@FreeBSD.org</email>
</author>
<published>2020-02-26T14:26:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7029da5c36f2d3cf6bb6c81bf551229f416399e8'/>
<id>urn:sha1:7029da5c36f2d3cf6bb6c81bf551229f416399e8</id>
<content type='text'>
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked).
Use it in preparation for a general review of all nodes.

This is non-functional change that adds annotations to SYSCTL_NODE and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.

Mark all obvious cases as MPSAFE.  All entries that haven't been marked
as MPSAFE before are by default marked as NEEDGIANT

Approved by:	kib (mentor, blanket)
Commented by:	kib, gallatin, melifaro
Differential Revision:	https://reviews.freebsd.org/D23718
</content>
</entry>
<entry>
<title>amdtemp(4): Remove dead code that snuck in with r357190</title>
<updated>2020-01-28T03:27:06Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-01-28T03:27:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cc3b01385bfd7e7f67866c4ac0a1b43370d7e6b7'/>
<id>urn:sha1:cc3b01385bfd7e7f67866c4ac0a1b43370d7e6b7</id>
<content type='text'>
I intended to remove this before committing, but neglected to.
</content>
</entry>
<entry>
<title>amdtemp(4): Add support for Family 17h CCD sensors</title>
<updated>2020-01-28T01:39:50Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-01-28T01:39:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c59b9a4f8d2c7a34782a3885f1c76fb1decea174'/>
<id>urn:sha1:c59b9a4f8d2c7a34782a3885f1c76fb1decea174</id>
<content type='text'>
Probe Family 17h CPUs for up to 4 (Zen, Zen+) or 8 (Zen2) CCD temperature
sensors.  These were discovered by Ondrej Čerman
(https://github.com/ocerman) and collaborators experimentally, and are not
currently documented in any datasheet I have access to.
</content>
</entry>
<entry>
<title>amdtemp(4): Refactor shared temperature calculation logic</title>
<updated>2020-01-28T01:38:51Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2020-01-28T01:38:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=02f700029357ddf31b538bbb5a23785d4ca4c7a8'/>
<id>urn:sha1:02f700029357ddf31b538bbb5a23785d4ca4c7a8</id>
<content type='text'>
No functional change intended.
</content>
</entry>
<entry>
<title>amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges</title>
<updated>2019-08-06T03:54:27Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-08-06T03:54:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=85dbddbe14531a4ae353a264f43f50befa207b48'/>
<id>urn:sha1:85dbddbe14531a4ae353a264f43f50befa207b48</id>
<content type='text'>
PR:	239607
Reported by:	"drclaw" &lt;drclaw AT gmail.com&gt;
</content>
</entry>
<entry>
<title>amdtemp(4): Add support for Family 15h, Model &gt;=60h</title>
<updated>2019-01-12T22:36:33Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-01-12T22:36:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e49ec461147e161f167b3d758cd0fd44b2b6f581'/>
<id>urn:sha1:e49ec461147e161f167b3d758cd0fd44b2b6f581</id>
<content type='text'>
Family 15h is a bit of an oddball.  Early models used the same temperature
register and spec (mostly[1]) as earlier CPU families.

Model 60h-6Fh and 70-7Fh use something more like Family 17h's Service
Management Network, communicating with it in a similar fashion.  To support
them, add support for their version of SMU indirection to amdsmn(4) and use
it in amdtemp(4) on these models.

While here, clarify some of the deviceid macros in amdtemp(4) that were
added with arbitrary, incorrect family numbers, and remove ones that were
not used.  Additionally, clarify intent and condition of heterogenous
multi-socket system detection.

[1]: 15h adds the "adjust range by -49°C if a certain condition is met,"
which previous families did not have.

Reported by:	D. C. &lt;tjoard AT gmail.com&gt;
PR:		234657
Tested by:	D. C. &lt;tjoard AT gmail.com&gt;
</content>
</entry>
</feed>
