|
60 | 60 | PPC_FEATURE2_ISEL | PPC_FEATURE2_TAR | \
|
61 | 61 | PPC_FEATURE2_VEC_CRYPTO)
|
62 | 62 |
|
| 63 | +#define COMMON_USER_POWER11 COMMON_USER_POWER10 |
| 64 | +#define COMMON_USER2_POWER11 COMMON_USER2_POWER10 |
| 65 | + |
63 | 66 | static struct cpu_spec cpu_specs[] __initdata = {
|
64 | 67 | { /* PPC970 */
|
65 | 68 | .pvr_mask = 0xffff0000,
|
@@ -281,6 +284,20 @@ static struct cpu_spec cpu_specs[] __initdata = {
|
281 | 284 | .cpu_restore = __restore_cpu_power10,
|
282 | 285 | .platform = "power10",
|
283 | 286 | },
|
| 287 | + { /* 3.1-compliant processor, i.e. Power11 "architected" mode */ |
| 288 | + .pvr_mask = 0xffffffff, |
| 289 | + .pvr_value = 0x0f000007, |
| 290 | + .cpu_name = "Power11 (architected)", |
| 291 | + .cpu_features = CPU_FTRS_POWER11, |
| 292 | + .cpu_user_features = COMMON_USER_POWER11, |
| 293 | + .cpu_user_features2 = COMMON_USER2_POWER11, |
| 294 | + .mmu_features = MMU_FTRS_POWER11, |
| 295 | + .icache_bsize = 128, |
| 296 | + .dcache_bsize = 128, |
| 297 | + .cpu_setup = __setup_cpu_power10, |
| 298 | + .cpu_restore = __restore_cpu_power10, |
| 299 | + .platform = "power11", |
| 300 | + }, |
284 | 301 | { /* Power7 */
|
285 | 302 | .pvr_mask = 0xffff0000,
|
286 | 303 | .pvr_value = 0x003f0000,
|
@@ -451,6 +468,23 @@ static struct cpu_spec cpu_specs[] __initdata = {
|
451 | 468 | .machine_check_early = __machine_check_early_realmode_p10,
|
452 | 469 | .platform = "power10",
|
453 | 470 | },
|
| 471 | + { /* Power11 */ |
| 472 | + .pvr_mask = 0xffff0000, |
| 473 | + .pvr_value = 0x00820000, |
| 474 | + .cpu_name = "Power11 (raw)", |
| 475 | + .cpu_features = CPU_FTRS_POWER11, |
| 476 | + .cpu_user_features = COMMON_USER_POWER11, |
| 477 | + .cpu_user_features2 = COMMON_USER2_POWER11, |
| 478 | + .mmu_features = MMU_FTRS_POWER11, |
| 479 | + .icache_bsize = 128, |
| 480 | + .dcache_bsize = 128, |
| 481 | + .num_pmcs = 6, |
| 482 | + .pmc_type = PPC_PMC_IBM, |
| 483 | + .cpu_setup = __setup_cpu_power10, |
| 484 | + .cpu_restore = __restore_cpu_power10, |
| 485 | + .machine_check_early = __machine_check_early_realmode_p10, |
| 486 | + .platform = "power11", |
| 487 | + }, |
454 | 488 | { /* Cell Broadband Engine */
|
455 | 489 | .pvr_mask = 0xffff0000,
|
456 | 490 | .pvr_value = 0x00700000,
|
|
0 commit comments