class StreamMatchRegGroup

Defined at line 24 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

Public Methods

void StreamMatchRegGroup (const StreamMatchRegGroup & )

Defined at line 36 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

StreamMatchRegGroup operator= (const StreamMatchRegGroup & )

Defined at line 37 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

void StreamMatchRegGroup (StreamMatchRegGroup && )

Defined at line 38 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

StreamMatchRegGroup operator= (StreamMatchRegGroup && )

Defined at line 39 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

void Disable (Smmu & smmu, uint32_t smrg_ndx)

Defined at line 41 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

zx::result<ktl::unique_ptr<StreamMatchRegGroup>> CreateAndLockdown (Smmu & smmu, uint32_t smrg_ndx, SmrValue stream_ids)

Defined at line 43 of file ../../zircon/kernel/dev/iommu/arm_smmu/stream_match_reg_group.cc

void Disable (SmmuBti & owner)

Defined at line 48 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

zx::result<ktl::unique_ptr<StreamMatchRegGroup>> CreateAndAdopt (Smmu & smmu, uint32_t smrg_ndx, SmrValue stream_ids)

Defined at line 60 of file ../../zircon/kernel/dev/iommu/arm_smmu/stream_match_reg_group.cc

void Invalidate (SmmuBti & owner)

Used only by console commands to clear the VALID flag in the match register

and force a situation where Stream ID matching for a BTI fails.

Defined at line 62 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

void Revalidate (SmmuBti & owner)

Called when users release quarantine on a BTI. Typically, when a BTI goes

into fault mode the enforcement happens at the context bank level, but this

is called as well just in case the reason for the faults is that someone

used to console to invalidate the SIDs in a BTI.

Note that during normal operation, we would never invalidate a BTI's SMRGs.

That would only happen at the end of the operational life of a BTI. The

kernel console can be used to deliberately invalidate a BTI's SIDs for

manual testing purposes, or to help with the exploration of a platforms

specific behavior during bringup of a new platform.

Defined at line 77 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

S2CR_Type mode ()

Defined at line 81 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

uint32_t smrg_ndx ()

Defined at line 82 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

SmrValue stream_ids ()

Defined at line 83 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

uint32_t cb_ndx ()

Defined at line 84 of file ../../zircon/kernel/dev/iommu/arm_smmu/include/dev/arm_smmu/stream_match_reg_group.h

void EnableForContextBank (SmmuBti & owner, uint32_t cb_ndx)

Defined at line 115 of file ../../zircon/kernel/dev/iommu/arm_smmu/stream_match_reg_group.cc

Friends

class SmmuBti
class default_delete