/openbmc/qemu/qapi/ |
H A D | machine-common.json | 25 # An enumeration of CPU topology levels. 29 # SMPConfiguration is used to configure the topology of this 33 # to configure the topology of this level. 36 # used to configure the topology of this level. 39 # is used to configure the topology of this level. 42 # configure the topology of this level. 46 # the topology of this level. 49 # to configure the topology of this level. 52 # used to configure the topology of this level. 55 # topology settings (e.g., cache topology), and this special [all …]
|
/openbmc/u-boot/board/CZ.NIC/turris_mox/ |
H A D | turris_mox.c | 63 u8 topology[MAX_MOX_MODULES]; in board_fix_fdt() local 86 topology[i] = readl(ARMADA_37XX_SPI_DIN) & 0xff; in board_fix_fdt() 87 if (topology[i] == 0xff) in board_fix_fdt() 90 topology[i] &= 0xf; in board_fix_fdt() 97 if (size > 1 && (topology[1] == MOX_MODULE_PCI || in board_fix_fdt() 98 topology[1] == MOX_MODULE_USB3 || in board_fix_fdt() 99 topology[1] == MOX_MODULE_PASSPCI)) in board_fix_fdt() 188 static u8 topology[MAX_MOX_MODULES - 1]; in mox_get_topology() local 195 *ptopology = topology; in mox_get_topology() 218 topology[i - 1] = din[i] & 0xf; in mox_get_topology() [all …]
|
/openbmc/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 1 .. _cpu-topology-s390x: 3 CPU topology on s390x 6 Since QEMU 8.2, CPU topology on s390x provides up to 3 levels of 7 topology containers: drawers, books and sockets. They define a 20 This documentation provides general information on S390 CPU topology, 22 For information on how to modify the S390 CPU topology and how to 23 monitor polarization changes, see ``docs/devel/s390-cpu-topology.rst``. 28 To use the CPU topology, you currently need to choose the KVM accelerator. 33 CPU topology facility via the so-called STFLE bit 11 to the VM). 35 Enabling CPU topology [all …]
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-devices-system-cpu | 27 What: /sys/devices/system/cpu/cpuX/topology/physical_package_id 33 What: /sys/devices/system/cpu/cpuX/topology/die_id 39 What: /sys/devices/system/cpu/cpuX/topology/core_id 45 What: /sys/devices/system/cpu/cpuX/topology/cluster_id 51 What: /sys/devices/system/cpu/cpuX/topology/book_id 57 What: /sys/devices/system/cpu/cpuX/topology/drawer_id 63 What: /sys/devices/system/cpu/cpuX/topology/core_cpus 68 What: /sys/devices/system/cpu/cpuX/topology/core_cpus_list 74 What: /sys/devices/system/cpu/cpuX/topology/package_cpus 79 What: /sys/devices/system/cpu/cpuX/topology/package_cpus_list [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_rm.c | 34 struct msm_display_topology topology; member 318 if (!reqs->topology.num_dspp) in _dpu_rm_check_lm_and_get_connected_blks() 348 if (!reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 349 DPU_ERROR("invalid number of lm: %d\n", reqs->topology.num_lm); in _dpu_rm_reserve_lms() 355 lm_count < reqs->topology.num_lm; i++) { in _dpu_rm_reserve_lms() 371 if (lm_count < reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 393 if (lm_count != reqs->topology.num_lm) { in _dpu_rm_reserve_lms() 402 reqs->topology.num_dspp ? enc_id : 0; in _dpu_rm_reserve_lms() 506 &reqs->topology); in _dpu_rm_make_reservation() 512 ret = _dpu_rm_reserve_dsc(rm, global_state, enc, &reqs->topology); in _dpu_rm_make_reservation() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | cputopo.c | 161 bool cpu_topology__smt_on(const struct cpu_topology *topology) in cpu_topology__smt_on() argument 163 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__smt_on() 164 const char *cpu_list = topology->core_cpus_list[i]; in cpu_topology__smt_on() 176 bool cpu_topology__core_wide(const struct cpu_topology *topology, in cpu_topology__core_wide() argument 190 for (u32 i = 0; i < topology->core_cpus_lists; i++) { in cpu_topology__core_wide() 191 const char *core_cpu_list = topology->core_cpus_list[i]; in cpu_topology__core_wide() 244 static const struct cpu_topology *topology; in online_topology() local 246 if (!topology) { in online_topology() 247 topology = cpu_topology__new(); in online_topology() 248 if (!topology) { in online_topology() [all …]
|
H A D | expr.c | 420 const struct cpu_topology *topology; 441 * Assume that topology strings are consistent, such as CPUs "0-1" in expr__get_literal() 456 topology = online_topology(); in expr__get_literal() 457 result = topology->package_cpus_lists; in expr__get_literal() 461 topology = online_topology(); in expr__get_literal() 462 result = topology->die_cpus_lists; in expr__get_literal() 466 topology = online_topology(); in expr__get_literal() 467 result = topology->core_cpus_lists; in expr__get_literal() 423 const struct cpu_topology *topology; expr__get_literal() local
|
H A D | cputopo.h | 67 bool cpu_topology__smt_on(const struct cpu_topology *topology); 69 bool cpu_topology__core_wide(const struct cpu_topology *topology,
|
/openbmc/linux/drivers/clk/zynqmp/ |
H A D | clkc.c | 91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member 410 static int __zynqmp_clock_get_topology(struct clock_topology *topology, in __zynqmp_clock_get_topology() argument 417 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology() 418 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology() 421 topology[*nnodes].type = type; in __zynqmp_clock_get_topology() 422 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology() 423 response->topology[i]); in __zynqmp_clock_get_topology() 424 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology() 426 response->topology[i]); in __zynqmp_clock_get_topology() 427 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | cputopology.rst | 15 /sys/devices/system/cpu/cpuX/topology/。请阅读ABI文件: 18 drivers/base/topology.c是体系结构中性的,它导出了这些属性。然而,die、cluster、book、 21 对于支持这个特性的体系结构,它必须在include/asm-XXX/topology.h中定义这些宏中的一部分:: 41 为了在所有体系结构上保持一致,include/linux/topology.h提供了上述所有宏的默认定义,以防 42 它们未在include/asm-XXX/topology.h中定义:
|
/openbmc/qemu/docs/devel/ |
H A D | s390-cpu-topology.rst | 1 QAPI interface for S390 CPU topology 4 The following sections will explain the QAPI interface for S390 CPU topology 24 The command query-cpus-fast allows querying the topology tree and 96 QAPI command: set-cpu-topology 99 The command set-cpu-topology allows modifying the topology tree 100 or the topology modifiers of a vCPU in the configuration. 104 { "execute": "set-cpu-topology",
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | cputopology.rst | 2 How CPU topology info is exported via sysfs 5 CPU topology info is exported via sysfs. Items (attributes) are similar 7 /sys/devices/system/cpu/cpuX/topology/. Please refer to the ABI file: 10 Architecture-neutral, drivers/base/topology.c, exports these attributes. 16 these macros in include/asm-XXX/topology.h:: 36 To be consistent on all architectures, include/linux/topology.h 38 not defined by include/asm-XXX/topology.h: 53 Additionally, CPU topology information is provided under
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vsmp_64.c | 100 unsigned int cfg, topology, node_shift, maxcpus; in vsmp_cap_cpus() local 116 topology = readl(address); in vsmp_cap_cpus() 117 node_shift = (topology >> 16) & 0x7; in vsmp_cap_cpus() 121 maxcpus = (topology & ((1 << node_shift) - 1)) + 1; in vsmp_cap_cpus()
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | vimc.rst | 12 The topology is hardcoded, although you could modify it in vimc-core and 13 recompile the driver to achieve your own topology. This is the default topology: 18 :alt: Diagram of the default media pipeline topology 23 Configuring the topology 27 width, ...). One needs to configure the topology in order to match the 32 of commands fits for the default topology: 47 Subdevices define the behavior of an entity in the topology. Depending on the
|
/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 305 node->value->topology); in machine_parse_smp_cache() 316 if (props->topology != CPU_TOPOLOGY_LEVEL_DEFAULT && in machine_parse_smp_cache() 324 if (!machine_check_topo_support(ms, props->topology, errp)) { in machine_parse_smp_cache() 344 return ms->smp_cache.props[cache].topology; in machine_get_cache_topo_level() 350 ms->smp_cache.props[cache].topology = level; in machine_set_cache_topo_level() 365 assert(smp_cache->props[cache1].topology != CPU_TOPOLOGY_LEVEL_DEFAULT); in smp_cache_topo_cmp() 367 return smp_cache->props[cache1].topology > smp_cache->props[cache2].topology; in smp_cache_topo_cmp()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_module.c | 242 struct gb_audio_topology *topology; in gb_audio_probe() local 311 ret = gb_audio_gb_get_topology(gbmodule->mgmt_connection, &topology); in gb_audio_probe() 318 ret = gbaudio_tplg_parse_data(gbmodule, topology); in gb_audio_probe() 324 gbmodule->topology = topology; in gb_audio_probe() 363 gbmodule->topology = NULL; in gb_audio_probe() 366 kfree(topology); in gb_audio_probe() 400 kfree(gbmodule->topology); in gb_audio_disconnect() 401 gbmodule->topology = NULL; in gb_audio_disconnect()
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6adm.c | 41 int topology; member 297 int port_id, int topology, in q6adm_find_matching_copp() argument 309 if ((port_id == c->afe_port) && (topology == c->topology) && in q6adm_find_matching_copp() 322 int port_id, int path, int topology, in q6adm_device_open() argument 349 open->topology_id = topology; in q6adm_device_open() 384 int channel_mode, int topology, int perf_mode, in q6adm_open() argument 397 copp = q6adm_find_matching_copp(adm, port_id, topology, perf_mode, in q6adm_open() 415 copp->topology = topology; in q6adm_open() 422 ret = q6adm_device_open(adm, copp, port_id, path, topology, in q6adm_open()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | topology.rst | 7 This documents and clarifies the main aspects of x86 topology modelling and 11 The architecture-agnostic topology definitions are in 14 definitions. Thus, the way to read up on Linux topology on x86 is to start 18 here to *document* the inner workings of x86 topology. 22 The main aim of the topology facilities is to present adequate interfaces to 33 The topology of a system is described in the units of: 48 Package-related topology information in the kernel: 101 Core-related topology information in the kernel: 119 Thread-related topology information in the kernel: 148 System topology examples
|
/openbmc/linux/Documentation/driver-api/cxl/ |
H A D | memory-devices.rst | 21 assemble them into a CXL.mem decode topology. The need for runtime configuration 22 of the CXL.mem topology is also similar to RAID in that different environments 23 with the same hardware configuration may decide to assemble the topology in 26 and disable any striping in the CXL.mem topology. 29 (Linux term for the top of the CXL decode topology). From there, PCIe topology 38 Here is a sample listing of a CXL topology defined by 'cxl_test'. The 'cxl_test' 39 module generates an emulated CXL topology of 2 Host Bridges each with 2 Root 190 Continuing the RAID analogy, disks have both topology metadata and on device 191 metadata that determine RAID set assembly. CXL Port topology and CXL Port link 192 status is metadata for CXL.mem set assembly. The CXL Port topology is enumerated [all …]
|
/openbmc/linux/sound/soc/ |
H A D | Kconfig | 42 bool "Build topology core" 47 the topology core, KUnit is frequently tested in virtual 48 environments with minimal drivers enabled but the topology 53 tristate "KUnit tests for SoC topology" 58 If you want to perform tests on ALSA SoC topology support say Y here. 61 test cases against soc-topology.c API. This should be primarily used
|
/openbmc/entity-manager/docs/ |
H A D | associations.md | 7 Entity Manager can model the [physical topology][2] of how entities plug into 12 For example, taken from the referenced physical topology design: 90 [2]: https://github.com/openbmc/docs/blob/master/designs/physical-topology.md
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | cpu-topology.txt | 2 CPU topology binding description 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 29 Currently, only ARM/RISC-V intend to use this cpu topology binding but it may be 35 A topology description containing phandles to cpu nodes that are not compliant 42 The ARM/RISC-V CPU topology is defined within the cpu-map node, which is a direct 43 child of the cpus node and provides a container where the actual topology 48 Usage: Optional - On SMP systems provide CPUs topology to the OS. 49 Uniprocessor systems do not require a topology 54 subnodes describe the CPU topology. 76 The nodes describing the CPU topology (socket/cluster/core/thread) can [all …]
|
/openbmc/linux/Documentation/i2c/ |
H A D | i2c-topology.rst | 93 If you build a topology with a mux-locked mux being the parent 107 intent with such a topology would in this hypothetical example 174 If you build a topology with a parent-locked mux being the child 196 This is a useful topology, but it can be bad:: 212 This topology is bad if M2 is an auto-closing mux and M1->select 220 This is a good topology:: 243 This is probably a bad topology:: 259 This kind of topology is generally not suitable and should probably 266 The topology is especially troublesome if M2 is an auto-closing 271 auto-closing, the topology is fine. [all …]
|
/openbmc/linux/drivers/media/test-drivers/vimc/ |
H A D | Kconfig | 16 a media node that exposes a complex media topology. The topology
|
/openbmc/openbmc/poky/meta/recipes-multimedia/alsa/ |
H A D | alsa-topology-conf_1.2.5.1.bb | 1 SUMMARY = "ALSA topology configuration files" 18 cp -r "${S}/topology" "${D}${datadir}/alsa"
|