diff options
author | Alastair D'Silva <alastair@d-silva.org> | 2019-03-25 01:34:55 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-02 12:55:01 -0400 |
commit | b696d28283e2e030cdc9ece7a4eb0a93b4c474fd (patch) | |
tree | bd52733e9b3ce5da3c6ddb532e8d97f271db5ed5 /include/misc | |
parent | 53e3e74530626d708d4822a29a3edd16f7484b4b (diff) |
ocxl: Remove some unused exported symbols
Remove some unused exported symbols.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/misc')
-rw-r--r-- | include/misc/ocxl.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/misc/ocxl.h b/include/misc/ocxl.h index 4544573cc93c..9530d3be1b30 100644 --- a/include/misc/ocxl.h +++ b/include/misc/ocxl.h | |||
@@ -57,15 +57,6 @@ int ocxl_config_read_function(struct pci_dev *dev, | |||
57 | struct ocxl_fn_config *fn); | 57 | struct ocxl_fn_config *fn); |
58 | 58 | ||
59 | /* | 59 | /* |
60 | * Check if an AFU index is valid for the given function. | ||
61 | * | ||
62 | * AFU indexes can be sparse, so a driver should check all indexes up | ||
63 | * to the maximum found in the function description | ||
64 | */ | ||
65 | int ocxl_config_check_afu_index(struct pci_dev *dev, | ||
66 | struct ocxl_fn_config *fn, int afu_idx); | ||
67 | |||
68 | /* | ||
69 | * Read the configuration space of a function for the AFU specified by | 60 | * Read the configuration space of a function for the AFU specified by |
70 | * the index 'afu_idx'. Fills in a ocxl_afu_config structure | 61 | * the index 'afu_idx'. Fills in a ocxl_afu_config structure |
71 | */ | 62 | */ |
@@ -75,11 +66,6 @@ int ocxl_config_read_afu(struct pci_dev *dev, | |||
75 | u8 afu_idx); | 66 | u8 afu_idx); |
76 | 67 | ||
77 | /* | 68 | /* |
78 | * Get the max PASID value that can be used by the function | ||
79 | */ | ||
80 | int ocxl_config_get_pasid_info(struct pci_dev *dev, int *count); | ||
81 | |||
82 | /* | ||
83 | * Tell an AFU, by writing in the configuration space, the PASIDs that | 69 | * Tell an AFU, by writing in the configuration space, the PASIDs that |
84 | * it can use. Range starts at 'pasid_base' and its size is a multiple | 70 | * it can use. Range starts at 'pasid_base' and its size is a multiple |
85 | * of 2 | 71 | * of 2 |
@@ -188,15 +174,6 @@ int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, | |||
188 | void (*xsl_err_cb)(void *data, u64 addr, u64 dsisr), | 174 | void (*xsl_err_cb)(void *data, u64 addr, u64 dsisr), |
189 | void *xsl_err_data); | 175 | void *xsl_err_data); |
190 | 176 | ||
191 | /** | ||
192 | * Update values within a Process Element | ||
193 | * | ||
194 | * link_handle: the link handle associated with the process element | ||
195 | * pasid: the PASID for the AFU context | ||
196 | * tid: the new thread id for the process element | ||
197 | */ | ||
198 | int ocxl_link_update_pe(void *link_handle, int pasid, __u16 tid); | ||
199 | |||
200 | /* | 177 | /* |
201 | * Remove a Process Element from the Shared Process Area for a link | 178 | * Remove a Process Element from the Shared Process Area for a link |
202 | */ | 179 | */ |