Commit fd6db28
powerpc/xive: Modernize XIVE-IPI domain with an 'alloc' handler
Instead of calling irq_create_mapping() to map the IPI for a node,
introduce an 'alloc' handler. This is usually an extension to support
hierarchy irq_domains which is not exactly the case for XIVE-IPI
domain. However, we can now use the irq_domain_alloc_irqs() routine
which allocates the IRQ descriptor on the specified node, even better
for cache performance on multi node machines.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210331144514.892250-10-clg@kaod.org1 parent 7dcc37b commit fd6db28
1 file changed
+19
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | | - | |
1106 | | - | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
1107 | 1111 | | |
1108 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1109 | 1120 | | |
1110 | 1121 | | |
1111 | 1122 | | |
1112 | 1123 | | |
1113 | | - | |
| 1124 | + | |
1114 | 1125 | | |
1115 | 1126 | | |
1116 | 1127 | | |
| |||
1135 | 1146 | | |
1136 | 1147 | | |
1137 | 1148 | | |
1138 | | - | |
| 1149 | + | |
1139 | 1150 | | |
1140 | 1151 | | |
1141 | 1152 | | |
| |||
1146 | 1157 | | |
1147 | 1158 | | |
1148 | 1159 | | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1152 | 1163 | | |
1153 | 1164 | | |
1154 | 1165 | | |
| |||
0 commit comments