Commit 0f987e6
s390/cio: export CHPID operating speed
Add a per-CHPID sysfs attribute named "speed_bps" that provides the
operating speed of the associated channel path in bits per second,
or 0 if the operating speed is not available.
Example:
$ cat /sys/devices/css0/chp0.32/speed_bps
32G
Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>1 parent 5e6bb10 commit 0f987e6
3 files changed
+49
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
395 | 424 | | |
396 | 425 | | |
397 | 426 | | |
| |||
423 | 452 | | |
424 | 453 | | |
425 | 454 | | |
| 455 | + | |
426 | 456 | | |
427 | 457 | | |
428 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1069 | 1081 | | |
1070 | 1082 | | |
1071 | 1083 | | |
| |||
1086 | 1098 | | |
1087 | 1099 | | |
1088 | 1100 | | |
1089 | | - | |
| 1101 | + | |
| 1102 | + | |
1090 | 1103 | | |
1091 | 1104 | | |
1092 | | - | |
| 1105 | + | |
| 1106 | + | |
1093 | 1107 | | |
1094 | 1108 | | |
1095 | 1109 | | |
1096 | 1110 | | |
1097 | 1111 | | |
1098 | 1112 | | |
| 1113 | + | |
1099 | 1114 | | |
1100 | 1115 | | |
1101 | 1116 | | |
| |||
1126 | 1141 | | |
1127 | 1142 | | |
1128 | 1143 | | |
| 1144 | + | |
1129 | 1145 | | |
1130 | 1146 | | |
1131 | 1147 | | |
| |||
0 commit comments