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