Home
last modified time | relevance | path

Searched refs:associativity (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/arch/powerpc/mm/
H A Dnuma.c170 static int __associativity_to_nid(const __be32 *associativity, in __associativity_to_nid() argument
182 nid = of_read_number(&associativity[index], 1); in __associativity_to_nid()
193 static int associativity_to_nid(const __be32 *associativity) in associativity_to_nid() argument
195 int array_sz = of_read_number(associativity, 1); in associativity_to_nid()
198 return __associativity_to_nid((associativity + 1), array_sz); in associativity_to_nid()
304 static void __initialize_form1_numa_distance(const __be32 *associativity, in __initialize_form1_numa_distance() argument
312 nid = __associativity_to_nid(associativity, max_array_sz); in __initialize_form1_numa_distance()
324 entry = &associativity[index]; in __initialize_form1_numa_distance()
330 static void initialize_form1_numa_distance(const __be32 *associativity) in initialize_form1_numa_distance() argument
334 array_sz = of_read_number(associativity, 1); in initialize_form1_numa_distance()
[all …]
/openbmc/qemu/docs/specs/
H A Dppc-spapr-numa.rst11 Associativity and ibm,associativity property
18 The format of the ibm,associativity property varies with the value of
21 with the value of one, makes ibm,associativity property represent the
36 The ibm,associativity property for the processors would be:
41 Each allocable resource has an ibm,associativity property. The LOPAPR
46 Relative Performance Distance and ibm,associativity-reference-points
49 The ibm,associativity-reference-points property is an array that is used
56 ibm,associativity-reference-points represents an 1 based ordinal index (i.e.
57 the first element is 1) of the ibm,associativity array. The first
69 * ibm,associativity-reference-points = {0x3, 0x2, 0x1}
[all …]
H A Dppc-spapr-hotplug.rst457 ``ibm,associativity-lookup-arrays``
460 This property defines a lookup array in which the NUMA associativity
462 that begins with an integer M, the number of associativity lists followed
463 by an integer N, the number of entries per associativity list and terminated
464 by M associativity lists each of length N integers.
466 This property provides the same information as given by ``ibm,associativity``
469 associativity list to use for the LMB. This index value for each LMB is defined
487 ``ibm,associativity-lookup-arrays`` property described earlier. This is used
488 to retrieve the right associativity list to be used for this LMB.
507 ``ibm,associativity-lookup-arrays`` property described earlier. This
[all …]
/openbmc/linux/Documentation/powerpc/
H A Dassociativity.rst2 NUMA resource associativity
15 associativity grouping. Form 0 is the oldest format and is now considered deprecated.
17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property".
19 A value of 1 indicates the usage of Form 1 associativity. For Form 2 associativity
24 Form 0 associativity supports only two NUMA distances (LOCAL and REMOTE).
28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity
31 The “ibm,associativity” property contains a list of one or more numbers (domainID)
34 The “ibm,associativity-reference-points” property contains a list of one or more numbers
35 (domainID index) that represents the 1 based ordinal in the associativity lists.
49 Form 2 associativity format adds separate device tree properties representing NUMA node distance
[all …]
H A Dindex.rst10 associativity
/openbmc/u-boot/arch/arm/lib/
H A Dcache-pl310.c23 u32 assoc_16, associativity, way_mask; in pl310_background_op_all_ways() local
28 associativity = 16; in pl310_background_op_all_ways()
30 associativity = 8; in pl310_background_op_all_ways()
32 way_mask = (1 << associativity) - 1; in pl310_background_op_all_ways()
/openbmc/qemu/target/i386/
H A Dcpu.c60 int associativity; member
69 .associativity = 4, .line_size = 32, },
71 .associativity = 4, .line_size = 32, },
73 .associativity = 4, .line_size = 64, },
75 .associativity = 2, .line_size = 32, },
77 .associativity = 4, .line_size = 32, },
79 .associativity = 4, .line_size = 64, },
81 .associativity = 6, .line_size = 64, },
83 .associativity = 2, .line_size = 64, },
85 .associativity = 8, .line_size = 64, },
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dvphn.c79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/openbmc/linux/tools/testing/selftests/powerpc/vphn/
H A Dvphn.c79 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity) in hcall_vphn() argument
86 vphn_unpack_associativity(retbuf, associativity); in hcall_vphn()
/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c354 const uint32_t *associativity = get_associativity(spapr, nodeid); in spapr_numa_write_associativity_dt() local
357 associativity, in spapr_numa_write_associativity_dt()
364 const uint32_t *associativity = get_associativity(spapr, cpu->node_id); in spapr_numa_get_vcpu_assoc() local
378 memcpy(vcpu_assoc + 1, associativity + 1, in spapr_numa_get_vcpu_assoc()
421 const uint32_t *associativity = get_associativity(spapr, i); in spapr_numa_write_assoc_lookup_arrays() local
422 memcpy(cur_index, ++associativity, in spapr_numa_write_assoc_lookup_arrays()
/openbmc/linux/tools/testing/selftests/powerpc/vphn/asm/
H A Dvphn.h22 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/openbmc/linux/arch/powerpc/include/asm/
H A Dvphn.h22 long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
/openbmc/u-boot/doc/
H A DREADME.N121335 - Set associativity: 2-way, 4-way or direct-mapped.
/openbmc/linux/arch/powerpc/kernel/
H A Dcacheinfo.c640 unsigned int associativity; in associativity_show() local
645 if (cache_associativity(cache, &associativity)) in associativity_show()
648 return sprintf(buf, "%u\n", associativity); in associativity_show()
/openbmc/linux/Documentation/devicetree/bindings/pmem/
H A Dpmem-region.txt33 - Any relevant NUMA associativity properties for the target platform.
/openbmc/linux/Documentation/devicetree/bindings/nios2/
H A Dnios2.txt23 - altr,tlb-num-ways: Specifies the number of set-associativity ways in the TLB.
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.h169 uint8_t associativity; member
/openbmc/linux/arch/ia64/include/asm/
H A Dpal.h160 associativity : 8, /* 16-8 Associativity*/ member
201 #define pcci_assoc pcci_info_1.pcci1_bits.associativity
1577 associativity : 8, member
1590 #define tc_associativity pal_tc_info_s.associativity
/openbmc/qemu/hw/acpi/
H A Dhmat.c165 cache_attr |= (uint32_t) hmat_cache->associativity << 8; in build_hmat_cache()
/openbmc/linux/arch/arm/boot/dts/arm/
H A Darm-realview-pbx-a9.dts70 * associativity as these may be erroneously set
H A Darm-realview-eb-mp.dtsi73 * associativity as these may be erroneously set
/openbmc/linux/arch/arm/mm/
H A Dcache-l2x0.c944 u32 *associativity, in l2x0_cache_size_of_parse() argument
991 *associativity = cache_size / way_size; in l2x0_cache_size_of_parse()
1003 pr_info("L2C OF: override associativity: %d\n", *associativity); in l2x0_cache_size_of_parse()
/openbmc/qemu/qapi/
H A Dmachine.json756 # Cache associativity in the Memory Side Cache Information Structure
763 # associativity unknown)
809 # @associativity: the cache associativity,
823 'associativity': 'HmatCacheAssociativity',
/openbmc/qemu/docs/about/
H A Demulation.rst738 cache size, block size, and associativity of the instruction
745 - Data cache associativity (default: 8)
758 size = 2MB, associativity = 16-way, block size = 64B).
764 - L2 cache associativity (default: 16), implies ``l2=on``
/openbmc/linux/drivers/acpi/
H A Dpptt.c372 this_leaf->ways_of_associativity = found_cache->associativity; in update_cache_properties()

12