Commit dad607f
Mete Durlu
s390/cio: export CHPID operating speed
JIRA: https://issues.redhat.com/browse/RHEL-50790
commit 0f987e6
Author: Peter Oberparleiter <oberpar@linux.ibm.com>
Date: Tue Mar 26 17:03:24 2024 +0100
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>
Signed-off-by: Mete Durlu <mdurlu@redhat.com>1 parent 47d3613 commit dad607f
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 | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1055 | 1067 | | |
1056 | 1068 | | |
1057 | 1069 | | |
| |||
1072 | 1084 | | |
1073 | 1085 | | |
1074 | 1086 | | |
1075 | | - | |
| 1087 | + | |
| 1088 | + | |
1076 | 1089 | | |
1077 | 1090 | | |
1078 | | - | |
| 1091 | + | |
| 1092 | + | |
1079 | 1093 | | |
1080 | 1094 | | |
1081 | 1095 | | |
1082 | 1096 | | |
1083 | 1097 | | |
1084 | 1098 | | |
| 1099 | + | |
1085 | 1100 | | |
1086 | 1101 | | |
1087 | 1102 | | |
| |||
1112 | 1127 | | |
1113 | 1128 | | |
1114 | 1129 | | |
| 1130 | + | |
1115 | 1131 | | |
1116 | 1132 | | |
1117 | 1133 | | |
| |||
0 commit comments