| @@ -12,6 +12,12 @@ physical_package_id: · 11 unmodified lines |
| 12 | 12 | socket number, but the actual value is architecture and platform |
| 13 | 13 | dependent. |
| 14 | 14 | |
| 15 | +die_id: |
| 16 | + |
| 17 | + the CPU die ID of cpuX. Typically it is the hardware platform's |
| 18 | + identifier (rather than the kernel's). The actual value is |
| 19 | + architecture and platform dependent. |
| 20 | + |
| 15 | 21 | core_id: |
| 16 | 22 | |
| 17 | 23 | the CPU core ID of cpuX. Typically it is the hardware platform's |
| @@ -81,6 +87,7 @@ For an architecture to support this feature, it must define some of · 63 unmodified lines |
| 81 | 87 | these macros in include/asm-XXX/topology.h:: |
| 82 | 88 | |
| 83 | 89 | #define topology_physical_package_id(cpu) |
| 90 | + #define topology_die_id(cpu) |
| 84 | 91 | #define topology_core_id(cpu) |
| 85 | 92 | #define topology_book_id(cpu) |
| 86 | 93 | #define topology_drawer_id(cpu) |
| @@ -99,9 +106,11 @@ provides default definitions for any of the above macros that are · 12 unmodified lines |
| 99 | 106 | not defined by include/asm-XXX/topology.h: |
| 100 | 107 | |
| 101 | 108 | 1) topology_physical_package_id: -1 |
| 102 | | −2) topology_core_id: 0 |
| 103 | | −3) topology_sibling_cpumask: just the given CPU |
| 104 | | −4) topology_core_cpumask: just the given CPU |
| 109 | +2) topology_die_id: -1 |
| 110 | +3) topology_core_id: 0 |
| 111 | +4) topology_sibling_cpumask: just the given CPU |
| 112 | +5) topology_core_cpumask: just the given CPU |
| 113 | +6) topology_die_cpumask: just the given CPU |
| 105 | 114 | |
| 106 | 115 | For architectures that don't support books (CONFIG_SCHED_BOOK) there are no |
| 107 | 116 | default definitions for topology_book_id() and topology_book_cpumask(). |