Bug 203519

Summary: Linux is not bootable on Lenovo Thinkpad E485 due to ACPI bug - AMD Ryzen 5 2500U
Product: ACPI Reporter: max (kernel-ODwfxu5zp4)
Component: Config-TablesAssignee: acpi_config-tables
Status: RESOLVED CODE_FIX    
Severity: normal CC: bjo, castro8583bennett, postix, quininer, rui.zhang
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.15, 4.19, 5.0, 5.1-rc7 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output of successful boot with additional kernel parameters
acpidump output
lspci output
dmidecode output

Description max 2019-05-05 20:43:21 UTC
Created attachment 282627 [details]
dmesg output of successful boot with additional kernel parameters

Hello everyone,

Linux doesn't boot on Lenovo Thinkpad E485/585 without adding some kernel parameters to the boot config. This also affects previous kernel versions. Some people say it's a UEFI bug, but Lenovo doesn't seem to care, there are already people posting in their forums since release complaining about this issue: https://forums.lenovo.com/t5/ThinkPad-11e-Windows-13-E-and/ThinkPad-E485-E585-Firmware-bug-ACPI-IVRS-table/td-p/4191484

Notebook: Lenovo Thinkpad E485/585 series (with AMD Ryzen 5 2500U)
Tested kernel versions: 4.15, 4.19, 5.0, 5.1-rc7
Currently required additional kernel parameters: ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00.1 libata.force=1 iommu=pt

Boot with amd_iommu_dump=1:
[    0.851042] AMD-Vi: Using IVHD type 0x11
[    0.851401] AMD-Vi: device: 00:00.2 cap: 0040 seg: 0 flags: b0 info 0000
[    0.851401] AMD-Vi:        mmio-addr: 00000000feb80000
[    0.851430] AMD-Vi:   DEV_SELECT_RANGE_START  devid: 00:01.0 flags: 00
[    0.851431] AMD-Vi:   DEV_RANGE_END           devid: ff:1f.6
[    0.851870] AMD-Vi:   DEV_ALIAS_RANGE                 devid: ff:00.0 flags: 00 devid_to: 00:14.4
[    0.851871] AMD-Vi:   DEV_RANGE_END           devid: ff:1f.7
[    0.851875] AMD-Vi:   DEV_SPECIAL(HPET[0])           devid: 00:14.0
[    0.851876] AMD-Vi:   DEV_SPECIAL(IOAPIC[33])                devid: 00:14.0
[    0.851877] AMD-Vi:   DEV_SPECIAL(IOAPIC[34])                devid: 00:00.1
[    1.171028] AMD-Vi: IOMMU performance counters supported

I can provide more details if requested.

Kind regards,
Max
Comment 1 max 2019-05-05 20:44:15 UTC
Created attachment 282629 [details]
acpidump output
Comment 2 max 2019-05-05 20:44:57 UTC
Created attachment 282631 [details]
lspci output
Comment 3 max 2019-05-05 20:45:49 UTC
Created attachment 282633 [details]
dmidecode output
Comment 5 max 2019-09-03 15:51:16 UTC
Bug is fixed with latest BIOS update: https://pcsupport.lenovo.com/nl/en/products/laptops-and-netbooks/thinkpad-edge-laptops/thinkpad-e485-type-20ku/downloads

There are still some other errors in dmesg output, but it does boot now without custom parameters.

Kind regards,
Max