GRMON3-UM
June 2019, Version 3.1.0
148 www.cobham.com/gaisler
52. iommu - syntax
NAME
iommu - Control IO memory management unit
SYNOPSIS
iommu subcommand ?args?
iommu index subcommand ?args?
DESCRIPTION
This command provides functions to control the GRIOMMU core. If more than one core exists in the system, then
the index of the core to control should be specified after the iommu command (before the subcommand). The
'info sys' command lists the controller indexes.
iommu apv allow base start stop
Modify existing APV at base allowing access to the address range start - stop
iommu apv build base prot
Create APV starting at base with default bit value prot
iommu apv decode base
Decode APV starting at base
iommu apv deny base start stop
Modify existing APV at base denying access to the address range start - stop
iommu cache addr addr grp
Displays cached information for I/O address addr in group grp
iommu cache errinj addr dt ?byte?
Inject data/tag parity error at set address addr, data byte byte. The parameter dt should be either 'tag'
or 'data'
iommu cache flush
Invalidate all entries in cache
iommu cache show line ?count?
Shows information about count line starting at line
iommu cache write addr data0 ... dataN tag
Write full cache line including tag at set address addr, i.e. the number of data words depends on the size
of the cache line. See example below.
iommu disable
iommu enable
Disables/enable the core
iommu group ?grp? ?base passthrough active?
Show/set information about group(s). When no parameters are given, information about all groups will be
shown. If the index grp is given then only that group will be shown. When all parameters are set, the fields
will be assigned to the group.
iommu info
Displays information about IOMMU configuration
iommu mstbmap ?mst? ?grp?
Show/set information about master->group assignments. When no parameters are given, information about
all masters will be shown. If the index mst is given then only that master will be shown. When all param-
eters are set, master mst will be assigned to group grp
iommu mstbmap ?mst? ?ahb?
Show/set information about master->AHB interface assignments. When no parameters are given, informa-
tion about all masters will be shown. If the index mst is given then only that master will be shown. When
all parameters are set, master mst will be assigned to AHB interface ahb
iommu pagetable build base writeable valid
Create page table starting at base with all writable fields set to writeable and all valid fields set to
valid. 1:1 map starting at physical address 0.
iommu pagetable lookup base ioaddr
Lookup specified IO address in page table starting at base.