Page MenuHomeFreeBSD

arm64: VM/PMAP changes for CCA guest support
ClosedPublic

Authored by sarah.walker2_arm.com on Apr 23 2026, 10:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 28, 6:38 AM
Unknown Object (File)
Tue, May 26, 1:37 AM
Unknown Object (File)
Wed, May 20, 1:02 PM
Unknown Object (File)
Tue, May 19, 8:14 PM
Unknown Object (File)
Wed, May 13, 5:02 AM
Unknown Object (File)
Tue, May 12, 11:28 AM
Unknown Object (File)
Mon, May 11, 1:03 PM
Unknown Object (File)
Mon, May 11, 8:01 AM
Subscribers

Details

Summary

When in a realm:

  • Mappings with mode VM_MEMATTR_DEVICE and VM_MEMATTR_DEVICE_NP are unprotected
  • Imported busdma buffers in protected memory are always bounced
  • If EARLY_PRINTK is in use, the UART physical address must be in the unprotected address space

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew added inline comments.
sys/arm64/arm64/efirt_machdep.c
233

Needs to be on pa not page table entry

sys/arm64/arm64/pmap.c
4237
5454–5455

This should be applied to pa as it may be wrong under FEAT_LPA2

5774

Is this correct when entering a large page, e.g. when psind == 2 a level 2 block will be created

This revision is now accepted and ready to land.Tue, May 5, 2:02 PM
This revision was automatically updated to reflect the committed changes.