Commit a817d98
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>1 parent d35c34b commit a817d98
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 | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
| 877 | + | |
881 | 878 | | |
882 | 879 | | |
883 | 880 | | |
884 | 881 | | |
885 | 882 | | |
886 | 883 | | |
887 | | - | |
| 884 | + | |
888 | 885 | | |
889 | | - | |
| 886 | + | |
890 | 887 | | |
891 | 888 | | |
892 | 889 | | |
| |||
895 | 892 | | |
896 | 893 | | |
897 | 894 | | |
898 | | - | |
899 | | - | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
900 | 898 | | |
901 | 899 | | |
902 | 900 | | |
| |||
922 | 920 | | |
923 | 921 | | |
924 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
925 | 946 | | |
926 | 947 | | |
927 | 948 | | |
928 | 949 | | |
929 | 950 | | |
930 | 951 | | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
938 | 955 | | |
939 | 956 | | |
940 | 957 | | |
| |||
948 | 965 | | |
949 | 966 | | |
950 | 967 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
955 | 973 | | |
956 | 974 | | |
957 | 975 | | |
| |||
| 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