07c6e422c1
Scheduler: LAPIC timer calibration, TSC-deadline mode, work-stealing load balancer, RT scheduling class, per-CPU nr_running counter. Direct tick routing via vector 48. ACPI: S3/S4 sleep states with full AML sequence (_PTS/_GTS/_BFS/_WAK), NVS save/restore, EC driver hardening, panic-grade behavior removed. Drivers: 5 driver mains at zero unwrap, 12 new modules across storage, network, and audio subsystems. AHCI NCQ/PM/TRIM, e1000 ITR/checksum/TSO, rtl8169 PHY config, HDA codec/jack detection. cpufreqd: Replaced 26-line stub with 5-governor implementation including ACPI P-state reading, MSR control, thermal throttle, and error suppression. thermald: Fan control module with speed curves and emergency mode. Docs: IMPLEMENTATION-MASTER-PLAN.md, CPU-DMA-IRQ-MSI-SCHEDULER-FIX-PLAN.md. 30 stale docs archived. 3 superseded plans archived. Patches: P5-named-semaphores (relibc), P6-driver fixes (base), P7-scheduler (kernel), P6-cpufreqd (local).
27 lines
1.3 KiB
TOML
27 lines
1.3 KiB
TOML
# Consolidated patch: all Red Bear kernel changes (P0-P10) in a single file.
|
|
# Individual patches preserved in local/patches/kernel/ for reference/rebase.
|
|
# The consolidated patch was generated from applying: redox(no-op), P0-canary,
|
|
# P1-memory-map-overflow, P4-supplementary-groups, P4-s3-suspend-resume,
|
|
# P4-scheme-failure-modes, P5-sched-rt-policy, P5-scheme-sched-id,
|
|
# P5-context-mod-sched, P6-percpu-runqueues, P6-futex-sharding,
|
|
# P8-initial-placement, P9-proc-lock-ordering, P9-numa-topology,
|
|
# P1-boot-path-diagnostics, P10-debug-scheme-serial-fix.
|
|
# Patches that were cumulative supersets (P5-sched-policy-context, P5-proc-setschedpolicy,
|
|
# P5-boot-path-hardening, P6-vruntime-*, P7-cache-affine-*, P7-proc-setname,
|
|
# P7-proc-setpriority, P8-futex-requeue, P8-futex-pi, P8-futex-robust,
|
|
# P8-percpu-wiring, P8-percpu-sched, P8-load-balance, P8-work-stealing,
|
|
# P9-futex-pi-cas-fix) failed to apply at commit 866dfad0 due to
|
|
# context conflicts and are deferred until rebase.
|
|
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/kernel.git"
|
|
rev = "866dfad0"
|
|
patches = ["../../../local/patches/kernel/redbear-consolidated.patch", "../../../local/patches/kernel/P7-scheduler-improvements.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
make -f ${COOKBOOK_SOURCE}/Makefile
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/lib/boot"
|
|
cp -v kernel "${COOKBOOK_STAGE}/usr/lib/boot"
|
|
"""
|