Home
last modified time | relevance | path

Searched refs:s2cfg (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/arm/
H A Dsmmuv3.c40 (cfg)->s2cfg.record_faults))
400 if (cfg->s2cfg.tsz > 39) { in s2t0sz_valid()
404 if (cfg->s2cfg.granule_sz == 16) { in s2t0sz_valid()
405 return (cfg->s2cfg.tsz >= 64 - cfg->s2cfg.eff_ps); in s2t0sz_valid()
408 return (cfg->s2cfg.tsz >= MAX(64 - cfg->s2cfg.eff_ps, 16)); in s2t0sz_valid()
442 cfg->s2cfg.granule_sz = 12; in decode_ste_s2_cfg()
445 cfg->s2cfg.granule_sz = 16; in decode_ste_s2_cfg()
448 cfg->s2cfg.granule_sz = 14; in decode_ste_s2_cfg()
456 cfg->s2cfg.vttb = STE_S2TTB(ste); in decode_ste_s2_cfg()
458 cfg->s2cfg.sl0 = STE_S2SL0(ste); in decode_ste_s2_cfg()
[all …]
H A Dsmmu-common.c85 key = smmu_get_iotlb_key(cfg->asid, cfg->s2cfg.vmid, in smmu_iotlb_lookup_all_levels()
119 (cfg->s2cfg.granule_sz != tt->granule_sz)) { in smmu_iotlb_lookup()
120 tt->granule_sz = cfg->s2cfg.granule_sz; in smmu_iotlb_lookup()
126 trace_smmu_iotlb_lookup_hit(cfg->asid, cfg->s2cfg.vmid, iova, in smmu_iotlb_lookup()
132 trace_smmu_iotlb_lookup_miss(cfg->asid, cfg->s2cfg.vmid, iova, in smmu_iotlb_lookup()
149 *key = smmu_get_iotlb_key(cfg->asid, cfg->s2cfg.vmid, new->entry.iova, in smmu_iotlb_insert()
151 trace_smmu_iotlb_insert(cfg->asid, cfg->s2cfg.vmid, new->entry.iova, in smmu_iotlb_insert()
570 int granule_sz = cfg->s2cfg.granule_sz; in smmu_ptw_64_s2()
572 int inputsize = 64 - cfg->s2cfg.tsz; in smmu_ptw_64_s2()
573 int level = get_start_level(cfg->s2cfg.sl0, granule_sz); in smmu_ptw_64_s2()
[all …]
/openbmc/qemu/include/hw/arm/
H A Dsmmu-common.h119 struct SMMUS2Cfg s2cfg; member