xref: /linux/drivers/iommu/generic_pt/fmt/iommu_riscv64.c (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1*e71e0012SJason Gunthorpe // SPDX-License-Identifier: GPL-2.0-only
2*e71e0012SJason Gunthorpe /*
3*e71e0012SJason Gunthorpe  * Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES
4*e71e0012SJason Gunthorpe  */
5*e71e0012SJason Gunthorpe #define PT_FMT riscv
6*e71e0012SJason Gunthorpe #define PT_FMT_VARIANT 64
7*e71e0012SJason Gunthorpe #define PT_SUPPORTED_FEATURES                                  \
8*e71e0012SJason Gunthorpe 	(BIT(PT_FEAT_SIGN_EXTEND) | BIT(PT_FEAT_FLUSH_RANGE) | \
9*e71e0012SJason Gunthorpe 	 BIT(PT_FEAT_RISCV_SVNAPOT_64K))
10*e71e0012SJason Gunthorpe 
11*e71e0012SJason Gunthorpe #include "iommu_template.h"
12