Home
last modified time | relevance | path

Searched full:topology (Results 1 – 25 of 879) sorted by relevance

12345678910>>...36

/openbmc/qemu/hw/s390x/
H A Dcpu-topology.c3 * CPU Topology
8 * S390 topology handling can be divided in two parts:
11 * used by KVM and TCG to create and modify the topology.
13 * - The second part, building the topology information data for the
25 #include "hw/s390x/cpu-topology.h"
30 * s390_topology is used to keep the topology information.
46 * for a topology tree entry
70 * Return: true if the topology is supported by the machine.
79 * @ms: the machine state where the machine topology is defined
81 * Keep track of the machine topology.
[all …]
/openbmc/openpower-hw-diags/analyzer/plugins/
H A Dp10-tod-plugins.cpp20 enum class Topology enum
26 /** Each topology can be configured as either primary or secondary. */
44 /** The MDMT chips at fault (only one per topology). */
45 std::map<Topology, pdbg_target*> iv_mdmtFaultList;
48 std::map<Topology, std::vector<pdbg_target*>> iv_internalFaultList;
51 std::map<Topology, std::vector<pdbg_target*>> iv_networkFaultList;
55 * @brief Sets this chip as the MDMT at fault for this topology.
56 * @param i_topology Target topology.
59 void setMdmtFault(Topology i_topology, pdbg_target* i_chipAtFault) in setMdmtFault()
66 * @param i_topology Target topology.
[all …]
/openbmc/qemu/qapi/
H A Dmachine-common.json25 # 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/entity-manager/test/
H A Dtest_topology.cpp1 #include "topology.hpp"
51 TEST(Topology, Empty) in TEST() argument
53 Topology topo; in TEST()
61 TEST(Topology, EmptyExposes) in TEST() argument
63 Topology topo; in TEST()
74 TEST(Topology, MissingConnectsTo) in TEST() argument
83 Topology topo; in TEST()
96 TEST(Topology, OtherExposes) in TEST() argument
98 Topology topo; in TEST()
109 TEST(Topology, NoMatchSubchassis) in TEST() argument
[all …]
/openbmc/qemu/docs/system/s390x/
H A Dcpu-topology.rst1 .. _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 Dsysfs-devices-system-cpu27 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/qemu/hw/core/
H A Dmachine-smp.c27 * Report information of a machine's supported CPU topology hierarchy.
28 * Topology members will be ordered from the largest to the smallest
82 * introduced topology members which are likely to be target specific should
102 * Specified CPU topology parameters must be greater than zero, in machine_parse_smp_config()
115 error_setg(errp, "Invalid CPU topology: " in machine_parse_smp_config()
116 "CPU topology parameters must be greater than zero"); in machine_parse_smp_config()
121 * If not supported by the machine, a topology parameter must in machine_parse_smp_config()
127 "modules > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
135 "clusters > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
143 "dies > 1 not supported by this machine's CPU topology"); in machine_parse_smp_config()
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_s390x_topology.py25 S390x CPU topology consists of 4 topology layers, from bottom to top,
28 See: docs/system/s390x/cpu-topology.rst.
30 S390x CPU topology is setup in different ways:
31 - implicitly from the '-smp' argument by completing each topology
36 - it is modified by using QMP 'set-cpu-topology'
85 We need a VM that supports CPU topology,
87 We need a kernel supporting the CPU topology.
116 This test checks the simplest topology with a single CPU.
126 This test checks the implicit topology.
150 This test checks the topology modification by moving a CPU
[all …]
/openbmc/linux/drivers/clk/zynqmp/
H A Dclkc.c65 * @node: Clock topology nodes
66 * @num_nodes: Number of nodes present in topology
91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
246 * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id
248 * @index: Node index of clock topology
249 * @response: Buffer used for the topology response
251 * This function is used to get topology information for the clock
254 * This API will return 3 node of topology with a single response. To get
306 * @nodes: Clock topology node
402 * __zynqmp_clock_get_topology() - Get topology data of clock from firmware
[all …]
/openbmc/linux/Documentation/admin-guide/media/
H A Dvimc.rst9 Topology chapter
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/u-boot/board/CZ.NIC/turris_mox/
H A Dturris_mox.c63 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/linux/tools/perf/util/
H A Dcputopo.c19 "%s/devices/system/cpu/cpu%d/topology/package_cpus_list"
21 "%s/devices/system/cpu/cpu%d/topology/core_siblings_list"
23 "%s/devices/system/cpu/cpu%d/topology/die_cpus_list"
25 "%s/devices/system/cpu/cpu%d/topology/core_cpus_list"
27 "%s/devices/system/cpu/cpu%d/topology/thread_siblings_list"
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()
[all …]
H A Dcputopo.h16 * /sys/devices/system/cpu/cpuX/topology/package_cpus_list. From the ABI
23 * /sys/devices/system/cpu/cpuX/topology/die_cpus_list. From the ABI
30 * /sys/devices/system/cpu/cpuX/topology/core_cpus_list. From the ABI
60 * The topology for online CPUs, lazily created.
67 bool cpu_topology__smt_on(const struct cpu_topology *topology);
69 bool cpu_topology__core_wide(const struct cpu_topology *topology,
/openbmc/qemu/docs/devel/
H A Ds390-cpu-topology.rst1 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",
141 Perform Topology Function PTF(0) to request an horizontal polarization:
/openbmc/linux/sound/soc/
H A Dsoc-topology-test.c3 * soc-topology-test.c -- ALSA SoC Topology Kernel Unit Tests
11 #include <sound/soc-topology.h>
25 .name = "sound-soc-topology-test-driver",
30 test_dev = root_device_register("sound-soc-topology-test"); in snd_soc_tplg_test_init()
47 * helper struct we use when registering component, as we load topology during
53 int expect; /* what result we expect when loading topology */
67 "Failed topology load"); in d_probe()
87 SND_SOC_DAILINK_DEF(platform, DAILINK_COMP_ARRAY(COMP_PLATFORM("sound-soc-topology-test")));
104 .name = "sound-soc-topology-test",
109 /* ===== TOPOLOGY TEMPLATES ================================================= */
[all …]
H A DKconfig42 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/linux/Documentation/admin-guide/
H A Dcputopology.rst2 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/Documentation/arch/x86/
H A Dtopology.rst4 x86 Topology
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:
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dtopology.c2 * arch/parisc/kernel/topology.c
6 * based on arch/arm/kernel/topology.c
15 #include <linux/sched/topology.h>
18 #include <asm/topology.h>
35 /* If the cpu topology has been already set, just return */ in store_cpu_topology()
45 /* create cpu topology mapping */ in store_cpu_topology()
/openbmc/linux/include/drm/display/
H A Ddrm_dp_mst_helper.h81 * @mgr: topology manager this port lives under.
84 * in the MST topology.
88 * @topology_kref: refcount for this port's lifetime in the topology,
102 * @topology_ref_history: A history of each topology
145 * point in the MST topology.
181 * @mgr: topology manager for this branch device.
193 * topology, only the DP MST helpers should need to touch this
206 * @topology_ref_history: A history of each topology
532 * protected by the MST helpers ensuring that async commits operating on the given topology
572 * struct drm_dp_mst_topology_state - DisplayPort MST topology atomic state
[all …]
/openbmc/linux/Documentation/driver-api/cxl/
H A Dmemory-devices.rst21 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/arch/x86/kernel/cpu/
H A Dtopology.c3 * Check for extended topology enumeration cpuid leaf 0xb and if it
4 * exists, use it for populating initial_apicid and cpu topology
18 /* extended topology sub-leaf types */
33 * Check if given CPUID extended topology "leaf" is implemented
47 * Return best CPUID Extended Topology Leaf supported
88 * Check for extended topology enumeration cpuid leaf, and if it
89 * exists, use it for populating initial_apicid and cpu topology
/openbmc/qemu/tests/unit/
H A Dtest-smp-parse.c29 * Used to define the generic 3-level CPU topology hierarchy
51 * Currently a 5-level topology hierarchy is supported on PC machines
67 * Currently a 4-level topology hierarchy is supported on ARM virt machines
81 * Currently a 5-level topology hierarchy is supported on s390 ccw machines
97 * Currently QEMU supports up to a 8-level topology hierarchy, which is the
98 * QEMU's unified abstract representation of CPU topology.
133 * topology parameters (i.e. cpus/maxcpus/sockets/cores/threads),
354 .expect_error = "modules > 1 not supported by this machine's CPU topology",
359 .expect_error = "dies > 1 not supported by this machine's CPU topology",
363 .expect_error = "clusters > 1 not supported by this machine's CPU topology",
[all …]
/openbmc/linux/sound/soc/sof/
H A Dsof-audio.h21 #include <sound/sof/topology.h>
137 * struct sof_ipc_tplg_control_ops - IPC-specific ops for topology kcontrol IO
164 * struct sof_ipc_tplg_widget_ops - IPC-specific ops for topology widgets
188 * struct sof_ipc_tplg_ops - IPC-specific topology ops
192 * @control: Pointer to the IPC-specific ops for topology kcontrol IO
205 * @set_up_all_pipelines: Function pointer for setting up all topology pipelines
206 * @tear_down_all_pipelines: Function pointer for tearing down all topology pipelines
207 * @parse_manifest: Function pointer for ipc4 specific parsing of topology manifest
286 * struct sof_topology_token - SOF topology token definition
363 void *priv; /* private data copied from topology */
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c30 * @topology: selected topology for the display
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()
[all …]

12345678910>>...36