Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.15.11 #105

Merged
merged 0 commits into from
Jan 3, 2022
Merged

5.15.11 #105

merged 0 commits into from
Jan 3, 2022

Conversation

jackpot51
Copy link
Member

Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.11

Also unsets INTEL_IOMMU_DEFAULT_ON, which may fix #86

@jackpot51 jackpot51 requested review from a team December 22, 2021 15:06
@jackpot51 jackpot51 self-assigned this Dec 22, 2021
@jackpot51 jackpot51 mentioned this pull request Dec 22, 2021
@bflanagin
Copy link

bflanagin commented Dec 28, 2021

Tests are going well, however a user has reported an issue on Intel machines when using the integrated gpu on the Mira b2. It seems to affect 5.13 and up so it isn't a regression in this kernel revision. However, it affects the 5.15 series so should be made note even if it isn't a blocker.

The issue reported (and confirmed) deals with having both hdmi and display port plugged into the motherboards ports at boot. This causes the system to hang while initializing the framebuffer device inteldrmfb.

External reports are being filed for most distributions:
https://superuser.com/questions/1694659/connecting-two-monitors-at-boot-causes-linux-kernel-to-hang-when-enabling-kms

Copy link

@13r0ck 13r0ck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

21.10 ✔️
Intel <darp7> Nvidia <gaze16> Amd CPU/GPU Desktop \major r> Intel CPU/Nvidia GPU Desktop \thelio b2>
Updating to new kernel works with apt update && apt upgrade 🟩 🟩 🟩 🟩
system76-power still operates as expected 🟩 🟩 🟩 🟩
Mic in 🟩 🟩 🟩 🟩
Audio out: Built-in speakers 🟩 🟩
Audio out: Headphones 🟩 🟩 🟩 🟩
Audio out: Display Port 🟩 🟩 🟩 🟩
Audio out: HDMI 🟩 🟩 🟩 🟩
Video out: DisplayPort 🟩 🟩 🟩 🟩
Video out: HDMI 🟩 🟩 🟩 🟩
Thunderbolt: HDMI 🟩 🟩
Thunderbolt: DisplayPort 🟩 🟩
Thunderpolt: External storage device 🟩 🟩
Suspend: Hybrid mode 🟩
Suspend: Nvidia/GPU mode 🟩 🟩 🟩
Suspend: Integrated mode 🟩 🟩
Steam launches from launcher and can login to store: Hybrid mode 🟩
Steam launches from launcher and can login to store: Nvidia/GPU mode 🟩 🟩 🟩
Steam launches from launcher and can login to store: Integrated mode 🟩 🟩

Validate on any system:

  • Steam
    • Linux native game installs and runs
    • Proton game installs and runs
  • Virtualbox installs and works as expected
20.04 ✔️
Intel <darp7> Nvidia <gaze16> Amd CPU/GPU Desktop <major r> Intel CPU/Nvidia GPU Desktop <mira b2>
Updating to new kernel works with apt update && apt upgrade 🟩 🟩 🟩 🟩
system76-power still operates as expected 🟩 🟩 🟩 🟩
Mic in 🟩 🟩 🟩 🟩
Audio out: Built-in speakers 🟩 🟩
Audio out: Headphones 🟩 🟩 🟩 🟩
Audio out: Display Port 🟩 🟩 🟩 🟩
Audio out: HDMI 🟩 🟩 🟩 🟩
Video out: DisplayPort 🟩 🟩 🟩 🟩
Video out: HDMI 🟩 🟩 🟩 🟩
Thunderbolt: HDMI 🟩 🟩
Thunderbolt: DisplayPort 🟩 🟩
Thunderpolt: External storage device 🟩 🟩
Suspend: Hybrid mode 🟩
Suspend: Nvidia/GPU mode 🟩 🟩 🟩
Suspend: Integrated mode 🟩 🟩
Steam launches from launcher and can login to store: Hybrid mode 🟩
Steam launches from launcher and can login to store: Nvidia/GPU mode 🟩 🟩 🟩
Steam launches from launcher and can login to store: Integrated mode 🟩 🟩

Validate on any system:

  • Steam
    • Linux native game installs and runs
    • Proton game installs and runs
  • Virtualbox installs and works as expected

Key

⬜ -> Untested

⬛ -> Untestable

🟩 -> Pass

🟥 -> Fail

@jackpot51 jackpot51 merged commit b3a2c21 into master Jan 3, 2022
@jackpot51 jackpot51 deleted the 5.15.11 branch January 3, 2022 14:50
jackpot51 pushed a commit that referenced this pull request May 2, 2022
[ Upstream commit 25934fc ]

On PREEMPT_RT kernel and KASAN is enabled.  the kasan_record_aux_stack()
may call alloc_pages(), and the rt-spinlock will be acquired, if currently
in atomic context, will trigger warning:

  BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:46
  in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 239, name: bootlogd
  Preemption disabled at:
  [<ffffffffbab1a531>] rt_mutex_slowunlock+0xa1/0x4e0
  CPU: 3 PID: 239 Comm: bootlogd Tainted: G        W 5.17.1-rt17-yocto-preempt-rt+ #105
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
  Call Trace:
     __might_resched.cold+0x13b/0x173
     rt_spin_lock+0x5b/0xf0
     get_page_from_freelist+0x20c/0x1610
     __alloc_pages+0x25e/0x5e0
     __stack_depot_save+0x3c0/0x4a0
     kasan_save_stack+0x3a/0x50
     __kasan_record_aux_stack+0xb6/0xc0
     kasan_record_aux_stack+0xe/0x10
     irq_work_queue_on+0x6a/0x1c0
     pull_rt_task+0x631/0x6b0
     do_balance_callbacks+0x56/0x80
     __balance_callbacks+0x63/0x90
     rt_mutex_setprio+0x349/0x880
     rt_mutex_slowunlock+0x22a/0x4e0
     rt_spin_unlock+0x49/0x80
     uart_write+0x186/0x2b0
     do_output_char+0x2e9/0x3a0
     n_tty_write+0x306/0x800
     file_tty_write.isra.0+0x2af/0x450
     tty_write+0x22/0x30
     new_sync_write+0x27c/0x3a0
     vfs_write+0x3f7/0x5d0
     ksys_write+0xd9/0x180
     __x64_sys_write+0x43/0x50
     do_syscall_64+0x44/0x90
     entry_SYSCALL_64_after_hwframe+0x44/0xae

Fix it by using kasan_record_aux_stack_noalloc() to avoid the call to
alloc_pages().

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zqiang <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5.15.5 on intel 6th gen CPU: long startup, long reboot, NO powerdown or suspend unless Vt-d is disabled.
3 participants