cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 564
Message 1 of 16

ATTN: lenovo ! A485 buggy bios

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.

Lenovo Employee DaveOber
Lenovo Employee
Posts: 52
Registered: ‎12-17-2018
Location: US
Views: 550
Message 2 of 16

Re: ATTN: lenovo ! A485 buggy bios

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.

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 536
Message 3 of 16

Re: ATTN: lenovo ! A485 buggy bios

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.

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 522
Message 4 of 16

Re: ATTN: lenovo ! A485 buggy bios

recompiling the kernel with CONFIG_PCIEASPM_DEFAULT results in the same errors.

CONFIG_PCIEASPM_PERFORMANCE is the same.

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 489
Message 5 of 16

Re: ATTN: lenovo ! A485 buggy bios

Apparently suspend is not supported by this laptop either ...

Lenovo Employee DaveOber
Lenovo Employee
Posts: 52
Registered: ‎12-17-2018
Location: US
Views: 439
Message 6 of 16

Re: ATTN: lenovo ! A485 buggy bios

So I can be better to help what is your system configuration (CPU Model) and OS version and Distro and Bios Level

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 409
Message 7 of 16

Re: ATTN: lenovo ! A485 buggy bios

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 ?

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 399
Message 8 of 16

Re: ATTN: lenovo ! A485 buggy bios

I just tried bios 1.16 and kernel 5.1.10, still the same problems.

Lenovo Employee DaveOber
Lenovo Employee
Posts: 52
Registered: ‎12-17-2018
Location: US
Views: 367
Message 9 of 16

Re: ATTN: lenovo ! A485 buggy bios

adding iommu=pt to the cmdline will allow the kfd driver to load

pickens
Fanfold Paper
Posts: 14
Registered: ‎05-18-2019
Location: US
Views: 359
Message 10 of 16

Re: ATTN: lenovo ! A485 buggy bios

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

Check out current deals!


Shop current deals

Top Kudoed Authors