Repository navigation
Conversation
crawfxrd
force-pushed
the
dev/peci-rewrite
branch
3 times, most recently
from
November 21, 2026 21:56
f6ccb40 to
a7a5056
Compare
crawfxrd
force-pushed
the
dev/peci-rewrite
branch
from
November 23, 2026 00:38
a7a5056 to
5c11dcd
Compare
Some functions return arbitrary negative values for errors. Add some common POSIX errno values that can be used instead. Signed-off-by: Tim Crawford <tcrawford@system76.com>
These boards use PECI over eSPI. Per the schematics, the H_PECI wire is not connected. GPF6 defaults to GPI, so set it to to input with an internal pull down to avoid floating. Signed-off-by: Tim Crawford <tcrawford@system76.com>
crawfxrd
force-pushed
the
dev/peci-rewrite
branch
3 times, most recently
from
November 24, 2026 21:48
4b05cb8 to
34df1af
Compare
crawfxrd
force-pushed
the
dev/peci-rewrite
branch
3 times, most recently
from
November 24, 2026 23:11
5381c46 to
9c94366
Compare
Rewrite PECI support, moving most of it out of the app and into:
- SoC-specific implementations
- A generic driver
Improvements:
- Consolidates transaction logic into a single function
- Adds Ping(), GetDIB(), RdPkgConfig(), RdIAMSR()
- Improves support for handling package capabilities ({Rd,Wr}PkgConfig())
- Replaces hard-coded Tjmax value in GetTemp() calculation
- legacy: Enables additional error checking on transactions
- espi: Adds upstream channel checks to avoid bus contention
- espi: Adds Assured Write FCS calculation
Ref: IT5570E V0.3.2 datasheet
Ref: MTL PECI 4.0 Implementation Guide (#630138)
Ref: eSPI 1.6 Base Specification (#841685)
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Member
Author
|
Testing on darp10 (legacy wire), RdPkConfig() for Tjmax always returns 0x80 ( |
crawfxrd
force-pushed
the
dev/peci-rewrite
branch
from
November 25, 2026 19:41
9c94366 to
509e9ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewrite PECI support, moving most of it out of the app and into:
Some POSIX errno values are added and used in an attempt to set some
standard for error handling, replacing the arbitrary -0xX000 values
previously used.
Improvements
Ping(),GetDIB(),RdPkgConfig(),RdIAMSR(){Rd,Wr}PkgConfig())GetTemp()calculationRef: IT5570E V0.3.2 datasheet
Ref: MTL PECI 4.0 Implementation Guide (#630138)
Ref: eSPI 1.6 Base Specification (#841685)
Related issues
Future work