Lines Matching defs:filter
3 * smccc_filter - Tests for the SMCCC filter UAPI.
10 * - Test that the filter actions (DENIED, FWD_TO_USER) work as intended.
43 struct kvm_smccc_filter filter = {
50 KVM_ARM_VM_SMCCC_FILTER, &filter);
58 TEST_ASSERT(!ret, "failed to configure SMCCC filter: %d", ret);
71 * due to the SMCCC filter, not because of KVM.
83 struct kvm_smccc_filter filter = {
92 KVM_ARM_VM_SMCCC_FILTER, &filter);
94 "Setting filter with nonzero padding should return EINVAL");
97 /* Ensure that userspace cannot filter the Arm Architecture SMCCC range */
108 "Attempt to filter reserved range should return EEXIST");
115 "Attempt to filter reserved range should return EEXIST");
128 "Attempt to filter 0 functions should return EINVAL");
141 "Attempt to overflow filter range should return EINVAL");
154 "Attempt to use reserved filter action should return EINVAL");
160 /* Test that overlapping configurations of the SMCCC filter are rejected */
171 "Attempt to filter already configured range should return EEXIST");