Repository navigation
kernel-aurora: configure with the kernel's aurora_defconfig - #426
RyanTheTide wants to merge 1 commit into
Conversation
The kernel source now carries the one configuration every Aurora build uses (aurora-silicon/linux#2292): make aurora_defconfig merges asahi.config over arch/arm64/configs/aurora-base.config. Use it as is and drop the packaged base (config) and the SELinux overlay (fedora.config); SELinux and the deferred fbcon takeover are in the shared base. The build still checks that every request of both fragments survives resolution. The resolved options change from this package's previous base: KASLR, FORTIFY_SOURCE, hardened usercopy, zero-initialised stacks, unprivileged BPF off and USERFAULTFD are now on, and the kernel is the one the fleet tests on hardware. Needs a kernel pin that includes linux#2292; land it with that pin bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Blockers: 3.
Also check the full diff, not only the listed options: the shared base adds HW row: the packaged kernel-aurora RPM built from the bumped pin, installed via dnf and booted on default cmdline on the Neo (T8140), M1 Pro (T6000), M2 (T8112) and J616s (T6041): 0 failed units, 0 AVC, no new kernel errors vs the current package, and Assisted-by: LLM (Claude:Opus 5.5) |
|
The kernel change this depends on, aurora-silicon/linux#2292, was closed and replaced by aurora-silicon/linux#2803 (still a draft), so the dependency, the land-together pin and the option diff in the description need to point at that one. The three earlier blockers still stand at df11ce2: re-commit on a replacement branch with a human Signed-off-by only (no Co-Authored-By), #2803 still sets CONFIG_TYPEC_TPS6598X_DEBUG_COMMANDS=y (asahi.config:191) and CONFIG_KGDB/CONFIG_KGDB_TESTS (aurora-base.config:5504-5505), and the rpm (44/45, kernel-aurora) jobs now fail at the 9125b314 pin until it is bumped to a kernel carrying #2803. |
|
Closing. The kernel-side change this was built for landed differently: aurora-silicon/linux#3064 put Config diff at the current pin (linux 1675a623, kernel-aurora 7.3.0-53), LLVM=1 olddefconfig on both sides: packaged If the distro kernel should move to |
kernel-aurora now configures the kernel with the kernel source's own
make aurora_defconfig(aurora-silicon/linux#2292). The packaged base (packages/kernel-aurora/config, 9,317 lines) and the SELinux overlay (fedora.config) are removed. SELinux and the deferred fbcon takeover are in the shared base.%build:make LLVM=1 ... aurora_defconfig, thenvalidate-config.py aurora-base.config asahi.config .config. Thescripts/configline is gone because LOCALVERSION, LOCALVERSION_AUTO and the trusted/revocation keys already have those values in the shared config. The release name still comes frommake LOCALVERSION=.config. The options they checked (USB4_APPLE_SOC,ARM64_CTXR_EXECMEM) come from the kernel's asahi.config, and the build validates them.test_kernel_confignow requires the spec to useaurora_defconfigand to carry no base, overlay orscripts/config.Option changes compared with this package's previous resolution (same source 0abc2f385e54): KASLR, FORTIFY_SOURCE, hardened usercopy,
INIT_STACK_ALL_ZERO,LEGACY_TIOCSTIoff, unprivileged BPF off,USERFAULTFD, strict IOMMU,PREEMPT_LAZYinstead of fullPREEMPT,TYPEC_TPS6598X_DEBUG_COMMANDS=y, and the fleet's wider module set. The full per-option table is in the linux PR.python3 -m pytest tests/: 444 passed. A real RPM build was not run, because the spec only works with a kernel pin that hasaurora_defconfig.Order: depends on aurora-silicon/linux#2292. Land it together with the first kernel-aurora pin bump that includes #2292; this PR does not change the pin. alarm-aurora and nixos-aurora get the same change.
CI: the kernel-aurora package build fails on this PR until the pin includes linux#2292, because the pinned kernel source has no
aurora_defconfigtarget yet. That is expected; it goes green with the pin bump this PR lands with. The same config was built and booted from the kernel side as 7.3.0-aurora-sweepk2 on a MacBook Neo (T8140), J616s (T6040), M1 Pro (T6000) and M2 (T8112); see linux#2292.