Skip to content

ArmSmmu4K ​

Start with the adaptation procedure for board inputs, source changes, build integration and verification order.

ARM SMMUv2 native 4 KiB table kit. Builds and programs stage-1/stage-2 context tables.

RepositoryMaintainerScope
ArmSmmu4KUniXNUARM SMMUv2 native 4 KiB table kit. Builds and programs stage-1/stage-2 context tables.

State ​

Used by Adreno740 and the storage drivers.

Live updates map or unmap a batch of pages in one transaction: one page publication, one TLB synchronization and one recheck per batch. ArmSmmu4KLiveMapContextBatchExclusive maps pages the caller owns exclusively and skips the alias check against the existing ranges; the changes are still checked against each other. An unmap of up to 512 pages invalidates each removed page with TLBIVAL; a larger unmap invalidates the ASID.

Build ​

The consuming driver's recipe compiles the kit sources. sheng includes ArmSmmu4K*.c in its GPU archive. Supply MMIO, context/stream ownership and allocation callbacks as described in platform adaptation.

Released under the BSD-2-Clause-Patent License.