|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
| #
745965ff |
| 13-Oct-2024 |
Matthias Lanter <[email protected]> |
amdtemp: add support for AMD Family 19h Models 40h-4Fh
PR: 281962 MFC after: 2 weeks
(cherry picked from commit ecbe99e1627627b6797153899e4d95fde3e230e2)
|
|
Revision tags: release/13.4.0 |
|
| #
c7d5163a |
| 23-Aug-2024 |
Oliver Fromme <[email protected]> |
amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Phoenix" processors
Adds support for AMD Ryzen 7 "Phoenix" processors (family 0x19, model 0x70-0x7f) to the amdsmn(4) and amdtemp(4) drivers. This
amdsmn(4), amdtemp(4): add support for AMD Ryzen 7 "Phoenix" processors
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
(cherry picked from commit ef3f8aa0a0492487ac7db839de078b1913f61b4c)
show more ...
|
|
Revision tags: release/14.1.0 |
|
| #
e4d8fe76 |
| 14-Apr-2024 |
Xin LI <[email protected]> |
amdsmn(4), amdtemp(4): add support for AMD Family 19h Models 10h-1Fh.
Tested on AMD Threadripper 7960X.
PR: kern/278311 Tested by: jbo
(cherry picked from commit 51c69c8682e8ab0e5d82ab3d6f2d16419
amdsmn(4), amdtemp(4): add support for AMD Family 19h Models 10h-1Fh.
Tested on AMD Threadripper 7960X.
PR: kern/278311 Tested by: jbo
(cherry picked from commit 51c69c8682e8ab0e5d82ab3d6f2d16419d40bad4)
show more ...
|
|
Revision tags: release/13.3.0 |
|
| #
98b822fc |
| 29-Nov-2023 |
John Baldwin <[email protected]> |
pci_cfgreg: Add a PCI domain argument to the low-level register API
This commit changes the API of pci_cfgreg(read|write) to add a domain argument (referred to as a segment in ACPI parlance) (note t
pci_cfgreg: Add a PCI domain argument to the low-level register API
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
(cherry picked from commit 1587a9db92c03c738bb3f0fc5874b43c961e7c99)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
685dc743 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
323a94af |
| 01-Aug-2023 |
Akio Morita <[email protected]> |
amdsmn(4), amdtemp(4): add support for Zen 4
Zen 4 support, tested on Ryzen 9 7900
Reviewed by: imp (previous version), mhorne Approved by: mhorne Obtained from: http://jyurai.ddo.jp/~amorita/diary
amdsmn(4), amdtemp(4): add support for Zen 4
Zen 4 support, tested on Ryzen 9 7900
Reviewed by: imp (previous version), mhorne Approved by: mhorne Obtained from: http://jyurai.ddo.jp/~amorita/diary/?date=20221102#p01 Differential Revision: https://reviews.freebsd.org/D41049
show more ...
|
| #
c1cbabe8 |
| 17-Jun-2023 |
Val Packett <[email protected]> |
amdtemp: Fix missing 49 degree offset on current EPYC CPUs
On an EPYC 7313P, the temperature reported by amdtemp was off, because the offset was not applied. Turns out it needs to be applied with on
amdtemp: Fix missing 49 degree offset on current EPYC CPUs
On an EPYC 7313P, the temperature reported by amdtemp was off, because the offset was not applied. Turns out it needs to be applied with one more condition: https://lkml.org/lkml/2023/4/13/1095
Reviewed by: mhorne Tested by: [email protected] MFC after: 1 week Sponsored by: https://www.patreon.com/valpackett Pull Request: https://github.com/freebsd/freebsd-src/pull/754
show more ...
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
83a273ef |
| 09-May-2022 |
John Baldwin <[email protected]> |
dev/amd*: Remove unused devclass arguments to DRIVER_MODULE.
|
| #
6c101ed7 |
| 26-Dec-2021 |
Alexander Motin <[email protected]> |
amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls.
It seems to be needed only to serialize very old K8 registers access. Introduce separate lock for that and remove Giant dependency.
MFC after: 2 weeks
|
| #
b9723c5b |
| 09-Dec-2021 |
Mateusz Guzik <[email protected]> |
amdtemp: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
|
| #
db0ac6de |
| 02-Dec-2021 |
Cy Schubert <[email protected]> |
Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"
This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.
A mism
Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816"
This reverts commit 266f97b5e9a7958e365e78288616a459b40d924a, reversing changes made to a10253cffea84c0c980a36ba6776b00ed96c3e3b.
A mismerge of a merge to catch up to main resulted in files being committed which should not have been.
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
94a72c5a |
| 01-Dec-2021 |
Alexander Motin <[email protected]> |
amdtemp: Revert related part of "Make CPU children" commit.
While it still looks like previous code worked by coincidence, this change broke things even more instead of fixing.
Reported by: avg@ MF
amdtemp: Revert related part of "Make CPU children" commit.
While it still looks like previous code worked by coincidence, this change broke things even more instead of fixing.
Reported by: avg@ MFC after: 1 week
show more ...
|
| #
d3a8f98a |
| 25-Sep-2021 |
Alexander Motin <[email protected]> |
Make CPU children explicitly share parent unit numbers.
Before this device unit number match was coincidental and broke if I disabled some CPU device(s). Aside of cosmetics, for some drivers (may b
Make CPU children explicitly share parent unit numbers.
Before this device unit number match was coincidental and broke if I disabled some CPU device(s). Aside of cosmetics, for some drivers (may be considered broken) it caused talking to wrong CPUs.
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
b499ab87 |
| 12-Dec-2020 |
Conrad Meyer <[email protected]> |
amdtemp(4): Add missing Family 17h models
Add missing model numbers M20h (Dali, Zen1), M60H (Renoir, Zen2), and M90H (Van Gogh, Zen2).
Submitted by: Greg V <greg AT unrelenting.technology>
|
| #
ea6189d3 |
| 12-Dec-2020 |
Conrad Meyer <[email protected]> |
amdsmn(4), amdtemp(4): add support for Family 19h (Zen 3)
Zen 3 "Vermeer" support, tested on Ryzen 9 5950X.
Model numbers from https://en.wikichip.org/wiki/amd/cpuid "Extended Model" column.
Submi
amdsmn(4), amdtemp(4): add support for Family 19h (Zen 3)
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 <greg AT unrelenting.technology> Differential Revision: https://reviews.freebsd.org/D27552
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
5b505170 |
| 25-Sep-2020 |
Conrad Meyer <[email protected]> |
amdtemp(4), amdsmn(4): Attach to Ryzen 4000 APU (Zen 2, "Renoir")
PR: 249864 Reported by: Florian Millet <florian.millet AT laposte.net> Tested by: Florian Millet
|
|
Revision tags: release/11.4.0 |
|
| #
c79cee71 |
| 13-May-2020 |
Kyle Evans <[email protected]> |
kernel: provide panicky version of __unreachable
__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
kernel: provide panicky version of __unreachable
__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
show more ...
|
| #
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <[email protected]> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
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
show more ...
|
| #
cc3b0138 |
| 28-Jan-2020 |
Conrad Meyer <[email protected]> |
amdtemp(4): Remove dead code that snuck in with r357190
I intended to remove this before committing, but neglected to.
|
| #
c59b9a4f |
| 28-Jan-2020 |
Conrad Meyer <[email protected]> |
amdtemp(4): Add support for Family 17h CCD sensors
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/ocer
amdtemp(4): Add support for Family 17h CCD sensors
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.
show more ...
|
| #
02f70002 |
| 28-Jan-2020 |
Conrad Meyer <[email protected]> |
amdtemp(4): Refactor shared temperature calculation logic
No functional change intended.
|
|
Revision tags: release/12.1.0 |
|
| #
85dbddbe |
| 06-Aug-2019 |
Conrad Meyer <[email protected]> |
amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges
PR: 239607 Reported by: "drclaw" <drclaw AT gmail.com>
|
|
Revision tags: release/11.3.0 |
|
| #
e49ec461 |
| 12-Jan-2019 |
Conrad Meyer <[email protected]> |
amdtemp(4): Add support for Family 15h, Model >=60h
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 a
amdtemp(4): Add support for Family 15h, Model >=60h
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. <tjoard AT gmail.com> PR: 234657 Tested by: D. C. <tjoard AT gmail.com>
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
fbd5d782 |
| 14-Nov-2018 |
Conrad Meyer <[email protected]> |
amdtemp(4): Fix temperature reporting on AMD 2990WX
Update the AMD family 17h temperature reporting based on AMD Tech Doc 56255 OSRR, section 4.2.1.
For CPUS w/CUR_TEMP_RANGE_SEL set, scale the rep
amdtemp(4): Fix temperature reporting on AMD 2990WX
Update the AMD family 17h temperature reporting based on AMD Tech Doc 56255 OSRR, section 4.2.1.
For CPUS w/CUR_TEMP_RANGE_SEL set, scale the reported temperature into the range -49..206; i.e., subtract 49°C.
Submitted by: gallatin@ Reported by: bcran@ Reviewed by: me (long ago) MFC after: 22.57 seconds Relnotes: yea Differential Revision: https://reviews.freebsd.org/D16855
show more ...
|