Commit Graph

10397 Commits

Author SHA1 Message Date
zowoq
1f154903b3 linux_7_1: 7.1 -> 7.1.1
(cherry picked from commit 5e94245951)
2026-06-24 10:56:55 +02:00
Vladimír Čunát
6e628a4f79 Revert "staging-nixos merge for 2026-06-19" 2026-06-24 10:55:53 +02:00
zowoq
ddc150cf4f buildLinux: Forward buildDTBs and target arguments (#533947) 2026-06-21 23:19:20 +00:00
Will Fancher
226f8c7618 buildLinux: Forward buildDTBs and target arguments
Fixes #533937
2026-06-21 11:46:27 -04:00
zowoq
46b89aa958 linux_5_10: 5.10.258 -> 5.10.259 2026-06-19 12:18:02 +00:00
zowoq
f280904416 linux_5_15: 5.15.209 -> 5.15.210 2026-06-19 12:18:01 +00:00
zowoq
783e466ec0 linux_6_1: 6.1.175 -> 6.1.176 2026-06-19 12:17:59 +00:00
zowoq
4a7bb41c66 linux_6_6: 6.6.142 -> 6.6.143 2026-06-19 12:17:57 +00:00
zowoq
d2adc61ca5 linux_6_12: 6.12.93 -> 6.12.94 2026-06-19 12:17:55 +00:00
zowoq
41efd6153a linux_6_18: 6.18.35 -> 6.18.36 2026-06-19 12:17:53 +00:00
zowoq
c72e58ac6a linux_7_0: 7.0.12 -> 7.0.13 2026-06-19 12:17:51 +00:00
zowoq
5e94245951 linux_7_1: 7.1 -> 7.1.1 2026-06-19 12:17:48 +00:00
K900
fe36669082 linux_7_1: init at 7.1 2026-06-14 21:04:08 +03:00
K900
143dd2e587 linux/common-config: adjust preempt settings to avoid conflicts
The only difference on all vanilla kernels across {aarch64,x86_64}-linux
is that aarch64-linux 6.18 gets PREEMPT_LAZY consistently.
2026-06-14 14:20:40 +03:00
K900
09476e6bdd linux/generate-config: disallow conflicting answers on choice questions
These are order dependent and also wrong and bad and no.
2026-06-14 14:20:40 +03:00
R. Ryantm
6c26c1e13d linux_zen: 7.0.11 -> 7.0.12 2026-06-11 13:37:52 +00:00
Alyssa Ross
2d18606282 lib/systems: move kernel configuration out of the platform structure (#530133) 2026-06-10 17:39:49 +00:00
Alyssa Ross
c47d498673 linux: Adjust config to allow booting of installer ISO on ppc64 (#486572) 2026-06-10 12:31:22 +00:00
Thiago Kenji Okada
0ce16bd881 linuxKernel.kernels.linux_zen: 7.0.10 -> 7.0.11 (#530218) 2026-06-10 08:51:11 +00:00
R. Ryantm
ea13c34f92 linuxKernel.kernels.linux_zen: 7.0.10 -> 7.0.11 2026-06-10 04:29:47 +00:00
Emily
31d1d80b3f lib/systems: move kernel configuration out of the platform structure
Currently, you need to override `stdenv.hostPlatform` to request a
compressed kernel on AArch64, and the kernel configuration is split
between the central structured configuration and string snippets in
platform definitions. This has consequently made the latter bitrot
terribly. Since the platform‐specific logic is now very limited after
cleaning up the detritus, we can move it into the kernel derivation
and expose the relevant configuration there for anyone who wants to
customize it further or needs to read it out.

Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2026-06-10 11:17:38 +10:00
eljamm
771def51e5 linux_xanmod_latest: 7.0.11 -> 7.0.12
- Changelog: https://dl.xanmod.org/changelog/7.0/ChangeLog-7.0.12-xanmod1.gz
- Diff: https://gitlab.com/xanmod/linux/-/compare/7.0.11-xanmod1..7.0.12-xanmod1?from_project_id=51590166
2026-06-09 17:58:45 +00:00
eljamm
c77f429a25 linux_xanmod: 6.18.34 -> 6.18.35
- Changelog: https://dl.xanmod.org/changelog/6.18/ChangeLog-6.18.35-xanmod1.gz
- Diff: https://gitlab.com/xanmod/linux/-/compare/6.18.34-xanmod1..6.18.35-xanmod1?from_project_id=51590166
2026-06-09 17:56:10 +00:00
zowoq
0088fcded6 linux_6_12: 6.12.92 -> 6.12.93 2026-06-09 10:56:50 +00:00
zowoq
4e8d7d7406 linux_6_18: 6.18.34 -> 6.18.35 2026-06-09 10:56:46 +00:00
zowoq
a53339212c linux_7_0: 7.0.11 -> 7.0.12 2026-06-09 10:56:43 +00:00
zowoq
b027095b14 linux_testing: 7.1-rc6 -> 7.1-rc7 2026-06-09 10:56:39 +00:00
K900
fb79b0f3f1 linux/common-config: move USB_XHCI_TEGRA from lib/systems aarch64-multiplatform (#529436) 2026-06-08 09:15:12 +00:00
zowoq
9497b712f6 linux/common-config: move USB_XHCI_TEGRA from lib/systems aarch64-multiplatform
Co-authored-by: Emily <vcs@emily.moe>
2026-06-08 18:05:35 +10:00
K900
017b52a61a linux/common-config: Use LIST_HARDENED instead on >= 6.6 (#529025) 2026-06-07 07:28:12 +00:00
dramforever
4df979114f linux/common-config: Use LIST_HARDENED instead on >= 6.6
According to the message in the patch that introduced LIST_HARDENED [1],
DEBUG_LIST was not optimized for performance in production and presents
a significant performance hit in hot paths in some workloads. Use the
new LIST_HARDENED option instead on >= 6.6 for better performance.

[1]: https://git.kernel.org/torvalds/c/aebc7b0d8d91bbc69e976909963046bc48bca4fd
2026-06-07 13:36:43 +08:00
Pratham Patel
32861fa28b linux/common-config: enable ARM_SMMU_V3_SVA on aarch64
This makes CUDA compute work with the GB10 platform on my ASUS Ascent
GX10. This wasn't enabled by `autoModules` because it is a boolean.

Before:
```
$ llama-cli --list-devices
0.00.468.603 E ggml_cuda_init: failed to initialize CUDA: initialization error
Available devices:

$ zcat /proc/config.gz | grep CONFIG_ARM_SMMU_V3_SVA=

$ echo $?
1
```

After:
```
$ llama-cli --list-devices
Available devices:
  CUDA0: NVIDIA GB10 (124534 MiB, 44410 MiB free)

$ zcat /proc/config.gz | grep CONFIG_ARM_SMMU_V3_SVA=
CONFIG_ARM_SMMU_V3_SVA=y
```

Here is the information about the GPU on the GB10 platform:
```
$ sudo lspci -vvv -s 000f:01:00.0
000f:01:00.0 VGA compatible controller: NVIDIA Corporation GB20B [GB10] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation Device 0000
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupts: pin B disabled, MSI(X) routed to IRQ 193-200
        IOMMU group: 20
        Region 0: Memory at 24000000 (64-bit, prefetchable) [size=64M]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [48] MSI: Enable- Count=1/16 Maskable+ 64bit+
                Address: 0000000000000000  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [60] Express (v2) Endpoint, IntMsgNum 0
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0W TEE-IO-
                DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L1, Exit Latency L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 128 bytes, LnkDisable- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- FltModeDis-
                LnkSta: Speed 2.5GT/s, Width x1 (downgraded)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
                         10BitTagComp+ 10BitTagReq+ OBFF Via message, ExtFmt- EETLPPrefix+, MaxEETLPPrefixes 1
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                         FRS- TPHComp- ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                         AtomicOpsCtl: ReqEn+
                         IDOReq- IDOCompl- LTR+ EmergencyPowerReductionReq-
                         10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
                LnkCtl2: Target Link Speed: 32GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
                         EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
                         Retimer- 2Retimers- CrosslinkRes: unsupported, FltMode-
        Capabilities: [9c] Vendor Specific Information: Len=14 <?>
        Capabilities: [b0] MSI-X: Enable+ Count=9 Masked-
                Vector table: BAR=0 offset=00b90000
                PBA: BAR=0 offset=00ba0000
        Capabilities: [100 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Capabilities: [12c v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [14c v1] Data Link Feature <?>
        Capabilities: [158 v1] Physical Layer 16.0 GT/s
                Phy16Sta: EquComplete- EquPhase1- EquPhase2- EquPhase3- LinkEquRequest-
        Capabilities: [188 v1] Physical Layer 32.0 GT/s
                Phy32Cap: EqualizationBypass+ NoEqualizationNeeded-
                          ModTsMode0+ ModTsMode1- ModTsMode2-
                Phy32Ctl: EqualizationBypassDis- NoEqualizationNeededDis-
                          Modified TS Usage Mode: PCI Express
                Phy32Sta: EquComplete- EquPhase1- EquPhase2- EquPhase3- LinkEquRequest-
                          Received Enhanced Link Behavior Control: Full Equalization required
                          ModTsRecv- TxPrecodeOn- TxPrecodeReq- NoEqualizationNeededRecv-
        Capabilities: [1b8 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
                        ECRC- UnsupReq- ACSViol- UncorrIntErr- BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
                        PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
                        ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
                        PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+
                        ECRC- UnsupReq- ACSViol- UncorrIntErr+ BlockedTLP- AtomicOpBlocked- TLPBlockedErr-
                        PoisonTLPBlocked- DMWrReqBlocked- IDECheck- MisIDETLP- PCRC_CHECK- TLPXlatBlocked-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CorrIntErr- HeaderOF-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CorrIntErr+ HeaderOF+
                AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Capabilities: [200 v1] Lane Margining at the Receiver
                PortCap: Uses Driver+
                PortSta: MargReady- MargSoftReady-
        Capabilities: [248 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 0
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [290 v2] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=0us PortTPowerOnTime=10us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                           T_CommonMode=0us LTR1.2_Threshold=0ns
                L1SubCtl2: T_PwrOn=10us
        Capabilities: [2a4 v1] Vendor Specific Information: ID=0001 Rev=1 Len=014 <?>
        Capabilities: [2c8 v1] Data Object Exchange
                DOECap: IntSup+
                        IntMsgNum 8
                DOECtl: IntEn-
                DOESta: Busy+ IntSta+ Error+ ObjectReady-
        Capabilities: [2e0 v1] Address Translation Service (ATS)
                ATSCap: Invalidate Queue Depth: 00
                ATSCtl: Enable+, Smallest Translation Unit: 00
        Capabilities: [2e8 v1] Process Address Space ID (PASID)
                PASIDCap: Exec- Priv-, Max PASID Width: 14
                PASIDCtl: Enable+ Exec- Priv-
        Capabilities: [2f0 v1] Device Serial Number 00-00-00-00-00-2d-b0-48
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
```
2026-06-04 10:47:39 +05:30
zowoq
ac21d7583b linux/common-config: drop X86_AMD_PSTATE_DYNAMIC_EPP
was removed in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4e9b7b38d5db2cc6a8770bc0596bb8b36b92b1f
2026-06-03 20:15:18 +10:00
zowoq
79c28b88db linux_xanmod, linux_xanmod_latest: 2026-06-02 (#527241) 2026-06-02 21:53:37 +00:00
eljamm
c8806da706 linux_xanmod_latest: 7.0.10 -> 7.0.11
- Changelog: https://dl.xanmod.org/changelog/7.0/ChangeLog-7.0.11-xanmod1.gz
- Diff: https://gitlab.com/xanmod/linux/-/compare/7.0.10-xanmod1..7.0.11-xanmod1?from_project_id=51590166
2026-06-02 18:07:53 +00:00
eljamm
b0f10863b2 linux_xanmod: 6.18.33 -> 6.18.34
- Changelog: https://dl.xanmod.org/changelog/6.18/ChangeLog-6.18.34-xanmod1.gz
- Diff: https://gitlab.com/xanmod/linux/-/compare/6.18.33-xanmod1..6.18.34-xanmod1?from_project_id=51590166
2026-06-02 18:05:44 +00:00
Bart Oostveen
d07b0d9dac linux_5_10: 5.10.257 -> 5.10.258 2026-06-01 18:25:56 +02:00
Bart Oostveen
661833f61e linux_5_15: 5.15.208 -> 5.15.209 2026-06-01 18:25:51 +02:00
Bart Oostveen
2a612a8cbf linux_6_1: 6.1.174 -> 6.1.175 2026-06-01 18:25:46 +02:00
Bart Oostveen
10035889cf linux_6_6: 6.6.141 -> 6.6.142 2026-06-01 18:25:40 +02:00
Bart Oostveen
221fae9c48 linux_6_12: 6.12.91 -> 6.12.92 2026-06-01 18:25:34 +02:00
Bart Oostveen
28254d87ca linux_6_18: 6.18.33 -> 6.18.34 2026-06-01 18:25:27 +02:00
Bart Oostveen
3e9caa186f linux_7_0: 7.0.10 -> 7.0.11 2026-06-01 18:25:20 +02:00
Bart Oostveen
bda3d9ef36 linux_testing: 7.1-rc4 -> 7.1-rc6 2026-06-01 18:25:05 +02:00
OPNA2608
48d00af90d linux: Build-in IDE & MacIO support on POWER
The built-in graphical boot manager on PowerMacs usually doesn't acknowledge USBs. If one wants to boot an installer
without messing around in Open Firmware, then a disc must be used.

The disc drives in PowerMacs are connected via IDE, and will get stuck during early boot if IDE/ATA support is not
built into the kernel. The PATA_MACIO option is also needed to handle the particular controller used on Macs.
2026-06-01 16:15:58 +02:00
OPNA2608
e07ad9d065 linux: Build-in HFS+ support on POWER
To get an installer ISO recognised on some systems (Apple PowerMac G5 is what I'm working with), it must be made with
certain flags to xorriso that make the ISO9660 filesystem accessible as an HFS+ partition, to allow HFS+ blessing of the
boot files. Changes for that will be submitted at a later date.

When such an image is booted with the current kernel settings (DVD/USB, doesn't matter), GRUB works fine, but the kernel
gets stuck. There is no textual boot output on the machine at the point where it gets stuck, so I can't really debug. A
basic ISO9660 image (booted directly via firmware commands) goes all the way to the shell without issues, so the issue
is with the HFS+ partition format.

Building the HFS+ module into the kernel seems to fix this.

Some older machines are supposedly unable to read HFS+ and may instead need HFS. Such a disc setup might not be
producable with xorriso (haven't played around with that), and I don't have one of those machines to test anything on,
so I won't include HFS_FS for now.
2026-06-01 16:05:08 +02:00
Emily
efbf25d757 linux: drop uImage support
Now that ARMv5 no longer uses `uImage`, there’s no point in keeping
around support for this deprecated format that the rest of the NixOS
infrastructure doesn’t handle. Modern U‐Boot setups should not
be affected in any way by this.
2026-06-01 11:12:45 +10:00
K900
6ac4beb6bf linux/common-config: enable deflate/zstd for erofs (#526017) 2026-05-30 16:49:09 +00:00
Paul Meyer
68157d8886 linux/common-config: enable deflate/zstd for erofs
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
2026-05-30 17:52:06 +02:00
Andrew Childs
db81e7567f linux: use correct strip program when stripping vmlinux
Otherwise may fail during cross complation with:

    [...]/strip: Unable to recognise the architecture of the input file: `/[...]/vmlinux`
2026-05-30 04:20:54 +09:00