cpu-topology.h (ebdf417220f5264475e0423b8016c1444f2cf406) cpu-topology.h (32cfefb904cae766d56adf7a802bc1ce2ddf2440)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * CPU Topology
4 *
5 * Copyright IBM Corp. 2022, 2023
6 * Author(s): Pierre Morel <pmorel@linux.ibm.com>
7 *
8 */

--- 23 unchanged lines hidden (view full) ---

32typedef struct S390TopologyEntry {
33 QTAILQ_ENTRY(S390TopologyEntry) next;
34 S390TopologyId id;
35 uint64_t mask;
36} S390TopologyEntry;
37
38typedef struct S390Topology {
39 uint8_t *cores_per_socket;
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * CPU Topology
4 *
5 * Copyright IBM Corp. 2022, 2023
6 * Author(s): Pierre Morel <pmorel@linux.ibm.com>
7 *
8 */

--- 23 unchanged lines hidden (view full) ---

32typedef struct S390TopologyEntry {
33 QTAILQ_ENTRY(S390TopologyEntry) next;
34 S390TopologyId id;
35 uint64_t mask;
36} S390TopologyEntry;
37
38typedef struct S390Topology {
39 uint8_t *cores_per_socket;
40 CpuS390Polarization polarization;
40 S390CpuPolarization polarization;
41} S390Topology;
42
43typedef QTAILQ_HEAD(, S390TopologyEntry) S390TopologyList;
44
45#ifdef CONFIG_KVM
46bool s390_has_topology(void);
47void s390_topology_setup_cpu(MachineState *ms, S390CPU *cpu, Error **errp);
48void s390_topology_reset(void);

--- 35 unchanged lines hidden ---
41} S390Topology;
42
43typedef QTAILQ_HEAD(, S390TopologyEntry) S390TopologyList;
44
45#ifdef CONFIG_KVM
46bool s390_has_topology(void);
47void s390_topology_setup_cpu(MachineState *ms, S390CPU *cpu, Error **errp);
48void s390_topology_reset(void);

--- 35 unchanged lines hidden ---