mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 18:19:44 +01:00
lenovo/thinkpad/l14/amd: switch to soft iommu mode to prevent mmcblk kernel panic
This commit is contained in:
parent
49f1d1e1f8
commit
9ff8606e7e
1 changed files with 6 additions and 3 deletions
|
@ -12,10 +12,13 @@
|
||||||
# either crashes or is not able to attach to the GPU depending on
|
# either crashes or is not able to attach to the GPU depending on
|
||||||
# the kernel version. I've seen no issues with the IOMMU disabled.
|
# the kernel version. I've seen no issues with the IOMMU disabled.
|
||||||
#
|
#
|
||||||
# BIOS version 1.13 claims to fix IOMMU issues, but we leave the
|
# BIOS version 1.13 fixes the IOMMU issues, but we leave the IOMMU
|
||||||
# IOMMU off to avoid a sad experience for those people that drew
|
# in software mode to avoid a sad experience for those people that drew
|
||||||
# the short straw when they bought their laptop.
|
# the short straw when they bought their laptop.
|
||||||
"iommu=off"
|
#
|
||||||
|
# Do not set iommu=off, because this will cause the SD-Card reader
|
||||||
|
# driver to kernel panic.
|
||||||
|
"iommu=soft"
|
||||||
];
|
];
|
||||||
|
|
||||||
# As of writing this, Linux 5.8 is the oldest kernel that is still
|
# As of writing this, Linux 5.8 is the oldest kernel that is still
|
||||||
|
|
Loading…
Reference in a new issue