/openbmc/qemu/tests/qtest/ |
H A D | test-x86-cpuid-compat.c | 128 uint32_t recx = 0; in get_feature_word() 141 return 0; in get_feature_word() 240 g_test_trap_subprocess("/x86/cpuid/parsing-plus-minus/subprocess", 0, 0); in test_plus_minus() 263 "SandyBridge", NULL, NULL, "level", 0xd); in main() 265 "486", NULL, NULL, "xlevel", 0); in main() 267 "core2duo", NULL, NULL, "xlevel", 0x80000008); in main() 269 "phenom", NULL, NULL, "xlevel", 0x8000001A); in main() 271 "athlon", NULL, NULL, "xlevel", 0x80000008); in main() 277 /* CPUID[EAX=7,ECX=0].EBX: */ in main() 280 /* CPUID[EAX=7,ECX=0].ECX: */ in main() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 25 #define NMI_VECTOR 0x02 29 #define X86_CR4_VME (1ul << 0) 60 u8 extended_state_area[0]; 63 #define XFEATURE_MASK_FP BIT_ULL(0) 113 kvm_static_assert((fn & 0xc0000000) == 0 || \ 114 (fn & 0xc0000000) == 0x40000000 || \ 115 (fn & 0xc0000000) == 0x80000000 || \ 116 (fn & 0xc0000000) == 0xc0000000); \ 124 #define X86_FEATURE_MWAIT KVM_X86_CPU_FEATURE(0x1, 0, ECX, 3) 125 #define X86_FEATURE_VMX KVM_X86_CPU_FEATURE(0x1, 0, ECX, 5) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nvidia,tegra124-mc.yaml | 47 "^emc-timings-[0-9]+$": 56 "^timing-[0-9]+$": 118 reg = <0x70019000 0x1000>; 122 interrupts = <0 77 4>; 135 0x40040001 /* MC_EMEM_ARB_CFG */ 136 0x8000000a /* MC_EMEM_ARB_OUTSTANDING_REQ */ 137 0x00000001 /* MC_EMEM_ARB_TIMING_RCD */ 138 0x00000001 /* MC_EMEM_ARB_TIMING_RP */ 139 0x00000002 /* MC_EMEM_ARB_TIMING_RC */ 140 0x00000000 /* MC_EMEM_ARB_TIMING_RAS */ [all …]
|
/openbmc/linux/fs/smb/common/ |
H A D | smbfsctl.h | 35 #define FSCTL_DEVICE_DFS (0x0006 << 16) 36 #define FSCTL_DEVICE_FILE_SYSTEM (0x0009 << 16) 37 #define FSCTL_DEVICE_NAMED_PIPE (0x0011 << 16) 38 #define FSCTL_DEVICE_NETWORK_FILE_SYSTEM (0x0014 << 16) 39 #define FSCTL_DEVICE_MASK 0xffff0000 41 #define FSCTL_DEVICE_ACCESS_FILE_ANY_ACCESS (0x00 << 14) 42 #define FSCTL_DEVICE_ACCESS_FILE_READ_ACCESS (0x01 << 14) 43 #define FSCTL_DEVICE_ACCESS_FILE_WRITE_ACCESS (0x02 << 14) 44 #define FSCTL_DEVICE_ACCESS_FILE_READ_WRITE_ACCESS (0x03 << 14) 45 #define FSCTL_DEVICE_ACCESS_MASK 0x0000c000 [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | reverse_cpuid.h | 39 /* Intel-defined SGX sub-features, CPUID level 0x12 (EAX). */ 40 #define KVM_X86_FEATURE_SGX1 KVM_X86_FEATURE(CPUID_12_EAX, 0) 44 /* Intel-defined sub-features, CPUID level 0x00000007:1 (EDX) */ 50 /* Intel-defined sub-features, CPUID level 0x00000007:2 (EDX) */ 51 #define X86_FEATURE_INTEL_PSFD KVM_X86_FEATURE(CPUID_7_2_EDX, 0) 58 /* CPUID level 0x80000007 (EDX). */ 61 /* CPUID level 0x80000022 (EAX) */ 62 #define KVM_X86_FEATURE_PERFMON_V2 KVM_X86_FEATURE(CPUID_8000_0022_EAX, 0) 71 [CPUID_1_EDX] = { 1, 0, CPUID_EDX}, 72 [CPUID_8000_0001_EDX] = {0x80000001, 0, CPUID_EDX}, [all …]
|
H A D | cpuid.c | 55 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes() 61 int feature_bit = 0; in xstate_required_size() 66 if (xstate_bv & 0x1) { in xstate_required_size() 72 offset = (xs->ecx & 0x2) ? ALIGN(ret, 64) : ret; in xstate_required_size() 91 (boot_cpu_has(X86_FEATURE_##name) ? F(name) : 0); \ 121 for (i = 0; i < nent; i++) { in cpuid_entry2_find() 165 best = cpuid_entry2_find(entries, nent, 0x80000008, in kvm_check_cpuid() 168 int vaddr_bits = (best->eax & 0xff00) >> 8; in kvm_check_cpuid() 170 if (vaddr_bits != 48 && vaddr_bits != 57 && vaddr_bits != 0) in kvm_check_cpuid() 178 best = cpuid_entry2_find(entries, nent, 0xd, 0); in kvm_check_cpuid() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | class.h | 6 #define NVIF_CLASS_CLIENT /* if0000.h */ -0x00000000 8 #define NVIF_CLASS_CONTROL /* if0001.h */ -0x00000001 10 #define NVIF_CLASS_PERFMON /* if0002.h */ -0x00000002 11 #define NVIF_CLASS_PERFDOM /* if0003.h */ -0x00000003 13 #define NVIF_CLASS_SW_NV04 /* if0004.h */ -0x00000004 14 #define NVIF_CLASS_SW_NV10 /* if0005.h */ -0x00000005 15 #define NVIF_CLASS_SW_NV50 /* if0005.h */ -0x00000006 16 #define NVIF_CLASS_SW_GF100 /* if0005.h */ -0x00000007 18 #define NVIF_CLASS_MMU /* if0008.h */ 0x80000008 19 #define NVIF_CLASS_MMU_NV04 /* if0008.h */ 0x80000009 [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | svm.h | 16 INTERCEPT_CR = 0, 26 /* Byte offset 000h (word 0) */ 27 INTERCEPT_CR0_READ = 0, 155 u64 avic_backing_page; /* Offset 0xe0 */ 156 u8 reserved_6[8]; /* Offset 0xe8 */ 157 u64 avic_logical_id; /* Offset 0xf0 */ 158 u64 avic_physical_id; /* Offset 0xf8 */ 163 * Offset 0x3e0, 32 bytes reserved 173 #define TLB_CONTROL_DO_NOTHING 0 178 #define V_TPR_MASK 0x0f [all …]
|
H A D | cpufeatures.h | 28 /* Intel-defined CPU features, CPUID level 0x00000001 (EDX), word 0 */ 29 #define X86_FEATURE_FPU ( 0*32+ 0) /* Onboard FPU */ 30 #define X86_FEATURE_VME ( 0*32+ 1) /* Virtual Mode Extensions */ 31 #define X86_FEATURE_DE ( 0*32+ 2) /* Debugging Extensions */ 32 #define X86_FEATURE_PSE ( 0*32+ 3) /* Page Size Extensions */ 33 #define X86_FEATURE_TSC ( 0*32+ 4) /* Time Stamp Counter */ 34 #define X86_FEATURE_MSR ( 0*32+ 5) /* Model-Specific Registers */ 35 #define X86_FEATURE_PAE ( 0*32+ 6) /* Physical Address Extensions */ 36 #define X86_FEATURE_MCE ( 0*32+ 7) /* Machine Check Exception */ 37 #define X86_FEATURE_CX8 ( 0*32+ 8) /* CMPXCHG8 instruction */ [all …]
|
/openbmc/u-boot/include/ |
H A D | tpm-v2.h | 47 #define TPM2_CAP_PCRS 0x00000005U 48 #define TPM2_CAP_TPM_PROPERTIES 0x00000006U 51 #define TPM2_PT_GROUP (u32)(0x00000100) 63 #define EV_POST_CODE ((u32)0x00000001) 64 #define EV_NO_ACTION ((u32)0x00000003) 65 #define EV_SEPARATOR ((u32)0x00000004) 66 #define EV_ACTION ((u32)0x00000005) 67 #define EV_TAG ((u32)0x00000006) 68 #define EV_S_CRTM_CONTENTS ((u32)0x00000007) 69 #define EV_S_CRTM_VERSION ((u32)0x00000008) [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | pc.c | 92 { TYPE_X86_CPU, "guest-phys-bits", "0" }, 126 { TYPE_X86_CPU, "hv-version-id-build", "0x1bbc" }, 127 { TYPE_X86_CPU, "hv-version-id-major", "0x0006" }, 128 { TYPE_X86_CPU, "hv-version-id-minor", "0x0001" }, 204 { "EPYC-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, 205 { "EPYC-IBPB-" TYPE_X86_CPU, "xlevel", "0x8000000a" }, 216 { TYPE_X86_CPU, "x-hv-max-vps", "0x40" }, 223 { "mch", "extended-tseg-mbytes", "0" }, 247 { TYPE_X86_CPU, "cpuid-0xb", "off" }, 258 PC_CPU_MODEL_IDS("2.4.0") [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | ivybridge_igd.c | 29 { 0xa200, 0xcc000000 }, 30 { 0xa204, 0x07000040 }, 31 { 0xa208, 0x0000fe00 }, 32 { 0xa20c, 0x00000000 }, 33 { 0xa210, 0x17000000 }, 34 { 0xa214, 0x00000021 }, 35 { 0xa218, 0x0817fe19 }, 36 { 0xa21c, 0x00000000 }, 37 { 0xa220, 0x00000000 }, 38 { 0xa224, 0xcc000000 }, [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-nyan-blaze-emc.dtsi | 92 0x40040001 93 0x8000000a 94 0x00000001 95 0x00000001 96 0x00000002 97 0x00000000 98 0x00000002 99 0x00000001 100 0x00000002 101 0x00000008 [all …]
|
H A D | tegra124-jetson-tk1-emc.dtsi | 104 0x40040001 105 0x8000000a 106 0x00000001 107 0x00000001 108 0x00000002 109 0x00000000 110 0x00000002 111 0x00000001 112 0x00000003 113 0x00000008 [all …]
|
H A D | tegra124-apalis-emc.dtsi | 108 0x40040001 0x8000000a 109 0x00000001 0x00000001 110 0x00000002 0x00000000 111 0x00000002 0x00000001 112 0x00000003 0x00000008 113 0x00000003 0x00000002 114 0x00000003 0x00000006 115 0x06030203 0x000a0502 116 0x77e30303 0x70000f03 117 0x001f0000 [all …]
|
H A D | tegra124-nyan-big-emc.dtsi | 263 0x40040001 /* MC_EMEM_ARB_CFG */ 264 0x8000000a /* MC_EMEM_ARB_OUTSTANDING_REQ */ 265 0x00000001 /* MC_EMEM_ARB_TIMING_RCD */ 266 0x00000001 /* MC_EMEM_ARB_TIMING_RP */ 267 0x00000002 /* MC_EMEM_ARB_TIMING_RC */ 268 0x00000000 /* MC_EMEM_ARB_TIMING_RAS */ 269 0x00000002 /* MC_EMEM_ARB_TIMING_FAW */ 270 0x00000001 /* MC_EMEM_ARB_TIMING_RRD */ 271 0x00000002 /* MC_EMEM_ARB_TIMING_RAP2PRE */ 272 0x00000008 /* MC_EMEM_ARB_TIMING_WAP2PRE */ [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | common.c | 202 [GDT_ENTRY_KERNEL32_CS] = GDT_ENTRY_INIT(0xc09b, 0, 0xfffff), 203 [GDT_ENTRY_KERNEL_CS] = GDT_ENTRY_INIT(0xa09b, 0, 0xfffff), 204 [GDT_ENTRY_KERNEL_DS] = GDT_ENTRY_INIT(0xc093, 0, 0xfffff), 205 [GDT_ENTRY_DEFAULT_USER32_CS] = GDT_ENTRY_INIT(0xc0fb, 0, 0xfffff), 206 [GDT_ENTRY_DEFAULT_USER_DS] = GDT_ENTRY_INIT(0xc0f3, 0, 0xfffff), 207 [GDT_ENTRY_DEFAULT_USER_CS] = GDT_ENTRY_INIT(0xa0fb, 0, 0xfffff), 209 [GDT_ENTRY_KERNEL_CS] = GDT_ENTRY_INIT(0xc09a, 0, 0xfffff), 210 [GDT_ENTRY_KERNEL_DS] = GDT_ENTRY_INIT(0xc092, 0, 0xfffff), 211 [GDT_ENTRY_DEFAULT_USER_CS] = GDT_ENTRY_INIT(0xc0fa, 0, 0xfffff), 212 [GDT_ENTRY_DEFAULT_USER_DS] = GDT_ENTRY_INIT(0xc0f2, 0, 0xfffff), [all …]
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | cpufeatures.h | 28 /* Intel-defined CPU features, CPUID level 0x00000001 (EDX), word 0 */ 29 #define X86_FEATURE_FPU ( 0*32+ 0) /* Onboard FPU */ 30 #define X86_FEATURE_VME ( 0*32+ 1) /* Virtual Mode Extensions */ 31 #define X86_FEATURE_DE ( 0*32+ 2) /* Debugging Extensions */ 32 #define X86_FEATURE_PSE ( 0*32+ 3) /* Page Size Extensions */ 33 #define X86_FEATURE_TSC ( 0*32+ 4) /* Time Stamp Counter */ 34 #define X86_FEATURE_MSR ( 0*32+ 5) /* Model-Specific Registers */ 35 #define X86_FEATURE_PAE ( 0*32+ 6) /* Physical Address Extensions */ 36 #define X86_FEATURE_MCE ( 0*32+ 7) /* Machine Check Exception */ 37 #define X86_FEATURE_CX8 ( 0*32+ 8) /* CMPXCHG8 instruction */ [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | ntfs.h | 30 * ntfs.sys used 500 maximum links on-disk struct allows up to 0xffff. 55 * at offset 0x40. 86 MFT_REC_MFT = 0, 104 ATTR_ZERO = cpu_to_le32(0x00), 105 ATTR_STD = cpu_to_le32(0x10), 106 ATTR_LIST = cpu_to_le32(0x20), 107 ATTR_NAME = cpu_to_le32(0x30), 108 ATTR_ID = cpu_to_le32(0x40), 109 ATTR_SECURE = cpu_to_le32(0x50), 110 ATTR_LABEL = cpu_to_le32(0x60), [all …]
|
/openbmc/qemu/target/i386/ |
H A D | cpu.c | 68 [0x06] = { .level = 1, .type = INSTRUCTION_CACHE, .size = 8 * KiB, 70 [0x08] = { .level = 1, .type = INSTRUCTION_CACHE, .size = 16 * KiB, 72 [0x09] = { .level = 1, .type = INSTRUCTION_CACHE, .size = 32 * KiB, 74 [0x0A] = { .level = 1, .type = DATA_CACHE, .size = 8 * KiB, 76 [0x0C] = { .level = 1, .type = DATA_CACHE, .size = 16 * KiB, 78 [0x0D] = { .level = 1, .type = DATA_CACHE, .size = 16 * KiB, 80 [0x0E] = { .level = 1, .type = DATA_CACHE, .size = 24 * KiB, 82 [0x1D] = { .level = 2, .type = UNIFIED_CACHE, .size = 128 * KiB, 84 [0x21] = { .level = 2, .type = UNIFIED_CACHE, .size = 256 * KiB, 87 * so descriptors 0x22, 0x23 are not included [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | smbstatus.h | 13 * 0 1 2 3 4 5 6 7 8 9 0 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F 19 #define STATUS_SEVERITY_SUCCESS cpu_to_le32(0x0000) 20 #define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001) 21 #define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002) 22 #define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003) 30 #define STATUS_SUCCESS 0x00000000 31 #define STATUS_WAIT_0 cpu_to_le32(0x00000000) 32 #define STATUS_WAIT_1 cpu_to_le32(0x00000001) 33 #define STATUS_WAIT_2 cpu_to_le32(0x00000002) 34 #define STATUS_WAIT_3 cpu_to_le32(0x00000003) [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | smb2status.h | 13 * 0 1 2 3 4 5 6 7 8 9 0 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F 19 #define STATUS_SEVERITY_SUCCESS __constant_cpu_to_le32(0x0000) 20 #define STATUS_SEVERITY_INFORMATIONAL cpu_to_le32(0x0001) 21 #define STATUS_SEVERITY_WARNING cpu_to_le32(0x0002) 22 #define STATUS_SEVERITY_ERROR cpu_to_le32(0x0003) 30 #define STATUS_SUCCESS cpu_to_le32(0x00000000) 31 #define STATUS_WAIT_0 cpu_to_le32(0x00000000) 32 #define STATUS_WAIT_1 cpu_to_le32(0x00000001) 33 #define STATUS_WAIT_2 cpu_to_le32(0x00000002) 34 #define STATUS_WAIT_3 cpu_to_le32(0x00000003) [all …]
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 132 * emulated by KVM. When setting APIC LVTT (0x832) register bit 18, 134 * intercept the MSR 0x832, and do not setup direct_access_msr. 259 static const u32 msrpm_ranges[] = {0, 0xc0000000, 0xc0010000}; 270 for (i = 0; i < NUM_MSR_MAPS; i++) { in svm_msrpm_offset() 346 return 0; in svm_set_efer() 352 u32 ret = 0; in svm_get_interrupt_shadow() 363 if (mask == 0) in svm_set_interrupt_shadow() 385 if (nrips && svm->vmcb->control.next_rip != 0) { in __svm_skip_emulated_instruction() 396 if (!svm_can_emulate_instruction(vcpu, EMULTYPE_SKIP, NULL, 0)) in __svm_skip_emulated_instruction() 397 return 0; in __svm_skip_emulated_instruction() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8822c_table.c | 16 0x83000000, 0x00000000, 0x40000000, 0x00000000, 17 0x1D90, 0x300001FF, 18 0x1D90, 0x300101FE, 19 0x1D90, 0x300201FD, 20 0x1D90, 0x300301FC, 21 0x1D90, 0x300401FB, 22 0x1D90, 0x300501FA, 23 0x1D90, 0x300601F9, 24 0x1D90, 0x300701F8, 25 0x1D90, 0x300801F7, [all …]
|