Skip to content

lopper: assists: xlnx_overlay_pl_dt: exclude address-map property from overlay#748

Merged
zeddii merged 1 commit into
devicetree-org:masterfrom
arthokal:addr_map_prop_exclude
May 6, 2026
Merged

lopper: assists: xlnx_overlay_pl_dt: exclude address-map property from overlay#748
zeddii merged 1 commit into
devicetree-org:masterfrom
arthokal:addr_map_prop_exclude

Conversation

@arthokal

@arthokal arthokal commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Current status:
With latest changes in master branch,
When overlay_of() is called, fragments are now automatically generated for any base tree properties that reference overlay nodes. This ensures cross-tree references remain valid. Hence address-map properties are generated in the overlay which provides the complete address-map including both PS and PL device entries.

Fix:
address-map is an SDT-specific property that is not consumed by the Linux kernel at runtime. Automatically exclude it from the generated pl.dtsi and clean up any empty overlay fragments left behind.

Closed PR #746 as it was based on old upstream master.

@Zeddi,
I confirm that PL overlay use cases pass on master and there are no warnings. Please review.
Should I still keep cleaning up of empty fragments through regex? You were mentioning this last time:

so the check for empty property is not used, but I guess it is a good safety net if something breaks.

CC: @onkarharsh , @kedareswararao , @sivadur

@zeddii

zeddii commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

It's ok to keep the check, it just won't be used .. but if something breaks it is a good secondary check.

I have no issues with the change now.

@zeddii

zeddii commented May 3, 2026

Copy link
Copy Markdown
Collaborator

Any other reviews needed for this ?

@zeddii

zeddii commented May 5, 2026

Copy link
Copy Markdown
Collaborator

I had to update master to fix some issues with the previous release, can you rebase and resend this pull request ?

…m overlay

address-map is an SDT-specific property that is not consumed by the
Linux kernel at runtime. Automatically exclude it from the generated
pl.dtsi and clean up any empty overlay fragments left behind.

Signed-off-by: Aravind Thokala <aravind.thokala@amd.com>
@arthokal arthokal force-pushed the addr_map_prop_exclude branch from 19bb6bd to 43cce44 Compare May 6, 2026 05:19
@arthokal

arthokal commented May 6, 2026

Copy link
Copy Markdown
Contributor Author

@zeddii ,

I had to update master to fix some issues with the previous release, can you rebase and resend this pull request ?

Fixed. Please review.

@zeddii zeddii merged commit 008897f into devicetree-org:master May 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants