| /xen/xen/arch/arm/include/asm/arm64/ |
| A D | cpufeature.h | 48 cpuid_feature_extract_signed_field_width(u64 features, int field, int width) in cpuid_feature_extract_signed_field_width() argument 50 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width() 54 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument 56 return cpuid_feature_extract_signed_field_width(features, field, 4); in cpuid_feature_extract_signed_field() 62 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width() 66 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument 68 return cpuid_feature_extract_unsigned_field_width(features, field, 4); in cpuid_feature_extract_unsigned_field() 80 cpuid_feature_extract_signed_field_width(features, field, width) : in cpuid_feature_extract_field_width() 81 cpuid_feature_extract_unsigned_field_width(features, field, width); in cpuid_feature_extract_field_width() 85 cpuid_feature_extract_field(u64 features, int field, bool sign) in cpuid_feature_extract_field() argument [all …]
|
| /xen/xen/drivers/passthrough/amd/ |
| A D | iommu_detect.c | 68 iommu->features.raw = in get_iommu_features() 77 if ( iommu != first && iommu->features.raw == first->features.raw ) in get_iommu_features() 100 if ( iommu->features.flds.gt_sup ) in get_iommu_features() 171 iommu->features.raw = ivhd_block->efr_image; in amd_iommu_detect_one_acpi() 193 iommu->features.flds.xt_sup = attr.xt_sup; in amd_iommu_detect_one_acpi() 194 iommu->features.flds.nx_sup = attr.nx_sup; in amd_iommu_detect_one_acpi() 195 iommu->features.flds.gt_sup = attr.gt_sup; in amd_iommu_detect_one_acpi() 197 iommu->features.flds.ia_sup = attr.ia_sup; in amd_iommu_detect_one_acpi() 198 iommu->features.flds.ga_sup = attr.ga_sup; in amd_iommu_detect_one_acpi() 200 iommu->features.flds.gats = attr.gats; in amd_iommu_detect_one_acpi() [all …]
|
| A D | iommu_init.c | 882 if ( iommu->features.flds.ppr_sup ) in enable_iommu() 914 if ( iommu->features.flds.ppr_sup ) in enable_iommu() 918 if ( iommu->features.flds.gt_sup ) in enable_iommu() 927 if ( iommu->features.flds.ia_sup ) in enable_iommu() 946 if ( iommu->features.flds.ppr_sup ) in disable_iommu() 949 if ( iommu->features.flds.gt_sup ) in disable_iommu() 1092 if ( iommu->features.flds.ppr_sup && !allocate_ppr_log(iommu) ) in amd_iommu_init_one() 1420 if ( !iommu->features.flds.ga_sup || !iommu->features.flds.xt_sup ) in amd_iommu_prepare() 1526 if ( iommu->features.flds.ppr_sup ) in amd_iommu_init_late() 1603 if ( !iommu->features.flds.ia_sup ) in amd_iommu_resume()
|
| /xen/docs/features/ |
| A D | feature-levelling.pandoc | 19 On native hardware, a kernel will boot, detect features, typically optimise 20 certain codepaths based on the available features, and expect the features to 37 A firmware or software upgrade might reduce the available set of features 41 It is unsafe to make any assumption about features remaining consistent across 54 The `CPUID` instruction is used by software to query for features. In the 57 fault, complicating the task of hiding hardware features from guests. 103 features to be hidden by clearing the appropriate bit in the mask, but does 104 not allow unsupported features to be advertised. 114 As some features depend on other features, it is important that, when 124 disable all dependent features of a specific disabled feature in constant [all …]
|
| A D | template.pandoc | 45 Information concerning incompatibilities with other features or hardware 55 feature itself, or improve interaction with other features. 60 features, this section must contain the list of items needing fixing for
|
| A D | intel_psr_cat_cdp.pandoc | 56 features. Add "psr=cdp" to enable L3 CDP but disables L3 CAT by SW. 106 L3 CAT/CDP and L2 CAT are all members of Intel PSR features, they share the base 180 HW may support all features. By default, CDP is disabled on the processor. 200 PSR features in future). In some cases, a domain is permitted to have a COS 201 that is beyond one (or more) of PSR features but within the others. For 366 3. Per-socket PSR features information structure 370 struct feat_node *features[PSR_SOCKET_FEAT_NUM]; 376 We collect all PSR allocation features information of a socket in this 384 * Member `features` 386 `features` is a pointer array to save all enabled features pointers
|
| /xen/xen/arch/x86/ |
| A D | psr.c | 235 xfree(info->features[i]); in free_socket_resources() 236 info->features[i] = NULL; in free_socket_resources() 373 info->features[type] = feat; in cat_init_feature() 409 info->features[type] = feat; in mba_init_feature() 637 psr_cmt->features = edx; in init_psr_cmt() 646 psr_cmt->l3.features = edx; in init_psr_cmt() 826 feat = info->features[feat_type]; in psr_get_info() 859 feat = info->features[feat_type]; in psr_get_val() 1001 feat = info->features[feat_type]; in insert_val_into_array() 1092 feat = info->features[feat_type]; in find_cos() [all …]
|
| A D | sysctl.c | 183 (psr_cmt->features & PSR_RESOURCE_TYPE_L3) && in arch_do_sysctl() 184 (psr_cmt->l3.features & PSR_CMT_L3_OCCUPANCY); in arch_do_sysctl() 213 sysctl->u.psr_cmt_op.u.data = psr_cmt->l3.features; in arch_do_sysctl() 315 if ( guest_handle_is_null(sysctl->u.cpu_featureset.features) ) in arch_do_sysctl() 344 if ( !ret && copy_to_guest(sysctl->u.cpu_featureset.features, in arch_do_sysctl()
|
| /xen/xen/drivers/passthrough/arm/ |
| A D | smmu-v3.c | 1327 int features; in arm_smmu_enable_pasid() local 1336 features = pci_pasid_features(pdev); in arm_smmu_enable_pasid() 1337 if (features < 0) in arm_smmu_enable_pasid() 1338 return features; in arm_smmu_enable_pasid() 2171 smmu->features |= ARM_SMMU_FEAT_PRI; in arm_smmu_device_hw_probe() 2174 smmu->features |= ARM_SMMU_FEAT_ATS; in arm_smmu_device_hw_probe() 2177 smmu->features |= ARM_SMMU_FEAT_SEV; in arm_smmu_device_hw_probe() 2181 smmu->features |= ARM_SMMU_FEAT_MSI; in arm_smmu_device_hw_probe() 2185 smmu->features |= ARM_SMMU_FEAT_HYP; in arm_smmu_device_hw_probe() 2274 smmu->features |= ARM_SMMU_FEAT_VAX; in arm_smmu_device_hw_probe() [all …]
|
| A D | ipmmu-vmsa.c | 131 const struct ipmmu_features *features; member 325 unsigned int base = mmu->features->ctx_offset_base; in ipmmu_ctx_reg() 330 return base + context_id * mmu->features->ctx_offset_stride + reg; in ipmmu_ctx_reg() 388 return mmu->features->utlb_offset_base + reg; in ipmmu_utlb_reg() 461 context_id = (imuctr & mmu->features->imuctr_ttsel_mask) >> in ipmmu_utlb_enable() 900 mmu->features = match->data; in ipmmu_probe() 903 mmu->num_ctx = min(IPMMU_CTX_MAX, mmu->features->number_of_contexts); in ipmmu_probe() 974 reg = IMSAUXCTLR + mmu->features->control_offset_base; in ipmmu_probe() 982 reg = IMSCTLR + mmu->features->control_offset_base; in ipmmu_probe()
|
| A D | smmu.c | 650 u32 features; member 1353 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S1)) in arm_smmu_init_domain_context() 1355 if (!(smmu->features & ARM_SMMU_FEAT_TRANS_S2)) in arm_smmu_init_domain_context() 2297 smmu->features |= ARM_SMMU_FEAT_TRANS_S1; in arm_smmu_device_cfg_probe() 2302 smmu->features |= ARM_SMMU_FEAT_TRANS_S2; in arm_smmu_device_cfg_probe() 2307 smmu->features |= ARM_SMMU_FEAT_TRANS_NESTED; in arm_smmu_device_cfg_probe() 2311 if (!(smmu->features & in arm_smmu_device_cfg_probe() 2328 smmu->features |= ARM_SMMU_FEAT_STREAM_MATCH; in arm_smmu_device_cfg_probe() 2435 if (smmu->features & ARM_SMMU_FEAT_TRANS_S1) in arm_smmu_device_cfg_probe() 2439 if (smmu->features & ARM_SMMU_FEAT_TRANS_S2) in arm_smmu_device_cfg_probe() [all …]
|
| /xen/xen/arch/x86/include/asm/ |
| A D | psr.h | 47 unsigned int features; member 54 unsigned int features; member
|
| /xen/tools/libs/guest/ |
| A D | xg_dom_compat_linux.c | 41 const char *features, in xc_linux_build() argument 52 dom = xc_dom_allocate(xch, cmdline, features); in xc_linux_build()
|
| /xen/xen/ |
| A D | Kconfig | 65 bool "Configure EXPERT features" 76 bool "Configure UNSUPPORTED features" 81 preview features as defined by SUPPORT.md. (Note that if an option
|
| /xen/xen/common/libelf/ |
| A D | libelf-dominfo.c | 43 elf_errorstatus elf_xen_parse_features(const char *features, in elf_xen_parse_features() argument 50 if ( features == NULL ) in elf_xen_parse_features() 53 for ( pos = 0; features[pos] != '\0'; pos += len ) in elf_xen_parse_features() 60 if ( features[pos + len] == '\0' ) in elf_xen_parse_features() 62 if ( features[pos + len] == '|' ) in elf_xen_parse_features() 67 feature[len] = features[pos + len]; in elf_xen_parse_features()
|
| /xen/xen/arch/x86/include/asm/guest/ |
| A D | hyperv.h | 49 uint32_t features; member
|
| /xen/xen/arch/x86/guest/hyperv/ |
| A D | hyperv.c | 58 ms_hyperv.features = eax; in hyperv_probe() 70 if ( (ms_hyperv.features & required_msrs) != required_msrs ) in hyperv_probe()
|
| /xen/xen/include/xen/ |
| A D | iommu.h | 366 DECLARE_BITMAP(features, IOMMU_FEAT_count); 381 #define iommu_set_feature(d, f) set_bit(f, dom_iommu(d)->features) 382 #define iommu_clear_feature(d, f) clear_bit(f, dom_iommu(d)->features)
|
| /xen/tools/misc/ |
| A D | xen-cpuid.c | 69 static void decode_featureset(const uint32_t *features, in decode_featureset() argument 82 printf("%08x%c", features[i], in decode_featureset() 91 dump_leaf(features[i], &feature_names[i * 32]); in decode_featureset()
|
| /xen/docs/designs/ |
| A D | nested-svm-cpu-features.md | 4 that all features are implemented and well-tested. To make this 6 nested virt to a specific subset of host and guest features. This 7 document describes the criteria for deciding on features, and the 10 For AMD, all virtualization-related features can be found in CPUID
|
| /xen/docs/misc/ |
| A D | xenstore-ring.txt | 57 The xenstore server may decide to advertise some features via the 58 "Server feature bitmap". The server can start advertising features 59 at any time by setting bits but it will never stop advertising features 61 the server feature bitmap. The server features are offered to the guest; 65 The following features are defined (bit number 0 is equivalent to a mask
|
| /xen/xen/arch/x86/configs/ |
| A D | pvshim_defconfig | 9 # Disable features not used by the PV shim
|
| /xen/docs/ |
| A D | configure.ac | 21 m4_include([../m4/features.m4])
|
| /xen/ |
| A D | configure.ac | 15 m4_include([m4/features.m4])
|
| /xen/docs/admin-guide/ |
| A D | microcode-loading.rst | 21 software visible features. This includes removing features (e.g. the Haswell 23 of brand new features (e.g. the Spectre v2 controls to work around speculative 32 decisions based on the visible features.
|