Skip to content

Commit

Permalink
Merge pull request #477 from Jovian-Experiments/611
Browse files Browse the repository at this point in the history
linux-jovian: 6.8.12-valve -> 6.11.11-valve4
  • Loading branch information
K900 authored Feb 13, 2025
2 parents 3dab95e + 625fb24 commit a82ec19
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
26 changes: 16 additions & 10 deletions pkgs/linux-jovian/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
let
inherit (lib) versions;

kernelVersion = "6.8.12";
vendorVersion = "valve12-jovian1";
hash = "sha256-W8/DzuIGRpzcHCN+qiH8GZB6Z3eZqONvN++e9bcg7wA=";
kernelVersion = "6.11.11";
vendorVersion = "valve4";
hash = "sha256-XElnjNEbjqCQiK9GPdlMk8y4O4XAn+UCkEle4sT979w=";
in
buildLinux (args // rec {
version = "${kernelVersion}-${vendorVersion}";
Expand Down Expand Up @@ -111,12 +111,16 @@ buildLinux (args // rec {
# kernel as a guest, so this also clears out a whole bunch of
# virtualization-specific drivers.
HYPERVISOR_GUEST = lib.mkForce no;
PARAVIRT_TIME_ACCOUNTING = lib.mkForce (option no);

# Disable some options enabled in ArchLinux 6.1.12-arch1 config
X86_AMD_PSTATE = lib.mkForce no;
# Jovian: meh
# Jovian: actually ends up set in the final kernel
# X86_AMD_PSTATE = lib.mkForce no;
# Jovian: we don't enable this before 6.12
# CONFIG_HAVE_RUST=n

# This has been disabled upstream since 6.11.8-arch1
# See: https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/commit/1a06ca984333093fb12cbbff275da31fa2bc5f6c
ZSWAP_DEFAULT_ON = yes;

# Build as module to experiment with toggling
TCG_TPM = module;
Expand All @@ -135,18 +139,20 @@ buildLinux (args // rec {
SCHED_CLASS_EXT = yes;

# Disable call depth tracking speculative execution vulnerability mitigation
CALL_DEPTH_TRACKING = no;
# Jovian: renamed
MITIGATION_CALL_DEPTH_TRACKING = no;

# Jovian: fix fallout from the vendor-set options
DRM_AMD_DC_SI = lib.mkForce (option no);
DRM_AMD_DC_DCN = lib.mkForce (option no);
DRM_AMD_DC_HDCP = lib.mkForce (option no);
FB_HYPERV = lib.mkForce (option no);
DRM_AMD_DC_SI = lib.mkForce (option no);
DRM_HYPERV = lib.mkForce (option no);
DRM_VMWGFX_FBCON = lib.mkForce (option no);
FB_HYPERV = lib.mkForce (option no);
INTEL_TDX_GUEST = lib.mkForce (option no);
KVM_GUEST = lib.mkForce (option no);
MOUSE_PS2_VMMOUSE = lib.mkForce (option no);
INTEL_TDX_GUEST = lib.mkForce (option no);
PARAVIRT_TIME_ACCOUNTING = lib.mkForce (option no);
TDX_GUEST_DRIVER = lib.mkForce (option no);
};

Expand Down
8 changes: 4 additions & 4 deletions support/manifest/mappings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ linux-neptune-65.ignore = true
linux-neptune-65-kasan.ignore = true
linux-neptune-rtw-debug.ignore = true

# new kernel
linux-neptune-68 = { map = "linux_jovian", pkgrel = 1 }
# old kernel
linux-neptune-68.ignore = true

# very new kernel
linux-neptune-611.ignore = true
# new kernel
linux-neptune-611.ignore = { map = "linux_jovian", pkgrel = 1 }

# we don't identify as SteamOS
lsb-release.ignore = true
Expand Down

0 comments on commit a82ec19

Please sign in to comment.