Home
last modified time | relevance | path

Searched refs:max_feat_bit (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dhypercalls.c18 #define FW_REG_ULIMIT_VAL(max_feat_bit) (GENMASK(max_feat_bit, 0)) argument
27 uint64_t max_feat_bit; /* Bit that represents the upper limit of the feature-map */ member
33 .max_feat_bit = r##_BIT_MAX, \
177 TEST_ASSERT(val == FW_REG_ULIMIT_VAL(reg_info->max_feat_bit), in test_fw_regs_before_vm_start()
179 reg_info->reg, FW_REG_ULIMIT_VAL(reg_info->max_feat_bit), val); in test_fw_regs_before_vm_start()
195 if (reg_info->max_feat_bit < 63) { in test_fw_regs_before_vm_start()
196 ret = __vcpu_set_reg(vcpu, reg_info->reg, BIT(reg_info->max_feat_bit + 1)); in test_fw_regs_before_vm_start()
227 ret = __vcpu_set_reg(vcpu, reg_info->reg, FW_REG_ULIMIT_VAL(reg_info->max_feat_bit)); in test_fw_regs_after_vm_start()