+1
-1
drivers/iommu/generic_pt/.kunitconfig
+1
-1
drivers/iommu/generic_pt/.kunitconfig
+2
-2
drivers/iommu/generic_pt/pt_defs.h
+2
-2
drivers/iommu/generic_pt/pt_defs.h
···
202
202
203
203
#define PT_SUPPORTED_FEATURE(feature_nr) (PT_SUPPORTED_FEATURES & BIT(feature_nr))
204
204
205
-
static inline bool pt_feature(const struct pt_common *common,
205
+
static __always_inline bool pt_feature(const struct pt_common *common,
206
206
unsigned int feature_nr)
207
207
{
208
208
if (PT_FORCE_ENABLED_FEATURES & BIT(feature_nr))
···
212
212
return common->features & BIT(feature_nr);
213
213
}
214
214
215
-
static inline bool pts_feature(const struct pt_state *pts,
215
+
static __always_inline bool pts_feature(const struct pt_state *pts,
216
216
unsigned int feature_nr)
217
217
{
218
218
return pt_feature(pts->range->common, feature_nr);
+2
-1
drivers/iommu/iommufd/Kconfig
+2
-1
drivers/iommu/iommufd/Kconfig