580 legacy branch: please backport Linux 7.4 support (vma_is_hugetlb / VM_SPECIAL, drm atomic_create_state)

Aperta
#1,629 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

Compare the 580 and 620 branches, starting with kernel-open/nvidia-uvm/uvm_hmm.c and nvidia-drm-crtc.c. Check how the 620 branch handles Linux 7.4 compatibility and identify the corresponding 580 code paths for hugetlb detection and DRM state creation. Done means the 580 branch builds against Linux 7.4 with both compatibility changes backported.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The 580 branch is the last one supporting Maxwell, Pascal and Volta GPUs, so distributions keep shipping it next to the current branch. 580.196.11 does not build against Linux 7.4:

  • nvidia-uvm: Linux 7.4 removed VM_SPECIAL and renamed is_vm_hugetlb_page() to vma_is_hugetlb(); kernel-open/nvidia-uvm/uvm_hmm.c still uses both.
  • nvidia-drm: Linux 7.4 removed the reset callbacks of drm_crtc_funcs/drm_plane_funcs in favour of atomic_create_state; nvidia-drm-crtc.c in 580.196.11 only provides .reset.

620.85.02 already handles both (nv_vma_is_hugetlb() in uvm_hmm.c, atomic_create_state hooks in nvidia-drm-crtc.c). Could these changes be backported to the 580 branch?

For reference, we currently carry our own downstream patches for 580.196.07 (conftest-based atomic_create_state for CRTC/plane, VM_SPECIAL/vma_is_hugetlb fallbacks); they build against 7.4.0-rc4 but are not tested on hardware, so we would much prefer an official 580 update.

AI disclosure: the comparison of the branches was prepared with the help of an AI coding assistant; reviewed by me.

🤖 Generated with Claude Code

Lingua principale
C
Stelle
17.7k
Fork
2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/open-gpu-kernel-modules

Tutte le issue di NVIDIA/open-gpu-kernel-modules

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.