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

Base infrastructure for partitioner integrated on ATF #1

Draft
wants to merge 4 commits into
base: bao/partitioner
Choose a base branch
from

Conversation

danielRep
Copy link
Member

This PR will introduce the first base infrastructure (directories, build settings) and calling points to initialize the partitioner, including some needed stubs.
A list of features:

  • Call partitioner handler to deal with SMC
  • Call partitioner initialization function of partitions
  • Integrate CI calls to run on top of these sources
  • Add submake file to compile sources

Call partitioner init after bl31_main and redirect smc handler
call to the partitioner system call.

Signed-off-by: Daniel Oliveira <[email protected]>
Add to the partitioner.mk a method to deal with source files that have
the same filename in the partitioner module (e.g. arch/vmm and core/vmm).

The temporary copy of the files is made and passed to the BL31_SOURCES
variable.

The clean target is also modified with a internal targett dependency to
eliminate the temporary files.

Signed-off-by: Daniel Oliveira <[email protected]>
Add format, tidy, cppcheck, and misra-check calls to partitioner.mk.
Since the atf CPPFLAGS variable does not encompasses only
pre-processor flags, (compilation flags are also added) the ci
calls needed to change to construct a clean variable without such
extra options.
The structure of the code was also changed to better scale.

Signed-off-by: Daniel Oliveira <[email protected]>
@danielRep danielRep marked this pull request as draft April 28, 2023 12:53
josecm pushed a commit that referenced this pull request Jul 12, 2023
FVP PMUv3 SPIs legacy interrupts are only listed for
cluster #0 and are missing for cluster #1.
This patch changes FVP SPIs to PMUv3 PPI as in
arm_fpga.dtsi, morello.dtsi and n1sdp.dtsi.

Signed-off-by: AlexeiFedorov <[email protected]>
Change-Id: Ic624cec09ba932666c746ae1a6a4b78b6decde96
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.

2 participants