Skip to content

CHERI: preserve VMA reservation data for purecap userspace#25

Open
heshamelmatary wants to merge 1 commit into
codasip-cheri-riscv-7.0from
reservations
Open

CHERI: preserve VMA reservation data for purecap userspace#25
heshamelmatary wants to merge 1 commit into
codasip-cheri-riscv-7.0from
reservations

Conversation

@heshamelmatary
Copy link
Copy Markdown
Collaborator

Reservation metadata is currently copied only when CONFIG_CHERI_KERNEL is enabled (ie only purecap RVY at the moment). However, purecap userspace with hybrid Morello kernel also relies on VMA reservation data being preserved across VMA duplication and initialisation paths. Use CONFIG_CHERI_PURECAP_UABI instead so reservation data is retained for purecap user VMAs with a hybrid Morello kernel as well.

Reservation metadata is currently copied only when
CONFIG_CHERI_KERNEL is enabled (ie only purecap RVY at the moment).
However, purecap userspace with hybrid Morello kernel also relies on
VMA reservation data being preserved across VMA duplication and
initialisation paths. Use CONFIG_CHERI_PURECAP_UABI instead so
reservation data is retained for purecap user VMAs with a hybrid Morello
kernel  as well.

Signed-off-by: Hesham Almatary <hesham.almatary@cl.cam.ac.uk>
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