Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 600666f

Browse files
committed
fix: Added support for latest SPARC cpus on Solaris
Closes fusioninventory#726
1 parent ad3caf3 commit 600666f

File tree

5 files changed

+267
-0
lines changed

5 files changed

+267
-0
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ netdiscovery/netinventory:
5353
* fix #738: fix time expiration when netinventory is chained with netdiscovery
5454
while using fusioninventory-netdiscovery script --inventory option
5555
* fix #741: device with empty description was no more inventoried
56+
* fix #726: Added support for latest SPARC cpus on Solaris
5657

5758
2.5.1 Tue, 02 Jul 2019
5859

lib/FusionInventory/Agent/Task/Inventory/Solaris/CPU.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ sub _getCPUs {
8383
$type eq 'UltraSPARC-T2' ? (undef, 8) : # Niagara-II
8484
$type eq 'UltraSPARC-T2+' ? (undef, 8) : # Victoria Falls
8585
$type eq 'SPARC-T3' ? (undef, 8) : # Rainbow Falls
86+
$type eq 'SPARC-T4' ? (8 , 8) : # Yosemite Falls
87+
$type eq 'SPARC-T5' ? (16 , 8) :
88+
$type eq 'SPARC-M7' ? (32 , 8) :
89+
$type eq 'SPARC-M8' ? (32 , 8) :
8690
$type eq 'SPARC64-VI' ? (2, 2) : # Olympus-C SPARC64-VI
8791
$type eq 'SPARC64-VII' ? (4, 2) : # Jupiter SPARC64-VII
8892
$type eq 'SPARC64-VII+' ? (4, 2) : # Jupiter+ SPARC64-VII+
Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
Status of virtual processor 0 as of: 06/15/2019 13:03:30
2+
on-line since 04/20/2019 17:38:55.
3+
The sparcv9 processor operates at 3600 MHz,
4+
and has a sparcv9 floating point processor.
5+
Status of virtual processor 1 as of: 06/15/2019 13:03:30
6+
on-line since 04/20/2019 17:38:56.
7+
The sparcv9 processor operates at 3600 MHz,
8+
and has a sparcv9 floating point processor.
9+
Status of virtual processor 2 as of: 06/15/2019 13:03:30
10+
on-line since 04/20/2019 17:38:56.
11+
The sparcv9 processor operates at 3600 MHz,
12+
and has a sparcv9 floating point processor.
13+
Status of virtual processor 3 as of: 06/15/2019 13:03:30
14+
on-line since 04/20/2019 17:38:56.
15+
The sparcv9 processor operates at 3600 MHz,
16+
and has a sparcv9 floating point processor.
17+
Status of virtual processor 4 as of: 06/15/2019 13:03:30
18+
on-line since 04/20/2019 17:38:56.
19+
The sparcv9 processor operates at 3600 MHz,
20+
and has a sparcv9 floating point processor.
21+
Status of virtual processor 5 as of: 06/15/2019 13:03:30
22+
on-line since 04/20/2019 17:38:56.
23+
The sparcv9 processor operates at 3600 MHz,
24+
and has a sparcv9 floating point processor.
25+
Status of virtual processor 6 as of: 06/15/2019 13:03:30
26+
on-line since 04/20/2019 17:38:56.
27+
The sparcv9 processor operates at 3600 MHz,
28+
and has a sparcv9 floating point processor.
29+
Status of virtual processor 7 as of: 06/15/2019 13:03:30
30+
on-line since 04/20/2019 17:38:56.
31+
The sparcv9 processor operates at 3600 MHz,
32+
and has a sparcv9 floating point processor.
33+
Status of virtual processor 8 as of: 06/15/2019 13:03:30
34+
on-line since 04/20/2019 17:38:56.
35+
The sparcv9 processor operates at 3600 MHz,
36+
and has a sparcv9 floating point processor.
37+
Status of virtual processor 9 as of: 06/15/2019 13:03:30
38+
on-line since 04/20/2019 17:38:56.
39+
The sparcv9 processor operates at 3600 MHz,
40+
and has a sparcv9 floating point processor.
41+
Status of virtual processor 10 as of: 06/15/2019 13:03:30
42+
on-line since 04/20/2019 17:38:56.
43+
The sparcv9 processor operates at 3600 MHz,
44+
and has a sparcv9 floating point processor.
45+
Status of virtual processor 11 as of: 06/15/2019 13:03:30
46+
on-line since 04/20/2019 17:38:56.
47+
The sparcv9 processor operates at 3600 MHz,
48+
and has a sparcv9 floating point processor.
49+
Status of virtual processor 12 as of: 06/15/2019 13:03:30
50+
on-line since 04/20/2019 17:38:56.
51+
The sparcv9 processor operates at 3600 MHz,
52+
and has a sparcv9 floating point processor.
53+
Status of virtual processor 13 as of: 06/15/2019 13:03:30
54+
on-line since 04/20/2019 17:38:56.
55+
The sparcv9 processor operates at 3600 MHz,
56+
and has a sparcv9 floating point processor.
57+
Status of virtual processor 14 as of: 06/15/2019 13:03:30
58+
on-line since 04/20/2019 17:38:56.
59+
The sparcv9 processor operates at 3600 MHz,
60+
and has a sparcv9 floating point processor.
61+
Status of virtual processor 15 as of: 06/15/2019 13:03:30
62+
on-line since 04/20/2019 17:38:56.
63+
The sparcv9 processor operates at 3600 MHz,
64+
and has a sparcv9 floating point processor.
65+
Status of virtual processor 16 as of: 06/15/2019 13:03:30
66+
on-line since 04/20/2019 17:38:56.
67+
The sparcv9 processor operates at 3600 MHz,
68+
and has a sparcv9 floating point processor.
69+
Status of virtual processor 17 as of: 06/15/2019 13:03:30
70+
on-line since 04/20/2019 17:38:56.
71+
The sparcv9 processor operates at 3600 MHz,
72+
and has a sparcv9 floating point processor.
73+
Status of virtual processor 18 as of: 06/15/2019 13:03:30
74+
on-line since 04/20/2019 17:38:56.
75+
The sparcv9 processor operates at 3600 MHz,
76+
and has a sparcv9 floating point processor.
77+
Status of virtual processor 19 as of: 06/15/2019 13:03:30
78+
on-line since 04/20/2019 17:38:56.
79+
The sparcv9 processor operates at 3600 MHz,
80+
and has a sparcv9 floating point processor.
81+
Status of virtual processor 20 as of: 06/15/2019 13:03:30
82+
on-line since 04/20/2019 17:38:56.
83+
The sparcv9 processor operates at 3600 MHz,
84+
and has a sparcv9 floating point processor.
85+
Status of virtual processor 21 as of: 06/15/2019 13:03:30
86+
on-line since 04/20/2019 17:38:56.
87+
The sparcv9 processor operates at 3600 MHz,
88+
and has a sparcv9 floating point processor.
89+
Status of virtual processor 22 as of: 06/15/2019 13:03:30
90+
on-line since 04/20/2019 17:38:56.
91+
The sparcv9 processor operates at 3600 MHz,
92+
and has a sparcv9 floating point processor.
93+
Status of virtual processor 23 as of: 06/15/2019 13:03:30
94+
on-line since 04/20/2019 17:38:56.
95+
The sparcv9 processor operates at 3600 MHz,
96+
and has a sparcv9 floating point processor.
97+
Status of virtual processor 24 as of: 06/15/2019 13:03:30
98+
on-line since 04/20/2019 17:38:56.
99+
The sparcv9 processor operates at 3600 MHz,
100+
and has a sparcv9 floating point processor.
101+
Status of virtual processor 25 as of: 06/15/2019 13:03:30
102+
on-line since 04/20/2019 17:38:56.
103+
The sparcv9 processor operates at 3600 MHz,
104+
and has a sparcv9 floating point processor.
105+
Status of virtual processor 26 as of: 06/15/2019 13:03:30
106+
on-line since 04/20/2019 17:38:56.
107+
The sparcv9 processor operates at 3600 MHz,
108+
and has a sparcv9 floating point processor.
109+
Status of virtual processor 27 as of: 06/15/2019 13:03:30
110+
on-line since 04/20/2019 17:38:56.
111+
The sparcv9 processor operates at 3600 MHz,
112+
and has a sparcv9 floating point processor.
113+
Status of virtual processor 28 as of: 06/15/2019 13:03:30
114+
on-line since 04/20/2019 17:38:56.
115+
The sparcv9 processor operates at 3600 MHz,
116+
and has a sparcv9 floating point processor.
117+
Status of virtual processor 29 as of: 06/15/2019 13:03:30
118+
on-line since 04/20/2019 17:38:56.
119+
The sparcv9 processor operates at 3600 MHz,
120+
and has a sparcv9 floating point processor.
121+
Status of virtual processor 30 as of: 06/15/2019 13:03:30
122+
on-line since 04/20/2019 17:38:56.
123+
The sparcv9 processor operates at 3600 MHz,
124+
and has a sparcv9 floating point processor.
125+
Status of virtual processor 31 as of: 06/15/2019 13:03:30
126+
on-line since 04/20/2019 17:38:56.
127+
The sparcv9 processor operates at 3600 MHz,
128+
and has a sparcv9 floating point processor.
129+
Status of virtual processor 32 as of: 06/15/2019 13:03:30
130+
on-line since 04/20/2019 17:38:56.
131+
The sparcv9 processor operates at 3600 MHz,
132+
and has a sparcv9 floating point processor.
133+
Status of virtual processor 33 as of: 06/15/2019 13:03:30
134+
on-line since 04/20/2019 17:38:56.
135+
The sparcv9 processor operates at 3600 MHz,
136+
and has a sparcv9 floating point processor.
137+
Status of virtual processor 34 as of: 06/15/2019 13:03:30
138+
on-line since 04/20/2019 17:38:56.
139+
The sparcv9 processor operates at 3600 MHz,
140+
and has a sparcv9 floating point processor.
141+
Status of virtual processor 35 as of: 06/15/2019 13:03:30
142+
on-line since 04/20/2019 17:38:56.
143+
The sparcv9 processor operates at 3600 MHz,
144+
and has a sparcv9 floating point processor.
145+
Status of virtual processor 36 as of: 06/15/2019 13:03:30
146+
on-line since 04/20/2019 17:38:56.
147+
The sparcv9 processor operates at 3600 MHz,
148+
and has a sparcv9 floating point processor.
149+
Status of virtual processor 37 as of: 06/15/2019 13:03:30
150+
on-line since 04/20/2019 17:38:56.
151+
The sparcv9 processor operates at 3600 MHz,
152+
and has a sparcv9 floating point processor.
153+
Status of virtual processor 38 as of: 06/15/2019 13:03:30
154+
on-line since 04/20/2019 17:38:56.
155+
The sparcv9 processor operates at 3600 MHz,
156+
and has a sparcv9 floating point processor.
157+
Status of virtual processor 39 as of: 06/15/2019 13:03:30
158+
on-line since 04/20/2019 17:38:56.
159+
The sparcv9 processor operates at 3600 MHz,
160+
and has a sparcv9 floating point processor.
161+
Status of virtual processor 40 as of: 06/15/2019 13:03:30
162+
on-line since 04/20/2019 17:38:56.
163+
The sparcv9 processor operates at 3600 MHz,
164+
and has a sparcv9 floating point processor.
165+
Status of virtual processor 41 as of: 06/15/2019 13:03:30
166+
on-line since 04/20/2019 17:38:56.
167+
The sparcv9 processor operates at 3600 MHz,
168+
and has a sparcv9 floating point processor.
169+
Status of virtual processor 42 as of: 06/15/2019 13:03:30
170+
on-line since 04/20/2019 17:38:56.
171+
The sparcv9 processor operates at 3600 MHz,
172+
and has a sparcv9 floating point processor.
173+
Status of virtual processor 43 as of: 06/15/2019 13:03:30
174+
on-line since 04/20/2019 17:38:56.
175+
The sparcv9 processor operates at 3600 MHz,
176+
and has a sparcv9 floating point processor.
177+
Status of virtual processor 44 as of: 06/15/2019 13:03:30
178+
on-line since 04/20/2019 17:38:56.
179+
The sparcv9 processor operates at 3600 MHz,
180+
and has a sparcv9 floating point processor.
181+
Status of virtual processor 45 as of: 06/15/2019 13:03:30
182+
on-line since 04/20/2019 17:38:56.
183+
The sparcv9 processor operates at 3600 MHz,
184+
and has a sparcv9 floating point processor.
185+
Status of virtual processor 46 as of: 06/15/2019 13:03:30
186+
on-line since 04/20/2019 17:38:56.
187+
The sparcv9 processor operates at 3600 MHz,
188+
and has a sparcv9 floating point processor.
189+
Status of virtual processor 47 as of: 06/15/2019 13:03:30
190+
on-line since 04/20/2019 17:38:56.
191+
The sparcv9 processor operates at 3600 MHz,
192+
and has a sparcv9 floating point processor.
193+
Status of virtual processor 48 as of: 06/15/2019 13:03:30
194+
on-line since 04/20/2019 17:38:56.
195+
The sparcv9 processor operates at 3600 MHz,
196+
and has a sparcv9 floating point processor.
197+
Status of virtual processor 49 as of: 06/15/2019 13:03:30
198+
on-line since 04/20/2019 17:38:56.
199+
The sparcv9 processor operates at 3600 MHz,
200+
and has a sparcv9 floating point processor.
201+
Status of virtual processor 50 as of: 06/15/2019 13:03:30
202+
on-line since 04/20/2019 17:38:56.
203+
The sparcv9 processor operates at 3600 MHz,
204+
and has a sparcv9 floating point processor.
205+
Status of virtual processor 51 as of: 06/15/2019 13:03:30
206+
on-line since 04/20/2019 17:38:56.
207+
The sparcv9 processor operates at 3600 MHz,
208+
and has a sparcv9 floating point processor.
209+
Status of virtual processor 52 as of: 06/15/2019 13:03:30
210+
on-line since 04/20/2019 17:38:56.
211+
The sparcv9 processor operates at 3600 MHz,
212+
and has a sparcv9 floating point processor.
213+
Status of virtual processor 53 as of: 06/15/2019 13:03:30
214+
on-line since 04/20/2019 17:38:56.
215+
The sparcv9 processor operates at 3600 MHz,
216+
and has a sparcv9 floating point processor.
217+
Status of virtual processor 54 as of: 06/15/2019 13:03:30
218+
on-line since 04/20/2019 17:38:56.
219+
The sparcv9 processor operates at 3600 MHz,
220+
and has a sparcv9 floating point processor.
221+
Status of virtual processor 55 as of: 06/15/2019 13:03:30
222+
on-line since 04/20/2019 17:38:56.
223+
The sparcv9 processor operates at 3600 MHz,
224+
and has a sparcv9 floating point processor.
225+
Status of virtual processor 56 as of: 06/15/2019 13:03:30
226+
on-line since 04/20/2019 17:38:56.
227+
The sparcv9 processor operates at 3600 MHz,
228+
and has a sparcv9 floating point processor.
229+
Status of virtual processor 57 as of: 06/15/2019 13:03:30
230+
on-line since 04/20/2019 17:38:56.
231+
The sparcv9 processor operates at 3600 MHz,
232+
and has a sparcv9 floating point processor.
233+
Status of virtual processor 58 as of: 06/15/2019 13:03:30
234+
on-line since 04/20/2019 17:38:56.
235+
The sparcv9 processor operates at 3600 MHz,
236+
and has a sparcv9 floating point processor.
237+
Status of virtual processor 59 as of: 06/15/2019 13:03:30
238+
on-line since 04/20/2019 17:38:56.
239+
The sparcv9 processor operates at 3600 MHz,
240+
and has a sparcv9 floating point processor.
241+
Status of virtual processor 60 as of: 06/15/2019 13:03:30
242+
on-line since 04/20/2019 17:38:56.
243+
The sparcv9 processor operates at 3600 MHz,
244+
and has a sparcv9 floating point processor.
245+
Status of virtual processor 61 as of: 06/15/2019 13:03:30
246+
on-line since 04/20/2019 17:38:56.
247+
The sparcv9 processor operates at 3600 MHz,
248+
and has a sparcv9 floating point processor.
249+
Status of virtual processor 62 as of: 06/15/2019 13:03:30
250+
on-line since 04/20/2019 17:38:56.
251+
The sparcv9 processor operates at 3600 MHz,
252+
and has a sparcv9 floating point processor.
253+
Status of virtual processor 63 as of: 06/15/2019 13:03:30
254+
on-line since 04/20/2019 17:38:56.
255+
The sparcv9 processor operates at 3600 MHz,
256+
and has a sparcv9 floating point processor.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The physical processor has 64 virtual processors (0-63)
2+
SPARC-T5 (chipid 0, clock 3600 MHz)

t/tasks/inventory/solaris/cpu.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ my %vpcu_tests = (
3131
_map(4, { speed => '900', type => 'sparcv9' }) ,
3232
_map(8, { speed => '1350', type => 'sparcv9' }) ,
3333
],
34+
'sparc-t5' => [ _map(64, { speed => '3600', type => 'sparcv9' }) ],
3435
);
3536

3637
my %pcpu_tests = (
@@ -74,6 +75,9 @@ my %pcpu_tests = (
7475
_map(8, { speed => '1350', type => 'UltraSPARC-IV' , count => 2 }),
7576
_map(4, { speed => '900', type => 'UltraSPARC-III+', count => 1 }),
7677
],
78+
'sparc-t5' => [
79+
_map(1, { speed => '3600', type => 'SPARC-T5', count => 64 })
80+
],
7781
);
7882

7983
my %cpu_tests = (

0 commit comments

Comments
 (0)