|
@@ -144,6 +144,7 @@ typedef struct {
|
|
* provided SMP configuration
|
|
* provided SMP configuration
|
|
* @books_supported - whether books are supported by the machine
|
|
* @books_supported - whether books are supported by the machine
|
|
* @drawers_supported - whether drawers are supported by the machine
|
|
* @drawers_supported - whether drawers are supported by the machine
|
|
|
|
+ * @modules_supported - whether modules are supported by the machine
|
|
*/
|
|
*/
|
|
typedef struct {
|
|
typedef struct {
|
|
bool prefer_sockets;
|
|
bool prefer_sockets;
|
|
@@ -152,6 +153,7 @@ typedef struct {
|
|
bool has_clusters;
|
|
bool has_clusters;
|
|
bool books_supported;
|
|
bool books_supported;
|
|
bool drawers_supported;
|
|
bool drawers_supported;
|
|
|
|
+ bool modules_supported;
|
|
} SMPCompatProps;
|
|
} SMPCompatProps;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -339,6 +341,7 @@ typedef struct DeviceMemoryState {
|
|
* @sockets: the number of sockets in one book
|
|
* @sockets: the number of sockets in one book
|
|
* @dies: the number of dies in one socket
|
|
* @dies: the number of dies in one socket
|
|
* @clusters: the number of clusters in one die
|
|
* @clusters: the number of clusters in one die
|
|
|
|
+ * @modules: the number of modules in one cluster
|
|
* @cores: the number of cores in one cluster
|
|
* @cores: the number of cores in one cluster
|
|
* @threads: the number of threads in one core
|
|
* @threads: the number of threads in one core
|
|
* @max_cpus: the maximum number of logical processors on the machine
|
|
* @max_cpus: the maximum number of logical processors on the machine
|
|
@@ -350,6 +353,7 @@ typedef struct CpuTopology {
|
|
unsigned int sockets;
|
|
unsigned int sockets;
|
|
unsigned int dies;
|
|
unsigned int dies;
|
|
unsigned int clusters;
|
|
unsigned int clusters;
|
|
|
|
+ unsigned int modules;
|
|
unsigned int cores;
|
|
unsigned int cores;
|
|
unsigned int threads;
|
|
unsigned int threads;
|
|
unsigned int max_cpus;
|
|
unsigned int max_cpus;
|