Skip to content
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

arch/risc-v/Kconfig: Select ARCH_RV_CPUID_MAP for all mpfs targets #15763

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

jlaitine
Copy link
Contributor

@jlaitine jlaitine commented Feb 5, 2025

The default mapping functions are needed for mpfs

Summary

Introducing the new Kconfig flags ARCH_RV_CPUID_MAP broke all mpfs targets, except if running on E51 monitor core, by removing the riscv_hartid_to_cpuid and riscv_cpuid_to_hartid functions. The application U54 harts are the harts 1-4.

Make mpfs bootable again by enabling the flag for all the MPFS targets.

This was requested to be separated from #15753

Impact

All mpfs targets, make them boot again.

Testing

Tested on Microchip Icicle board w. MPFS250T-ES soc

The default mapping functions are needed for mpfs

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
@github-actions github-actions bot added Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XS The size of the change in this PR is very small labels Feb 5, 2025
@anchao anchao merged commit ca6f5db into apache:master Feb 7, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants