arm64: dts: aspeed: shrink eDAF reserved region to 32MB - #319
Open
ankitaprasad2206 wants to merge 1 commit into
Open
arm64: dts: aspeed: shrink eDAF reserved region to 32MB#319ankitaprasad2206 wants to merge 1 commit into
ankitaprasad2206 wants to merge 1 commit into
Conversation
rajaganeshr
reviewed
Sep 8, 2026
|
|
||
| edaf0: eadf0-memory@428000000 { | ||
| reg = <0x4 0x28000000 0x0 0x4000000>; | ||
| reg = <0x4 0x28000000 0x0 0x2000000>; |
Collaborator
There was a problem hiding this comment.
Our DTS should override this node. The dtsi comes from Aspeed, and we usually don’t change it.
ankitaprasad2206
force-pushed
the
resolving-espi-boot-issue
branch
from
September 8, 2026 16:51
974c7a5 to
1a7f3c9
Compare
Replace flash-edaf-tgt-addr phandles with a 64-bit target address so Mix-mode eDAF can program ESPI_CH3_EDAF_TADDR from DT. Keep Aspeed ast2700-reserved-mem.dtsi at the vendor 64MB edaf0 default. Override &edaf0 to 32MB in AMD board DTS so the reserved-memory size matches flash-edaf-size and the programmed translation mask. Tested - Tested on Morocco - Host boots and SOL logs are available Signed-off-by: Ankita Prasad <ankprasa@amd.com>
ankitaprasad2206
force-pushed
the
resolving-espi-boot-issue
branch
from
September 8, 2026 17:10
1a7f3c9 to
3c830b6
Compare
amd-knieman
reviewed
Sep 8, 2026
| dev_err(dev, "cannot get eDAF memory region\n"); | ||
| return -ENODEV; | ||
| } | ||
| rc = of_property_read_u64(dev->of_node, "flash-edaf-tgt-addr", |
Collaborator
There was a problem hiding this comment.
Any particular reason for having this to allow for the old(flash-edaf-tgt-addr and flash-edaf-size) and new style (edaf0 with reg?
AspeedTech-BMC@1b160bb
New style should do the exact same thing.
Collaborator
There was a problem hiding this comment.
// Using the new way of
&edaf0 {
reg = <0x1 0x80000000 0x0 0x2000000>;
};
// Should be equivalent to
&espi0 {
...
flash-edaf-tgt-addr = <0x1 0x80000000>;
flash-edaf-size = <0x0 0x2000000>;
};
rajaganeshr
approved these changes
Sep 9, 2026
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.
Resize edaf0 from 0x4000000 to 0x2000000 so the reserved-memory size matches flash-edaf-size and the programmed translation mask.
Tested