1*5448c155SJason Gunthorpe /* SPDX-License-Identifier: GPL-2.0-only */ 2*5448c155SJason Gunthorpe /* 3*5448c155SJason Gunthorpe * Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES 4*5448c155SJason Gunthorpe * 5*5448c155SJason Gunthorpe */ 6*5448c155SJason Gunthorpe #ifndef __GENERIC_PT_FMT_DEFS_VTDSS_H 7*5448c155SJason Gunthorpe #define __GENERIC_PT_FMT_DEFS_VTDSS_H 8*5448c155SJason Gunthorpe 9*5448c155SJason Gunthorpe #include <linux/generic_pt/common.h> 10*5448c155SJason Gunthorpe #include <linux/types.h> 11*5448c155SJason Gunthorpe 12*5448c155SJason Gunthorpe typedef u64 pt_vaddr_t; 13*5448c155SJason Gunthorpe typedef u64 pt_oaddr_t; 14*5448c155SJason Gunthorpe 15*5448c155SJason Gunthorpe struct vtdss_pt_write_attrs { 16*5448c155SJason Gunthorpe u64 descriptor_bits; 17*5448c155SJason Gunthorpe gfp_t gfp; 18*5448c155SJason Gunthorpe }; 19*5448c155SJason Gunthorpe #define pt_write_attrs vtdss_pt_write_attrs 20*5448c155SJason Gunthorpe 21*5448c155SJason Gunthorpe #endif 22