I've been having an issue where my after resuming from suspend, my laptop (An HP Pavilion 15 with an AMD Ryzen 7 5700U) is not able to do anything, and I would get error messages suggesting that the disk was in a read-only mode.
After some time, I was able to find this page on the arch wiki that suggested I set the amd_iommu=off kernel parameter. This worked, but I'm not really clear what the implications of doing this are. Lessened security, slower performance, or anything else?
Edit: A commenter pointed out that I left out some details. This is my personal laptop with 16 GB of RAM that I sometimes run stuff like VMs on. Its running ubuntu 24.04.2 with kernel version 6.11.0-28-generic
iommuflag. I can set. Would one of those be better? – BarrowWight Jul 05 '25 at 00:53/var/log/syslogordmesg? The reason for asking is that on a different system with AlmaLinux 9 and Intel CPUs, when enabled the IOMMU had issues with some file systems not being mounted, and found some Kernel drivers reporting errors. I.e. there may be bugs in some drivers when the IOMMU is enabled, and checking the logs for errors might help to identify the problematic driver. – Chester Gillon Jul 05 '25 at 07:41Since the disk gets mounted read-only, nothing goes to the logs for me to read on reboot.
– BarrowWight Jul 05 '25 at 18:14