06-12-2019 09:04 AM
I've found atleast 3 bugs in the lenovo bios for this laptop and zero responses to anyone asking about them on the lenovo support forums.
Here they are:
tsc don't work, pcie aspm isn't enabled, iommu don't work
This laptop is subpar and near useless in it's current state. Please fix these issues or you'll lose a lot of customers.
06-12-2019 10:25 AM
For the TSC from what we have seen this is an issue with the AMD processor where cpu zero is out if sync with the rest of the CPUs and linux is changing over to using the HPET clock, we looked at this as a possible Linux or BIOS issue and determined there is more investigation needed by AMD as it appears to be a sleep mode issue in the AMD CPU and not an iussue in the BIOS. For the Second issue the PCIe ASPM are you running in performance or balanced mode it should be enabled in both but which did you determine it was not working in. As for the IOMMU this is a new item that will need to be looked into. Can you provide more info on how you determined this to be a BIOS issue.
06-12-2019 11:15 AM
Hello, thanks for responding.
I've included my dmesg output from the laptop.
[ 0.571817] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
CONFIG_PCIEASPM_POWERSAVE is enabled
I can try PERFORMANCE
[ 1.418828] kfd kfd: Allocated 3969056 bytes on gart
[ 1.418850] Topology: Add APU node [0x15dd:0x1002]
[ 1.418882] kfd kfd: error required iommu flags ats 0, pri 0, pasid 0
[ 1.418887] kfd kfd: Error initializing iommuv2
[ 1.418912] Creating topology SYSFS entries
[ 1.419046] kfd kfd: device 1002:15dd NOT added due to errors
This is the area referencing the iommuv2 error, preventing kfd from loading so I can't use opencl.
I could be mistaken, but it appears to be an issue with iommu flags.
06-15-2019 10:30 AM
ryzen 2700u, linux 5.1.7, slackware, 1.11 (R0WET43W)
I can use any kernel version if you know of one that works around the bios bugs.
The changelog for 1.14/1.16 bios versions don't mention any fixes, do they solve these issues ?
06-17-2019 08:40 AM
I already tried that before I created this thread, It don't help.
The output is the same.
[ 1.418828] kfd kfd: Allocated 3969056 bytes on gart [ 1.418850] Topology: Add APU node [0x15dd:0x1002] [ 1.418882] kfd kfd: error required iommu flags ats 0, pri 0, pasid 0 [ 1.418887] kfd kfd: Error initializing iommuv2 [ 1.418912] Creating topology SYSFS entries [ 1.419046] kfd kfd: device 1002:15dd NOT added due to errors