Skip to content

Commit d79f08d

Browse files
committed
Rebuild rocky8_10 with kernel-4.18.0-553.87.1.el8_10
Rebuild_History BUILDABLE Rebuilding Kernel from rpm changelog with Fuzz Limit: 87.50% Number of commits in upstream range v4.18~1..kernel-mainline: 581414 Number of commits in rpm: 21 Number of commits matched with upstream: 14 (66.67%) Number of commits in upstream but not in rpm: 581400 Number of commits NOT found in upstream: 7 (33.33%) Rebuilding Kernel on Branch rocky8_10_rebuild_kernel-4.18.0-553.87.1.el8_10 for kernel-4.18.0-553.87.1.el8_10 Clean Cherry Picks: 10 (71.43%) Empty Cherry Picks: 4 (28.57%) _______________________________ Full Details Located here: ciq/ciq_backports/kernel-4.18.0-553.87.1.el8_10/rebuild.details.txt Includes: * git commit header above * Empty Commits with upstream SHA * RPM ChangeLog Entries that could not be matched Individual Empty Commit failures contained in the same containing directory. The git message for empty commits will have the path for the failed commit. File names are the first 8 characters of the upstream SHA
1 parent e9ac692 commit d79f08d

21 files changed

+49983
-9
lines changed

Makefile.rhelver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RHEL_MINOR = 10
1212
#
1313
# Use this spot to avoid future merge conflicts.
1414
# Do not trim this comment.
15-
RHEL_RELEASE = 553.85.1
15+
RHEL_RELEASE = 553.87.1
1616

1717
#
1818
# ZSTREAM

arch/powerpc/include/asm/cputable.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ static inline void cpu_feature_keys_init(void) { }
486486
CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_ARCH_207S | \
487487
CPU_FTR_ARCH_300 | CPU_FTR_PKEY | \
488488
CPU_FTR_ARCH_31 | CPU_FTR_DAWR | CPU_FTR_DAWR1)
489+
490+
#define CPU_FTRS_POWER11 CPU_FTRS_POWER10
491+
489492
#define CPU_FTRS_CELL (CPU_FTR_LWSYNC | \
490493
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
491494
CPU_FTR_ALTIVEC_COMP | CPU_FTR_MMCRA | CPU_FTR_SMT | \

arch/powerpc/include/asm/mmu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
#define MMU_FTRS_POWER8 MMU_FTRS_POWER6
126126
#define MMU_FTRS_POWER9 MMU_FTRS_POWER6
127127
#define MMU_FTRS_POWER10 MMU_FTRS_POWER6
128+
#define MMU_FTRS_POWER11 MMU_FTRS_POWER6
128129
#define MMU_FTRS_CELL MMU_FTRS_DEFAULT_HPTE_ARCH_V2 | \
129130
MMU_FTR_CI_LARGE_PAGE
130131
#define MMU_FTRS_PA6T MMU_FTRS_DEFAULT_HPTE_ARCH_V2 | \

arch/powerpc/include/asm/reg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,7 @@
13461346
#define PVR_POWER8 0x004D
13471347
#define PVR_POWER9 0x004E
13481348
#define PVR_POWER10 0x0080
1349+
#define PVR_POWER11 0x0082
13491350
#define PVR_BE 0x0070
13501351
#define PVR_PA6T 0x0090
13511352

@@ -1357,6 +1358,7 @@
13571358
#define PVR_ARCH_207 0x0f000004
13581359
#define PVR_ARCH_300 0x0f000005
13591360
#define PVR_ARCH_31 0x0f000006
1361+
#define PVR_ARCH_31_P11 0x0f000007
13601362

13611363
/* Macros for setting and retrieving special purpose registers */
13621364
#ifndef __ASSEMBLY__

arch/powerpc/kernel/cputable.c

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ extern void __restore_cpu_e6500(void);
130130
PPC_FEATURE2_ISEL | PPC_FEATURE2_TAR | \
131131
PPC_FEATURE2_VEC_CRYPTO)
132132

133+
#define COMMON_USER_POWER11 COMMON_USER_POWER10
134+
#define COMMON_USER2_POWER11 COMMON_USER2_POWER10
135+
136+
133137
#ifdef CONFIG_PPC_BOOK3E_64
134138
#define COMMON_USER_BOOKE (COMMON_USER_PPC64 | PPC_FEATURE_BOOKE)
135139
#else
@@ -393,6 +397,20 @@ static struct cpu_spec __initdata cpu_specs[] = {
393397
.cpu_restore = __restore_cpu_power10,
394398
.platform = "power10",
395399
},
400+
{ /* 3.1-compliant processor, i.e. Power11 "architected" mode */
401+
.pvr_mask = 0xffffffff,
402+
.pvr_value = 0x0f000007,
403+
.cpu_name = "Power11 (architected)",
404+
.cpu_features = CPU_FTRS_POWER11,
405+
.cpu_user_features = COMMON_USER_POWER11,
406+
.cpu_user_features2 = COMMON_USER2_POWER11,
407+
.mmu_features = MMU_FTRS_POWER11,
408+
.icache_bsize = 128,
409+
.dcache_bsize = 128,
410+
.cpu_setup = __setup_cpu_power10,
411+
.cpu_restore = __restore_cpu_power10,
412+
.platform = "power11",
413+
},
396414
{ /* Power7 */
397415
.pvr_mask = 0xffff0000,
398416
.pvr_value = 0x003f0000,
@@ -583,6 +601,23 @@ static struct cpu_spec __initdata cpu_specs[] = {
583601
.machine_check_early = __machine_check_early_realmode_p10,
584602
.platform = "power10",
585603
},
604+
{ /* Power11 */
605+
.pvr_mask = 0xffff0000,
606+
.pvr_value = 0x00820000,
607+
.cpu_name = "Power11 (raw)",
608+
.cpu_features = CPU_FTRS_POWER11,
609+
.cpu_user_features = COMMON_USER_POWER11,
610+
.cpu_user_features2 = COMMON_USER2_POWER11,
611+
.mmu_features = MMU_FTRS_POWER11,
612+
.icache_bsize = 128,
613+
.dcache_bsize = 128,
614+
.num_pmcs = 6,
615+
.pmc_type = PPC_PMC_IBM,
616+
.cpu_setup = __setup_cpu_power10,
617+
.cpu_restore = __restore_cpu_power10,
618+
.machine_check_early = __machine_check_early_realmode_p10,
619+
.platform = "power11",
620+
},
586621
{ /* Cell Broadband Engine */
587622
.pvr_mask = 0xffff0000,
588623
.pvr_value = 0x00700000,

arch/powerpc/kernel/dt_cpu_ftrs.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,14 @@ static int __init feat_enable_mce_power10(struct dt_cpu_feature *f)
484484
return 1;
485485
}
486486

487+
static int __init feat_enable_mce_power11(struct dt_cpu_feature *f)
488+
{
489+
cur_cpu_spec->platform = "power11";
490+
cur_cpu_spec->machine_check_early = __machine_check_early_realmode_p10;
491+
492+
return 1;
493+
}
494+
487495
static int __init feat_enable_tm(struct dt_cpu_feature *f)
488496
{
489497
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
@@ -673,8 +681,10 @@ static struct dt_cpu_feature_match __initdata
673681
{"pc-relative-addressing", feat_enable, 0},
674682
{"machine-check-power9", feat_enable_mce_power9, 0},
675683
{"machine-check-power10", feat_enable_mce_power10, 0},
684+
{"machine-check-power11", feat_enable_mce_power11, 0},
676685
{"performance-monitor-power9", feat_enable_pmu_power9, 0},
677686
{"performance-monitor-power10", feat_enable_pmu_power10, 0},
687+
{"performance-monitor-power11", feat_enable_pmu_power10, 0},
678688
{"event-based-branch-v3", feat_enable, 0},
679689
{"random-number-generator", feat_enable, 0},
680690
{"system-call-vectored", feat_disable, 0},

arch/powerpc/kernel/prom_init.c

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ static int __prombss mem_reserve_cnt;
219219
static cell_t __prombss regbuf[1024];
220220

221221
static bool __prombss rtas_has_query_cpu_stopped;
222+
static int __prombss enable_p11_val;
222223

223224

224225
/*
@@ -816,6 +817,15 @@ static void __init early_cmdline_parse(void)
816817
} else
817818
prom_radix_disable = true;
818819
}
820+
821+
opt = prom_strstr(prom_cmd_line, "enable_p11");
822+
if (opt) {
823+
opt += 12;
824+
enable_p11_val = 1;
825+
} else {
826+
enable_p11_val = 0;
827+
}
828+
819829
if (prom_radix_disable)
820830
prom_debug("Radix disabled from cmdline\n");
821831

@@ -922,7 +932,7 @@ struct option_vector6 {
922932
} __packed;
923933

924934
struct ibm_arch_vec {
925-
struct { u32 mask, val; } pvrs[14];
935+
struct { u32 mask, val; } pvrs[16];
926936

927937
u8 num_vectors;
928938

@@ -979,6 +989,14 @@ static const struct ibm_arch_vec ibm_architecture_vec_template __initconst = {
979989
.mask = cpu_to_be32(0xffff0000), /* POWER10 */
980990
.val = cpu_to_be32(0x00800000),
981991
},
992+
{
993+
.mask = cpu_to_be32(0xffff0000), /* POWER11 */
994+
.val = cpu_to_be32(0x00820000),
995+
},
996+
{
997+
.mask = cpu_to_be32(0xffffffff), /* P11 compliant */
998+
.val = cpu_to_be32(0x0f000007),
999+
},
9821000
{
9831001
.mask = cpu_to_be32(0xffffffff), /* all 3.1-compliant */
9841002
.val = cpu_to_be32(0x0f000006),
@@ -1308,10 +1326,19 @@ static void __init prom_check_platform_support(void)
13081326
};
13091327
int prop_len = prom_getproplen(prom.chosen,
13101328
"ibm,arch-vec-5-platform-support");
1329+
int i;
13111330

13121331
/* First copy the architecture vec template */
13131332
ibm_architecture_vec = ibm_architecture_vec_template;
13141333

1334+
if (!enable_p11_val) {
1335+
for (i=0;i<16; i++) {
1336+
if ((ibm_architecture_vec.pvrs[i].val == cpu_to_be32(0x0f000007)) ||
1337+
(ibm_architecture_vec.pvrs[i].val == cpu_to_be32(0x00820000)))
1338+
ibm_architecture_vec.pvrs[i].val = 0x0;
1339+
}
1340+
}
1341+
13151342
if (prop_len > 1) {
13161343
int i;
13171344
u8 vec[prop_len];

arch/powerpc/kvm/book3s_hv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ static int kvmppc_set_arch_compat(struct kvm_vcpu *vcpu, u32 arch_compat)
389389
guest_pcr_bit = PCR_ARCH_300;
390390
break;
391391
case PVR_ARCH_31:
392+
case PVR_ARCH_31_P11:
392393
guest_pcr_bit = PCR_ARCH_31;
393394
break;
394395
default:
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Rebuild_History BUILDABLE
2+
Rebuilding Kernel from rpm changelog with Fuzz Limit: 87.50%
3+
Number of commits in upstream range v4.18~1..kernel-mainline: 581414
4+
Number of commits in rpm: 21
5+
Number of commits matched with upstream: 14 (66.67%)
6+
Number of commits in upstream but not in rpm: 581400
7+
Number of commits NOT found in upstream: 7 (33.33%)
8+
9+
Rebuilding Kernel on Branch rocky8_10_rebuild_kernel-4.18.0-553.87.1.el8_10 for kernel-4.18.0-553.87.1.el8_10
10+
Clean Cherry Picks: 10 (71.43%)
11+
Empty Cherry Picks: 4 (28.57%)
12+
_______________________________
13+
14+
__EMPTY COMMITS__________________________
15+
c2ed087ed35ca569d8179924ba560be248c758e5 powerpc: Add Power11 architected and raw mode
16+
0af1561b2d60bab2a2b00720a5c7b292ecc549ec smb: client: fix race with concurrent opens in unlink(2)
17+
d84291fc7453df7881a970716f8256273aca5747 smb: client: fix race with concurrent opens in rename(2)
18+
d613f53c83ec47089c4e25859d5e8e0359f6f8da mm/memory-failure: fix VM_BUG_ON_PAGE(PagePoisoned(page)) when unpoison memory
19+
20+
__CHANGES NOT IN UPSTREAM________________
21+
Adding prod certs and changed cert date to 20210620
22+
Adding Rocky secure boot certs
23+
Fixing vmlinuz removal
24+
Fixing UEFI CA path
25+
Porting to 8.10, debranding and Rocky branding
26+
Fixing pesign_key_name values
27+
arch/powerpc: commandline option to enable P11 support

0 commit comments

Comments
 (0)