powerpc.c (aa04b4cc5be64b4fb9ef4e0fdf2418e2f4737fb2) | powerpc.c (9e368f2915601cd5bc7f5fd638b58435b018bbd7) |
---|---|
1/* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License, version 2, as 4 * published by the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- 199 unchanged lines hidden (view full) --- 208 case KVM_CAP_SPAPR_TCE: 209 r = 1; 210 break; 211 case KVM_CAP_PPC_SMT: 212 r = threads_per_core; 213 break; 214 case KVM_CAP_PPC_RMA: 215 r = 1; | 1/* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License, version 2, as 4 * published by the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- 199 unchanged lines hidden (view full) --- 208 case KVM_CAP_SPAPR_TCE: 209 r = 1; 210 break; 211 case KVM_CAP_PPC_SMT: 212 r = threads_per_core; 213 break; 214 case KVM_CAP_PPC_RMA: 215 r = 1; |
216 /* PPC970 requires an RMA */ 217 if (cpu_has_feature(CPU_FTR_ARCH_201)) 218 r = 2; |
|
216 break; 217#endif 218 default: 219 r = 0; 220 break; 221 } 222 return r; 223 --- 483 unchanged lines hidden --- | 219 break; 220#endif 221 default: 222 r = 0; 223 break; 224 } 225 return r; 226 --- 483 unchanged lines hidden --- |