Skip to content

Commit 587c135

Browse files
committed
arm64-64k: Add new kernel variant to RHEL9/CS9 for 64K page-size'd ARM64
Modifications to spec file generation files for arm64 64K pagesize kernel; add 64k variant CONFIG files. Modelled after expected changes for RT variant in RHEL-9.3. Added lua macro to kernel.spec.template that was provided by kmaint team (Herton), and tested in updated RT variant MR for 9.3. Todo: Update ARK kernel so upstream-based kernel comparisons can be done. Testing: 1) Simple boot testing on Ampere-based, Mt. Snow server 2) Forced crash dump via sysfs to ensure kexec, kdump & crash all work. 3) Compared .config files btwn -64k and existing (-4k) aarch64 to ensure only page-size-related changes in the configs. 4) Checked build.log of brew'd kernel rpms to verify signature file usage for each respective kernel variant: std, -debug, -64k, -64k-debug. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2153073 Upstream Status: RHEL only Signed-off-by: Donald Dutile <ddutile@redhat.com>
1 parent e02e5f5 commit 587c135

File tree

12 files changed

+138
-32
lines changed

12 files changed

+138
-32
lines changed

redhat/configs/common/debug/arm/aarch64/64k/README

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_ARM64_4K_PAGES is not set
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ARM64_64K_PAGES=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_ARM64_PA_BITS_48 is not set
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ARM64_PA_BITS_52=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_ARM64_VA_BITS_42 is not set
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ARM64_VA_BITS_48=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_ARM64_VA_BITS_52 is not set
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This relies on an out of tree patch to arch/arm64/Kconfig
2+
# Otherwise, we would be stuck with a default of 11
3+
CONFIG_FORCE_MAX_ZONEORDER=14

redhat/configs/priority.common

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ s390x-zfcpdump=generic:generic-s390x:generic-s390x-zfcpdump
1616
# aarch64
1717
aarch64=generic:generic-arm:generic-arm-aarch64
1818
aarch64-debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm-aarch64
19+
aarch64-64k=generic:generic-arm:generic-arm-aarch64:generic-arm-aarch64-64k
20+
aarch64-64k-debug=generic:generic-arm:generic-arm-aarch64:generic-arm-aarch64-64k:debug:debug-arm-aarch64:debug-arm-aarch64-64k
1921

2022
# arm
2123
armv7hl=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-armv7

0 commit comments

Comments
 (0)