Home
last modified time | relevance | path

Searched refs:PT_WARN_ON (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iommu/generic_pt/
H A Dpt_fmt_defaults.h178 PT_WARN_ON(log2_mod(pts->index, num_contig_lg2)); in pt_clear_entries64()
189 PT_WARN_ON(log2_mod(pts->index, num_contig_lg2)); in pt_clear_entries32()
277 if (PT_WARN_ON(oalog2_mod(oa, oasz_lg2))) in pt_check_install_leaf_args()
281 if (PT_WARN_ON(isz_lg2 > oasz_lg2 || in pt_check_install_leaf_args()
285 if (PT_WARN_ON(oasz_lg2 != isz_lg2 && in pt_check_install_leaf_args()
290 if (PT_WARN_ON(oalog2_mod(pts->index, oasz_lg2 - isz_lg2))) in pt_check_install_leaf_args()
H A Diommu_pt.h303 PT_WARN_ON(ret); in DOMAIN_NS()
434 if (PT_WARN_ON(!pt_can_have_table(pts))) in pt_iommu_new_table()
461 if (PT_WARN_ON(pt_table_pa(pts) != phys)) { in pt_iommu_new_table()
546 PT_WARN_ON(map->leaf_level != level); in __map_range_leaf()
547 PT_WARN_ON(!pt_can_have_leaf(&pts)); in __map_range_leaf()
577 PT_WARN_ON(compute_best_pgsize(&pts, oa) != in __map_range_leaf()
600 PT_WARN_ON(pts.index != orig_end); in __map_range_leaf()
632 PT_WARN_ON(map->leaf_level == level); in __map_range()
633 PT_WARN_ON(!pt_can_have_table(&pts)); in __map_range()
779 PT_WARN_ON(pts.index != 0); in increase_top()
[all …]
H A Dpt_defs.h226 #define PT_WARN_ON WARN_ON macro
228 static inline bool PT_WARN_ON(bool condition) in PT_WARN_ON() function
/linux/drivers/iommu/generic_pt/fmt/
H A Damdv1.h94 } else if (PT_WARN_ON(FIELD_GET(AMDV1PT_FMT_NEXT_LEVEL, entry) != in amdv1pt_entry_oa()
123 PT_WARN_ON(FIELD_GET(AMDV1PT_FMT_NEXT_LEVEL, pts->entry) != in amdv1pt_entry_num_contig_lg2()
150 if (PT_WARN_ON(pts->level == 5)) in amdv1pt_num_items_lg2()
397 PT_WARN_ON(info->host_pt_root & ~PT_TOP_PHYS_MASK); in amdv1pt_iommu_fmt_hw_info()
H A Dvtdss.h190 PT_WARN_ON(true); in vtdss_pt_sw_bit()
266 PT_WARN_ON(info->ssptptr & ~PT_TOP_PHYS_MASK); in vtdss_pt_iommu_fmt_hw_info()