Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 46) sorted by relevance

12

/tools/perf/arch/loongarch/util/
A Dheader.c46 char *line, *model, *cpuid; in _get_cpuid() local
53 line = model = cpuid = NULL; in _get_cpuid()
58 model = _get_field(line); in _get_cpuid()
59 if (!model) in _get_cpuid()
64 if (model && (asprintf(&cpuid, "%s", model) < 0)) in _get_cpuid()
69 free(model); in _get_cpuid()
/tools/perf/arch/s390/util/
A Dheader.c33 char type[8], model[33], version[8], manufacturer[32], authorization[8]; in get_cpuid() local
52 memset(model, 0, sizeof(model)); in get_cpuid()
83 mdsize += scnprintf(model + mdsize, sizeof(model) - mdsize, in get_cpuid()
84 "%s%s", model[0] ? "," : "", cp); in get_cpuid()
92 if (!manufacturer[0] || !type[0] || !model[0]) in get_cpuid()
132 manufacturer, type, model, version, in get_cpuid()
136 model); in get_cpuid()
/tools/memory-model/
A DREADME9 This directory contains the memory consistency model (memory model, for
46 memory model maintainers.
73 tools/memory-model/litmus-tests/
85 tools/memory-model/Documentation/litmus-tests.txt
88 located in the tools/memory-model directory.
90 To run SB+fencembonceonces.litmus against the memory model:
92 $ cd $LINUX_SOURCE_TREE/tools/memory-model
174 event types used by the memory model and (2) performs RCU
182 by the memory model. Allowed executions are those which
183 satisfy the model's "coherence", "atomic", "happens-before",
[all …]
A Dlinux-kernel.cfg3 model linux-kernel.cat
A Dlinux-kernel.bell14 "Linux-kernel memory consistency model"
99 as this-model-requires-variant-higher-than-lkmmv1
/tools/perf/arch/x86/util/
A Dheader.c29 int family = -1, model = -1, step = -1; in __get_cpuid() local
39 model = (a >> 4) & 0xf; /* Bits 7 - 4 */ in __get_cpuid()
48 model += ((a >> 16) & 0xf) << 4; in __get_cpuid()
50 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid()
/tools/power/cpupower/utils/helpers/
A Dcpuid.c58 cpu_info->model = unknown; in get_cpu_info()
89 &cpu_info->model); in get_cpu_info()
97 cpu_info->model == unknown || in get_cpu_info()
180 switch (cpu_info->model) { in get_cpu_info()
A Dhelpers.h86 unsigned int model; member
/tools/arch/arm64/include/asm/
A Dcputype.h244 u32 model; member
251 .model = m, \
260 static inline bool midr_is_cpu_model_range(u32 midr, u32 model, u32 rv_min, in midr_is_cpu_model_range() argument
266 return _model == model && rv >= rv_min && rv <= rv_max; in midr_is_cpu_model_range()
271 return midr_is_cpu_model_range(midr, range->model, in is_midr_in_range()
278 while (ranges->model) in is_midr_in_range_list()
/tools/perf/arch/s390/annotate/
A Dinstructions.c140 char model[16], model_c[16], cpumf_v[16], cpumf_a[16]; in s390__cpuid_parse() local
148 model, cpumf_v, cpumf_a); in s390__cpuid_parse()
151 arch->model = 0; in s390__cpuid_parse()
/tools/memory-model/Documentation/
A Dreferences.txt72 Linux-kernel memory model
95 Alan Stern. 2017. "A formal kernel memory-ordering model (part 1)"
99 Alan Stern. 2017. "A formal kernel memory-ordering model (part 2)"
108 Memory-model tooling
121 semantics of the weak consistency model specification language
125 Memory-model comparisons
A DREADME4 Linux-kernel memory model (LKMM) audience might be anywhere from novice
69 Quick-reference guide to the Linux-kernel memory model.
76 Detailed description of the memory model.
/tools/perf/pmu-events/arch/s390/
A Dmapfile.csv1 Family-model,Version,Filename,EventType
/tools/testing/selftests/powerpc/papr_vpd/
A Dpapr_vpd.c219 char *model; in get_system_loc_code() local
222 if (read_file_alloc(model_path, &model, NULL)) in get_system_loc_code()
229 int sscanf_ret = sscanf(model, "IBM,%ms", &mtm); in get_system_loc_code()
255 free(model); in get_system_loc_code()
/tools/testing/selftests/media_tests/
A Dmedia_device_open.c81 mdi.model, mdi.driver); in main()
A Dmedia_device_test.c99 mdi.model, mdi.driver, count); in main()
/tools/memory-model/scripts/
A Drunlitmus.sh58 herdoptions="-model $LKMM_HW_CAT_FILE"
/tools/perf/pmu-events/arch/nds32/
A Dmapfile.csv14 #Family-model,Version,Filename,EventType
/tools/perf/scripts/python/
A Dexported-sql-viewer.py347 model = None
348 if model is None:
349 model = create_fn()
352 return model
359 model = None
361 return model
1045 self.model = None
2749 self.model = model
3879 model = indexes[0].model()
3936 model = first.model()
[all …]
/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c1410 unsigned int fms, family, model; in early_cpuid() local
1414 model = (fms >> 4) & 0xf; in early_cpuid()
1416 model += ((fms >> 16) & 0xf) << 4; in early_cpuid()
1418 if (model == 0x4F) { in early_cpuid()
1440 unsigned int fms, family, model, stepping; in parse_cpuid() local
1455 model = (fms >> 4) & 0xf; in parse_cpuid()
1458 model += ((fms >> 16) & 0xf) << 4; in parse_cpuid()
1462 max_level, family, model, stepping, family, model, stepping); in parse_cpuid()
/tools/perf/arch/x86/annotate/
A Dinstructions.c148 if (arch->family != 6 || arch->model < 0x1e || strstr(ins2, "jmp")) in intel__ins_is_fused()
151 if (arch->model == 0x1e) { in intel__ins_is_fused()
175 unsigned int family, model, stepping; in x86__cpuid_parse() local
181 ret = sscanf(cpuid, "%*[^,],%u,%u,%u", &family, &model, &stepping); in x86__cpuid_parse()
184 arch->model = model; in x86__cpuid_parse()
/tools/memory-model/litmus-tests/
A DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus10 * write. In memory-model-speak, there is only one non-reads-from
/tools/verification/rv/
A DREADME.txt4 complements classical exhaustive verification techniques (such as model
/tools/perf/pmu-events/
A DREADME25 The PMU events supported by a CPU model are expected to grouped into topics
30 All the topic JSON files for a CPU model/family should be in a separate
37 The JSONs folder for a CPU model/family may be placed in the root arch
/tools/perf/util/
A Ddisasm.h30 unsigned int model; member

Completed in 43 milliseconds

12