Commit a9e869e
Mete Durlu
s390/cio: rework channel-utilization-block handling
JIRA: https://issues.redhat.com/browse/RHEL-50790
commit a817d98
Author: Peter Oberparleiter <oberpar@linux.ibm.com>
Date: Tue Mar 26 17:03:20 2024 +0100
s390/cio: rework channel-utilization-block handling
Convert channel-utilization-block (CUB) address variables from separate
named fields to arrays of addresses. Also simplify error handling and
introduce named constants. This is done in preparation of introducing
additional CUBs.
Note: With this change the __packed annotation of secm_area is required
to prevent an alignment hole that would otherwise occur due to the
switch from u32 to dma64_t.
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 6c0c626 commit a9e869e
3 files changed
+49
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
| 863 | + | |
867 | 864 | | |
868 | 865 | | |
869 | 866 | | |
870 | 867 | | |
871 | 868 | | |
872 | 869 | | |
873 | | - | |
| 870 | + | |
874 | 871 | | |
875 | | - | |
| 872 | + | |
876 | 873 | | |
877 | 874 | | |
878 | 875 | | |
| |||
881 | 878 | | |
882 | 879 | | |
883 | 880 | | |
884 | | - | |
885 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
886 | 884 | | |
887 | 885 | | |
888 | 886 | | |
| |||
908 | 906 | | |
909 | 907 | | |
910 | 908 | | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
911 | 932 | | |
912 | 933 | | |
913 | 934 | | |
914 | 935 | | |
915 | 936 | | |
916 | 937 | | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
924 | 941 | | |
925 | 942 | | |
926 | 943 | | |
| |||
934 | 951 | | |
935 | 952 | | |
936 | 953 | | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
941 | 959 | | |
942 | 960 | | |
943 | 961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| |||
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
125 | | - | |
126 | | - | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| |||
0 commit comments