Bug 200723 - Buggy ASL code causing Linux kernel error messages - Thinkpad T450
Summary: Buggy ASL code causing Linux kernel error messages - Thinkpad T450
Status: CLOSED DOCUMENTED
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: acpi_acpica-core@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 21:42 UTC by kernelbugs
Modified: 2019-07-01 06:05 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.17.11
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Full DMESG (66.42 KB, text/plain)
2018-08-06 17:20 UTC, kernelbugs
Details
ACPIDump (438.51 KB, text/plain)
2018-08-06 17:21 UTC, kernelbugs
Details

Description kernelbugs 2018-08-03 21:42:25 UTC
Details of issue:

Error parsing PCC subspaces from PCCT

ACPI Error: Needed type [Reference], found [Integer] (ptrval) (20180313/exresop-69)
[ 0.107660] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20180313/dswexec-427)
[ 0.107751] ACPI Error: Method parse/execution failed \_PR.CPU0._PDC, AE_AML_OPERAND_TYPE (20180313/psparse-516)

ACPI Error: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x4) (20180313/exoparg2-396)
[ 34.891858] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC.BFRQ, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)
[ 34.891869] ACPI Error: Method parse/execution failed \_SB.PCI0.VID.LCD0._BCL, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)


I tried to get help in this user forum.

https://forum.mxlinux.org/viewtopic.php?f=107&t=45887
Comment 1 kernelbugs 2018-08-03 21:43:32 UTC
Hardware Info:

description: Notebook
product: 20BVCTO1XWW (LENOVO_MT_20BV_BU_Think_FM_ThinkPad T450)
vendor: LENOVO
version: ThinkPad T450
serial: XXXXXXXX
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
configuration: administrator_password=disabled chassis=notebook family=ThinkPad T450 power-on_password=disabled sku=LENOVO_MT_20BV_BU_Think_FM_ThinkPad T450 uuid=019FDD31-6C54-CB11-83FD-9398D7D30BB5
*-core
description: Motherboard
product: 20BVCTO1WW
vendor: LENOVO
physical id: 0
version: SDK0J40697 WIN
serial: XXXXXXX
slot: Not Available
*-cache
description: L1 cache
physical id: 3
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-back data
configuration: level=1
*-cpu
description: CPU
product: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
serial: None
slot: U3E1
size: 2435MHz
capacity: 2700MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts cpufreq
configuration: cores=2 enabledcores=2 threads=4
*-cache:0
description: L1 cache
physical id: 5
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-back instruction
configuration: level=1
*-cache:1
description: L2 cache
physical id: 6
slot: L2 Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 7
slot: L3 Cache
size: 3MiB
capacity: 3MiB
capabilities: synchronous internal write-back unified
configuration: level=3
*-memory
description: System Memory
physical id: 8
slot: System board or motherboard
size: 16GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: KHX1600C9S3L/8G
vendor: Kingston
physical id: 0
serial: XXXXXXX
slot: ChannelA-DIMM0
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: M471B1G73DB0-YK0
vendor: Samsung
physical id: 1
serial: XXXXXX
slot: ChannelB-DIMM0
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-firmware
description: BIOS
vendor: LENOVO
physical id: 31
version: JBET70WW (1.34 )
date: 06/15/2018
size: 128KiB
capacity: 15MiB
capabilities: pci pnp upgrade shadowing cdboot bootselect acpi usb biosbootspecification uefi
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=bdw_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:3000(size=64) memory:c0000-dffff
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:42 memory:f1230000-f1233fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:45 memory:f1220000-f122ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:46 memory:f1239000-f123901f
*-network
description: Ethernet interface
product: Ethernet Connection (3) I218-V
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 03
serial: XXXXXX
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.2-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:50 memory:f1200000-f121ffff memory:f123e000-f123efff ioport:3080(size=32)
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:47 memory:f1234000-f1237fff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #6
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:17 memory:f1100000-f11fffff
*-generic
description: Unassigned class
product: RTS5227 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:43 memory:f1100000-f1100fff
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #3
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:18 memory:f1000000-f10fffff
*-network
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 59
serial: XXXXXX
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.17.0-1-amd64 firmware=29.541020.0 ip=192.168.129.0 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:48 memory:f1000000-f1001fff
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci cap_list
configuration: driver=ehci-pci latency=0
resources: irq:23 memory:f123d000-f123d3ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-storage
description: SATA controller
product: Wildcat Point-LP SATA Controller [AHCI Mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:44 ioport:30a8(size=8) ioport:30b4(size=4) ioport:30a0(size=8) ioport:30b0(size=4) ioport:3060(size=32) memory:f123c000-f123c7ff
*-serial
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: irq:18 memory:f1238000-f12380ff ioport:efa0(size=32)
*-generic
description: Signal processing controller
product: Wildcat Point-LP Thermal Management Controller
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=intel_pch_thermal latency=0
resources: irq:18 memory:f123b000-f123bfff
*-scsi
physical id: 0
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: Samsung SSD 860
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 1B6Q
serial: XXXXXXXX
size: 232GiB (250GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=6adb730a
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: XXXXXXX
size: 230GiB
capacity: 230GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
configuration: created=2018-07-24 21:29:43 filesystem=ext4 label=rootMX17.1 lastmountpoint=/ modified=2018-07-25 13:12:07 mount.fstype=ext4 mount.options=rw,relatime mounted=2018-07-25 11:55:33 state=mounted
*-volume:1
description: Linux swap volume
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
version: 1
serial: XXXXXXXX
size: 2GiB
capacity: 2GiB
capabilities: primary swap initialized
configuration: filesystem=swap label=swapMX pagesize=4096
*-battery:0
product: 45N1113
vendor: LGC
physical id: 1
slot: Front
capacity: 23480mWh
configuration: voltage=11.4V
*-battery:1
product: 45N1775
vendor: SANYO
physical id: 2
slot: Rear
capacity: 23200mWh
configuration: voltage=11.1V
Comment 2 Erik Kaneda 2018-08-06 16:38:14 UTC
Please post the acpidump and full dmesg
Comment 3 kernelbugs 2018-08-06 17:20:53 UTC
Created attachment 277721 [details]
Full DMESG
Comment 4 kernelbugs 2018-08-06 17:21:59 UTC
Created attachment 277723 [details]
ACPIDump
Comment 5 kernelbugs 2018-08-06 17:22:31 UTC
Details submitted thanks for reply.
Comment 6 kernelbugs 2018-08-07 19:36:10 UTC
(In reply to Erik Schmauss from comment #2)
> Please post the acpidump and full dmesg

I am new to submitting bugs do I need to change the status of this request now?

I have added the neededinfo but not sure what status to change it to,
Comment 7 Erik Kaneda 2018-08-07 23:01:59 UTC
[    0.248485] ACPI Error: Needed type [Reference], found [Integer]         (ptrval) (20180313/exresop-69)
[    0.248509] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Store] (20180313/dswexec-427)
[    0.248529] ACPI Error: Method parse/execution failed \_PR.CPU0._PDC, AE_AML_OPERAND_TYPE (20180313/psparse-516)

^ this is from incorrect AML bytecode

ACPI Error: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x4) (20180313/exoparg2-396)
[ 34.891858] ACPI Error: Method parse/execution failed \_SB.PCI0.LPC.EC.BFRQ, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)
[ 34.891869] ACPI Error: Method parse/execution failed \_SB.PCI0.VID.LCD0._BCL, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)

^ this possibly from buggy EC firmware. I suggest you contact lenovo about this issue.
Comment 8 kernelbugs 2018-08-08 17:28:57 UTC
(In reply to Erik Schmauss from comment #7)
> [    0.248485] ACPI Error: Needed type [Reference], found [Integer]        
> (ptrval) (20180313/exresop-69)
> [    0.248509] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for
> [Store] (20180313/dswexec-427)
> [    0.248529] ACPI Error: Method parse/execution failed \_PR.CPU0._PDC,
> AE_AML_OPERAND_TYPE (20180313/psparse-516)
> 
> ^ this is from incorrect AML bytecode
> 
> ACPI Error: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of
> object (length 0x4) (20180313/exoparg2-396)
> [ 34.891858] ACPI Error: Method parse/execution failed
> \_SB.PCI0.LPC.EC.BFRQ, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)
> [ 34.891869] ACPI Error: Method parse/execution failed
> \_SB.PCI0.VID.LCD0._BCL, AE_AML_PACKAGE_LIMIT (20180313/psparse-516)
> 
> ^ this possibly from buggy EC firmware. I suggest you contact lenovo about
> this issue.

This is the latest June bios update as well.  How do I go about contacting Lenovo on an unsupported device.
Comment 9 kernelbugs 2018-08-08 17:31:01 UTC
Also who's responsibility is it to fix the AML bytecode issues?
Comment 10 Erik Kaneda 2018-08-13 17:57:07 UTC
(In reply to kernelbugs from comment #9)
> Also who's responsibility is it to fix the AML bytecode issues?

It would have to start at Lenovo. I would suggest contacting their customer service to see if they can do anything about this. Since this AML should be fixed by Lenovo, this isn't a kernel bug. I'll close this for now but if there is a kernel issue related to this, feel free to reopen.
Comment 11 kernelbugs 2019-01-18 18:02:00 UTC
Ok I have contact customer service about this back when this happened and never heard anything back about it. Does the kernel team have a way to push this as I seem to now have the same problems on a t440p that I purchased so it is not just the t450.
Comment 12 Zhang Rui 2019-03-25 07:33:14 UTC
Bug closed as this is not a kernel issue.

CC Peter to see if we can get the buggy ACPI ASL code fixed.

Note You need to log in before you can comment on or make changes to this bug.