Repository navigation
Rust ADT fixes and improvements - #499
Merged
Merged
Conversation
jannau
commented
Sep 22, 2025
Member
jannau
requested review from
WhatAmISupposedToPutHere and
svenpeter42
as code owners
September 22, 2025 22:34
This will be used to check all compatible strings in `adt_is_compatible()`. For now use it to implement ADTNode::compatible() returning the n-th compatible string on rust side and the C wrapper function adt_is_compatible_at(). Signed-off-by: Janne Grunau <j@jannau.net>
The t602x atc-phy nodes carry "[atc-phy,t6020, atc-phy,t8112]" as compatible property. This results in trying to read t8112 fuses on those machines which fails with SError when the adt_is_compatible() regression is fixed. Signed-off-by: Janne Grunau <j@jannau.net>
jannau
force-pushed
the
rust-adt-compat
branch
from
September 22, 2025 22:41
a6cd6e6 to
3598bd5
Compare
jannau
requested review from
WhatAmISupposedToPutHere,
chadmed and
svenpeter42
and removed request for
WhatAmISupposedToPutHere and
svenpeter42
September 22, 2025 22:41
chadmed
approved these changes
Sep 23, 2025
WhatAmISupposedToPutHere
approved these changes
Sep 23, 2025
Fixes a regression in the ADT rust reimplementation checking only the first compatible. Closes: AsahiLinux#496 Fixes: 5bc1d2f ("adt: replace adt_is_compatible() with Rust") Signed-off-by: Janne Grunau <j@jannau.net>
Simplifies referencing the root ADT node in rust code. Signed-off-by: Janne Grunau <j@jannau.net>
jannau
force-pushed
the
rust-adt-compat
branch
from
September 23, 2025 13:17
3598bd5 to
b530f7c
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.