Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amdtemp: Fix missing 49 degree offset on current EPYC CPUs #754

Closed
wants to merge 1 commit into from

Conversation

valpackett
Copy link
Contributor

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

Tested by: mike.jakubik@gmail.com
Sponsored by: https://www.patreon.com/valpackett

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

Tested by:      mike.jakubik@gmail.com
Sponsored by:   https://www.patreon.com/valpackett
@MikeJakubik
Copy link

MikeJakubik commented Jun 1, 2023

Hi,

I am the one that reported the issue on Discord and tested the patch, works fine on a recent build of 13-STABLE running on a Lenovo SR635, can also test on a SR655 if need be. Would love to see this make it into stable as this is throwing off our monitoring software (Netdata).

Thank You.

@valpackett
Copy link
Contributor Author

@emaste ping

Copy link
Contributor

@mhorne mhorne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. I will grab this and push to main, and then stable branches after a few days.

freebsd-git pushed a commit that referenced this pull request Jun 17, 2023
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:	mike.jakubik@gmail.com
MFC after:	1 week
Sponsored by:	https://www.patreon.com/valpackett
Pull Request:	#754
@bsdimp
Copy link
Member

bsdimp commented Jun 27, 2023

This has landed in main, so closing.

@bsdimp bsdimp closed this Jun 27, 2023
@emaste emaste added the merged label Jun 27, 2023
@valpackett valpackett deleted the amdt branch June 27, 2023 20:35
freebsd-git pushed a commit that referenced this pull request Jul 7, 2023
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:	mike.jakubik@gmail.com
MFC after:	1 week
Sponsored by:	https://www.patreon.com/valpackett
Pull Request:	#754

(cherry picked from commit c1cbabe)
fichtner pushed a commit to opnsense/src that referenced this pull request Aug 4, 2023
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:	mike.jakubik@gmail.com
MFC after:	1 week
Sponsored by:	https://www.patreon.com/valpackett
Pull Request:	freebsd/freebsd-src#754

(cherry picked from commit c1cbabe)
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Aug 14, 2023
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:	mike.jakubik@gmail.com
MFC after:	1 week
Sponsored by:	https://www.patreon.com/valpackett
Pull Request:	freebsd/freebsd-src#754
amotin pushed a commit to truenas/os that referenced this pull request Dec 4, 2023
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:	mike.jakubik@gmail.com
MFC after:	1 week
Sponsored by:	https://www.patreon.com/valpackett
Pull Request:	freebsd/freebsd-src#754

(cherry picked from commit c1cbabe)
(cherry picked from commit eb08efb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants