Skip to content

soc: imx943: a55: disable D-Cache when booting from el2 #91190

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

Merged

Conversation

JiafeiPan
Copy link
Collaborator

Enabled CONFIG_ARM64_BOOT_DISABLE_DCACHE to disable D-Cache when booting from EL2.

This PR is to extend the previous implement to new platform: #88415

# Disable data cache until MMU is enabled when booting from EL2
config ARM64_DCACHE_ALL_OPS
default y
config ARM64_BOOT_DISABLE_DCACHE
Copy link
Collaborator

Choose a reason for hiding this comment

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

newline

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added, thanks.

@JiafeiPan JiafeiPan force-pushed the develop/imx943-flush-dcache branch from 3850205 to 2b262d3 Compare June 11, 2025 02:03
@JiafeiPan
Copy link
Collaborator Author

v2: addressed @nordicjm 's comments, and added a new commit to update board document accordingly,

@JiafeiPan JiafeiPan requested a review from nordicjm June 11, 2025 02:05
@JiafeiPan JiafeiPan force-pushed the develop/imx943-flush-dcache branch from 2b262d3 to f3d7213 Compare June 11, 2025 02:09
Copy link

Enabled CONFIG_ARM64_BOOT_DISABLE_DCACHE to disable D-Cache when
booting from EL2.

Signed-off-by: Jiafei Pan <[email protected]>
Update board document to remove dcache off command under U-Boot as
CONFIG_ARM64_BOOT_DISABLE_DCACHE has been enabled.

Signed-off-by: Jiafei Pan <[email protected]>
@kartben kartben merged commit cfc6527 into zephyrproject-rtos:main Jun 17, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants