mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
Merge tag 'kvm-x86-selftests-6.18' of https://github.com/kvm-x86/linux into HEAD
KVM selftests changes for 6.18 - Add #DE coverage in the fastops test (the only exception that's guest- triggerable in fastop-emulated instructions). - Fix PMU selftests errors encountered on Granite Rapids (GNR), Sierra Forest (SRF) and Clearwater Forest (CWF). - Minor cleanups and improvements
This commit is contained in:
@@ -263,13 +263,18 @@ int __open_path_or_exit(const char *path, int flags, const char *enoent_help);
|
||||
int open_path_or_exit(const char *path, int flags);
|
||||
int open_kvm_dev_path_or_exit(void);
|
||||
|
||||
bool get_kvm_param_bool(const char *param);
|
||||
bool get_kvm_intel_param_bool(const char *param);
|
||||
bool get_kvm_amd_param_bool(const char *param);
|
||||
int kvm_get_module_param_integer(const char *module_name, const char *param);
|
||||
bool kvm_get_module_param_bool(const char *module_name, const char *param);
|
||||
|
||||
int get_kvm_param_integer(const char *param);
|
||||
int get_kvm_intel_param_integer(const char *param);
|
||||
int get_kvm_amd_param_integer(const char *param);
|
||||
static inline bool get_kvm_param_bool(const char *param)
|
||||
{
|
||||
return kvm_get_module_param_bool("kvm", param);
|
||||
}
|
||||
|
||||
static inline int get_kvm_param_integer(const char *param)
|
||||
{
|
||||
return kvm_get_module_param_integer("kvm", param);
|
||||
}
|
||||
|
||||
unsigned int kvm_check_cap(long cap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user