Bug 216390 - Could not resolve symbol [\_SB.PCI0.LPC0.EC0.AC._PSR.AFN4], AE_NOT_FOUND (20220331/psargs-330)
Summary: Could not resolve symbol [\_SB.PCI0.LPC0.EC0.AC._PSR.AFN4], AE_NOT_FOUND (202...
Status: RESOLVED ANSWERED
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: AMD Linux
: P1 normal
Assignee: Mark Pearson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-21 13:23 UTC by arthur
Modified: 2024-02-15 12:57 UTC (History)
3 users (show)

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


Attachments
acpidump FIle (984.31 KB, text/plain)
2022-08-21 16:12 UTC, arthur
Details
acpixtract added (351.28 KB, application/zip)
2022-08-21 16:17 UTC, arthur
Details

Description arthur 2022-08-21 13:23:43 UTC
Hi Kernel Team,

i get following errors on boot:
[    0.449031] ACPI BIOS Error (Bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0.AC._PSR.AFN4], AE_NOT_FOUND (20220331/psargs-330)
[    0.449046] ACPI Error: Abotrting method \_SB.PCI0.LPC0.EC0.AC._PSR due to previous error (AE_NOT_FOUND) (20220331/psparse-529)

$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 PRO 5850U with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU(s) scaling MHz:  39%
    CPU max MHz:         4505.0781
    CPU min MHz:         1600.0000
    BogoMIPS:            3794.88
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx f
                         xsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good no
                         pl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16
                          sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic 
                         cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfct
                         r_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs 
                         ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx sma
                         p clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm
                         _total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_l
                         ock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold 
                         avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_r
                         ecov succor smca fsrm
Virtualization features: 
  Virtualization:        AMD-V
Caches (sum of all):     
  L1d:                   256 KiB (8 instances)
  L1i:                   256 KiB (8 instances)
  L2:                    4 MiB (8 instances)
  L3:                    16 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-15
Vulnerabilities:         
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling, PBRS
                         B-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected


dmesg | grep -E "ACPI|BIOS"
[  +0,000000] BIOS-provided physical RAM map:
[  +0,000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[  +0,000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[  +0,000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[  +0,000000] BIOS-e820: [mem 0x0000000000100000-0x0000000009bfffff] usable
[  +0,000000] BIOS-e820: [mem 0x0000000009c00000-0x0000000009da0fff] reserved
[  +0,000000] BIOS-e820: [mem 0x0000000009da1000-0x0000000009efffff] usable
[  +0,000000] BIOS-e820: [mem 0x0000000009f00000-0x0000000009f0efff] ACPI NVS
[  +0,000000] BIOS-e820: [mem 0x0000000009f0f000-0x00000000c4d7dfff] usable
[  +0,000000] BIOS-e820: [mem 0x00000000c4d7e000-0x00000000caf7dfff] reserved
[  +0,000000] BIOS-e820: [mem 0x00000000caf7e000-0x00000000cbf7dfff] ACPI NVS
[  +0,000000] BIOS-e820: [mem 0x00000000cbf7e000-0x00000000cbffdfff] ACPI data
[  +0,000000] BIOS-e820: [mem 0x00000000cbffe000-0x00000000cdffffff] usable
[  +0,000000] BIOS-e820: [mem 0x00000000ce000000-0x00000000cfffffff] reserved
[  +0,000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[  +0,000000] BIOS-e820: [mem 0x00000000fdc00000-0x00000000fdcfffff] reserved
[  +0,000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
[  +0,000000] BIOS-e820: [mem 0x0000000100000000-0x0000000c0e2fffff] usable
[  +0,000000] BIOS-e820: [mem 0x0000000c0e300000-0x0000000c2fffffff] reserved
[  +0,000000] reserve setup_data: [mem 0x0000000009f00000-0x0000000009f0efff] ACPI NVS
[  +0,000000] reserve setup_data: [mem 0x00000000caf7e000-0x00000000cbf7dfff] ACPI NVS
[  +0,000000] reserve setup_data: [mem 0x00000000cbf7e000-0x00000000cbffdfff] ACPI data
[  +0,000000] efi: ACPI=0xcbffd000 ACPI 2.0=0xcbffd014 SMBIOS=0xc7e65000 SMBIOS 3.0=0xc7e58000 TPMFinalLog=0xcbe1d000 MEMATTR=0xc12c3018 ESRT=0xc1c95618 RNG=0xc7f7cf98 TPMEventLog=0x99d5b018 
[  +0,000000] SMBIOS 3.3.0 present.
[  +0,000000] DMI: LENOVO 21A0CTO1WW/21A0CTO1WW, BIOS R1MET49W (1.19 ) 06/27/2022
[  +0,000004] ACPI: Early table checksum verification disabled
[  +0,000003] ACPI: RSDP 0x00000000CBFFD014 000024 (v02 LENOVO)
[  +0,000003] ACPI: XSDT 0x00000000CBFFB188 0000FC (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000005] ACPI: FACP 0x00000000C5B93000 000114 (v06 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000004] ACPI: DSDT 0x00000000C5B7C000 011D77 (v01 LENOVO TP-R1M   00001130 INTL 20180313)
[  +0,000001] ACPI: FACS 0x00000000CBE19000 000040
[  +0,000002] ACPI: SSDT 0x00000000C7E9C000 0000A2 (v01 LENOVO PID0Ssdt 00000001 INTL 20180313)
[  +0,000002] ACPI: SSDT 0x00000000C7E9A000 001189 (v01 LENOVO UsbCTabl 00000001 INTL 20180313)
[  +0,000001] ACPI: SSDT 0x00000000C7E8C000 0072B0 (v02 LENOVO TP-R1M   00000002 MSFT 04000000)
[  +0,000002] ACPI: IVRS 0x00000000C7E6A000 0001A4 (v02 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: SSDT 0x00000000C7E38000 000A42 (v01 LENOVO WmiTable 00000001 INTL 20180313)
[  +0,000002] ACPI: SSDT 0x00000000C7DB3000 000632 (v02 LENOVO Tpm2Tabl 00001000 INTL 20180313)
[  +0,000002] ACPI: TPM2 0x00000000C7DB2000 000034 (v03 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: POAT 0x00000000C7DAF000 000055 (v03 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: BATB 0x00000000C7D9A000 00004A (v02 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: HPET 0x00000000C5B92000 000038 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: APIC 0x00000000C5B91000 000138 (v02 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: MCFG 0x00000000C5B90000 00003C (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: SBST 0x00000000C5B8F000 000030 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: WSMT 0x00000000C5B8E000 000028 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: VFCT 0x00000000C5B6E000 00D884 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: SSDT 0x00000000C5B68000 005354 (v02 LENOVO TP-R1M   00000001 AMD  00000001)
[  +0,000001] ACPI: CRAT 0x00000000C5B67000 000F10 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: CDIT 0x00000000C5B66000 000029 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: FPDT 0x00000000C7D9B000 000034 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: SSDT 0x00000000C5B65000 000149 (v01 LENOVO TP-R1M   00000001 INTL 20180313)
[  +0,000001] ACPI: SSDT 0x00000000C5B61000 003B0E (v01 LENOVO TP-R1M   00000001 INTL 20180313)
[  +0,000002] ACPI: BGRT 0x00000000C5B60000 000038 (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000002] ACPI: UEFI 0x00000000CBE18000 0000DA (v01 LENOVO TP-R1M   00001130 PTEC 00000002)
[  +0,000001] ACPI: SSDT 0x00000000C5B5F000 000052 (v01 LENOVO DRTM     00000001 INTL 20180313)
[  +0,000002] ACPI: SSDT 0x00000000C7E98000 000090 (v01 LENOVO TP-R1M   00000001 INTL 20180313)
[  +0,000002] ACPI: SSDT 0x00000000C7E97000 00096A (v01 LENOVO TP-R1M   00000001 INTL 20180313)
[  +0,000001] ACPI: Reserving FACP table memory at [mem 0xc5b93000-0xc5b93113]
[  +0,000001] ACPI: Reserving DSDT table memory at [mem 0xc5b7c000-0xc5b8dd76]
[  +0,000000] ACPI: Reserving FACS table memory at [mem 0xcbe19000-0xcbe1903f]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc7e9c000-0xc7e9c0a1]
[  +0,000000] ACPI: Reserving SSDT table memory at [mem 0xc7e9a000-0xc7e9b188]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc7e8c000-0xc7e932af]
[  +0,000000] ACPI: Reserving IVRS table memory at [mem 0xc7e6a000-0xc7e6a1a3]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc7e38000-0xc7e38a41]
[  +0,000000] ACPI: Reserving SSDT table memory at [mem 0xc7db3000-0xc7db3631]
[  +0,000001] ACPI: Reserving TPM2 table memory at [mem 0xc7db2000-0xc7db2033]
[  +0,000000] ACPI: Reserving POAT table memory at [mem 0xc7daf000-0xc7daf054]
[  +0,000001] ACPI: Reserving BATB table memory at [mem 0xc7d9a000-0xc7d9a049]
[  +0,000000] ACPI: Reserving HPET table memory at [mem 0xc5b92000-0xc5b92037]
[  +0,000001] ACPI: Reserving APIC table memory at [mem 0xc5b91000-0xc5b91137]
[  +0,000000] ACPI: Reserving MCFG table memory at [mem 0xc5b90000-0xc5b9003b]
[  +0,000001] ACPI: Reserving SBST table memory at [mem 0xc5b8f000-0xc5b8f02f]
[  +0,000000] ACPI: Reserving WSMT table memory at [mem 0xc5b8e000-0xc5b8e027]
[  +0,000001] ACPI: Reserving VFCT table memory at [mem 0xc5b6e000-0xc5b7b883]
[  +0,000000] ACPI: Reserving SSDT table memory at [mem 0xc5b68000-0xc5b6d353]
[  +0,000001] ACPI: Reserving CRAT table memory at [mem 0xc5b67000-0xc5b67f0f]
[  +0,000000] ACPI: Reserving CDIT table memory at [mem 0xc5b66000-0xc5b66028]
[  +0,000001] ACPI: Reserving FPDT table memory at [mem 0xc7d9b000-0xc7d9b033]
[  +0,000000] ACPI: Reserving SSDT table memory at [mem 0xc5b65000-0xc5b65148]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc5b61000-0xc5b64b0d]
[  +0,000000] ACPI: Reserving BGRT table memory at [mem 0xc5b60000-0xc5b60037]
[  +0,000001] ACPI: Reserving UEFI table memory at [mem 0xcbe18000-0xcbe180d9]
[  +0,000000] ACPI: Reserving SSDT table memory at [mem 0xc5b5f000-0xc5b5f051]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc7e98000-0xc7e9808f]
[  +0,000001] ACPI: Reserving SSDT table memory at [mem 0xc7e97000-0xc7e97969]
[  +0,000672] ACPI: PM-Timer IO Port: 0x408
[  +0,000007] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[  +0,000001] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[  +0,000000] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[  +0,000002] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[  +0,000001] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[  +0,000002] ACPI: Using ACPI (MADT) for SMP configuration information
[  +0,000002] ACPI: HPET id: 0x43538210 base: 0xfed00000
[  +0,000016] ACPI: Core revision 20220331
[  +0,000904] ACPI: PM: Registering ACPI NVS region [mem 0x09f00000-0x09f0efff] (61440 bytes)
[  +0,000000] ACPI: PM: Registering ACPI NVS region [mem 0xcaf7e000-0xcbf7dfff] (16777216 bytes)
[  +0,000000] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[  +0,000000] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[  +0,000000] ACPI: Added _OSI(Module Device)
[  +0,000000] ACPI: Added _OSI(Processor Device)
[  +0,000000] ACPI: Added _OSI(3.0 _SCP Extensions)
[  +0,000000] ACPI: Added _OSI(Processor Aggregator Device)
[  +0,000000] ACPI: Added _OSI(Linux-Dell-Video)
[  +0,000000] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[  +0,000000] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[  +0,012955] ACPI: 12 ACPI AML tables successfully acquired and loaded
[  +0,001070] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[  +0,018834] ACPI: EC: EC started
[  +0,000001] ACPI: EC: interrupt blocked
[  +0,000334] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[  +0,000003] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC used to handle transactions
[  +0,000002] ACPI: Interpreter enabled
[  +0,000018] ACPI: PM: (supports S0 S3 S4 S5)
[  +0,000001] ACPI: Using IOAPIC for interrupt routing
[  +0,000169] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[  +0,000288] ACPI: Enabled 2 GPEs in block 00 to 1F
[  +0,000975] ACPI: PM: Power Resource [P0U1]
[  +0,000016] ACPI: PM: Power Resource [P3U1]
[  +0,000173] ACPI: PM: Power Resource [WRST]
[  +0,000089] ACPI: PM: Power Resource [P0NV]
[  +0,003111] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[  +0,000001] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[  +0,000161] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[  +0,000050] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[  +0,000033] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[  +0,000046] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[  +0,000042] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[  +0,000030] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[  +0,000030] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[  +0,000030] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[  +0,000675] ACPI: EC: interrupt unblocked
[  +0,000001] ACPI: EC: event unblocked
[  +0,000005] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[  +0,000000] ACPI: EC: GPE=0x3
[  +0,000001] ACPI: \_SB_.PCI0.LPC0.EC0_: Boot DSDT EC initialization complete
[  +0,000001] ACPI: \_SB_.PCI0.LPC0.EC0_: EC: Used to handle transactions and events
[  +0,000000] ACPI: bus type USB registered
[  +0,000000] PCI: Using ACPI for IRQ routing
[  +0,000054] pnp: PnP ACPI init
[  +0,000382] pnp: PnP ACPI: found 6 devices
[  +0,005662] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.LPC0.EC0.AC._PSR.AFN4], AE_NOT_FOUND (20220331/psargs-330)
[  +0,000011] ACPI Error: Aborting method \_SB.PCI0.LPC0.EC0.AC._PSR due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[  +0,000012] ACPI: \_SB_.PCI0.LPC0.EC0_.AC__: Error reading AC Adapter state: AE_NOT_FOUND
[  +0,000021] ACPI: button: Power Button [PWRB]
[  +0,001412] ACPI: button: Lid Switch [LID]
[  +0,003263] ACPI: button: Sleep Button [SLPB]
[  +0,000056] ACPI: button: Power Button [PWRF]
[  +0,000004] ACPI: \_SB_.PLTF.C000: Found 3 idle states
[  +0,000066] ACPI: \_SB_.PLTF.C001: Found 3 idle states
[  +0,000068] ACPI: \_SB_.PLTF.C002: Found 3 idle states
[  +0,000108] ACPI: \_SB_.PLTF.C003: Found 3 idle states
[  +0,000118] ACPI: \_SB_.PLTF.C004: Found 3 idle states
[  +0,000108] ACPI: \_SB_.PLTF.C005: Found 3 idle states
[  +0,000119] ACPI: \_SB_.PLTF.C006: Found 3 idle states
[  +0,000105] ACPI: \_SB_.PLTF.C007: Found 3 idle states
[  +0,000077] ACPI: \_SB_.PLTF.C008: Found 3 idle states
[  +0,000101] ACPI: \_SB_.PLTF.C009: Found 3 idle states
[  +0,000079] ACPI: \_SB_.PLTF.C00A: Found 3 idle states
[  +0,000098] ACPI: \_SB_.PLTF.C00B: Found 3 idle states
[  +0,000084] ACPI: \_SB_.PLTF.C00C: Found 3 idle states
[  +0,000112] ACPI: \_SB_.PLTF.C00D: Found 3 idle states
[  +0,000107] ACPI: \_SB_.PLTF.C00E: Found 3 idle states
[  +0,000072] ACPI: \_SB_.PLTF.C00F: Found 3 idle states
[  +0,000001] ACPI: thermal: Thermal Zone [TZ01] (64 C)
[  +0,000442] ACPI: battery: Slot [BAT0] (battery present)
[  +0,000047] ACPI: bus type drm_connector registered
[  +0,106614] ACPI: video: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[  +0,000203] ccp 0000:08:00.2: ccp: unable to access the device: you might be running a broken BIOS.
[  +0,000021] TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
[  +0,006458] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[  +0,000001] thinkpad_acpi: ThinkPad BIOS R1MET49W (1.19 ), EC R1MHT49W
[  +0,000030] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[  +0,049826] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[  +0,000011] ACPI: battery: new extension: ThinkPad Battery Extension
[  +0,000097] amdgpu: Ignoring ACPI CRAT on non-APU system
[  +0,000017] amdgpu 0000:08:00.0: amdgpu: Fetched VBIOS from VFCT
[  +0,000005] amdgpu: ATOM BIOS: 113-CEZANNE-020
[  +0,000005] Hardware name: LENOVO 21A0CTO1WW/21A0CTO1WW, BIOS R1MET49W (1.19 ) 06/27/2022


$ uname -a
Linux ... 5.19.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Aug 2022 13:48:51 +0000 x86_64 GNU/Linux

it seems that the error does not have any impacts, but i am not quite sure.
got the errors after an bios upgrade

machine: Lenovo Thinkpad P14s AMD Gen2
bios version: Lenovo ThinkPad T14/P14s Gen 2 AMD System Firmware R1MET49W, Version 1.19
Bios Update:
Prometheus (10.01.3273255 → 10.01.3478575)
System Firmware (0.1.17 → 0.1.19)
see https://fwupd.org/lvfs/devices/com.leno … T.firmware
Comment 1 Mario Limonciello (AMD) 2022-08-21 13:29:42 UTC
As this is caused by a firmware upgrade, it should be reported to Lenovo to fix.
Comment 2 arthur 2022-08-21 13:42:30 UTC
I doubt they consider it as high priority. But i will try it. perhaps this issue can be remain open. Some people may have similar problems. perhaps it is also related to the kernel. i also had messages after the kernel upgrade but this was an uefi issue.
Comment 3 Mario Limonciello (AMD) 2022-08-21 15:48:04 UTC
You could add an acpidump to this issue to point out exactly where the bug is. At a glance it's probably trying to use a variable that isn't in scope. Depending upon what the variable is used for it may cause that method to fail or it may just be cosmetic.
Comment 4 arthur 2022-08-21 16:12:12 UTC
Created attachment 301618 [details]
acpidump FIle

acipdump.txt added
Comment 5 arthur 2022-08-21 16:13:48 UTC
I added the acpidump File. Many thanks in advance
Comment 6 arthur 2022-08-21 16:17:51 UTC
Created attachment 301619 [details]
acpixtract added

acpixtract added
Comment 7 Mario Limonciello (AMD) 2022-08-21 21:38:24 UTC
The DSDT refers to an external method AFN4():

    External (_SB_.PCI0.LPC0.EC0_.AFN4, MethodObj)    // 1 Arguments

It then makes use of this twice in the function that showed the unable to resolve:

                                If (((Local0 != ACDC) || (ACDC == 0xFF)))
                                {
                                    CreateWordField (XX00, 0x00, SSZE)
                                    CreateByteField (XX00, 0x02, ACST)
                                    SSZE = 0x03
                                    ACDC = Local0
                                    If (ACDC)
                                    {
                                        AFN4 (0x01)
                                        ACST = 0x00
                                    }
                                    Else
                                    {
                                        AFN4 (0x02)
                                        ACST = 0x01
                                    }

                                    ALIB (0x01, XX00)
                                }

However nowhere in the DSDT or any of the SSDTs that you shared does AFN4 actually exist.  This is a BIOS bug and the kernel can't do anything about it.
Comment 8 arthur 2022-08-22 07:06:54 UTC
Thanks a lot. I think the kernel team cannot do anything so i close this issue.
Thanks for your help
Comment 9 arthur 2022-08-22 07:07:38 UTC
ok its already resolved. thanks
Comment 10 arthur 2022-08-22 07:09:18 UTC
is it better to downgrade the bios or are these errors just cosmetic?
Comment 11 Artem S. Tashkinov 2022-08-22 07:16:54 UTC
(In reply to arthur from comment #10)
> is it better to downgrade the bios or are these errors just cosmetic?

Mario Limonciello said: "Depending upon what the variable is used for it may cause that method to fail or it may just be cosmetic."

Just ignore them. I have yet to find a system which doesn't have ACPI errors/warnings under Linux.
Comment 12 arthur 2022-08-22 08:40:49 UTC
thanks a lot
Comment 13 Mario Limonciello (AMD) 2022-08-22 13:18:27 UTC
> Just ignore them. I have yet to find a system which doesn't have ACPI
> errors/warnings under Linux.

I don't think this is the correct attitude.  This very well may be the reason for bugs like https://bugzilla.kernel.org/show_bug.cgi?id=216347 for all you know.

Every time the ACPI interpreter reports a bug it should be fixed; either by the firmware or by the kernel (if the kernel is being too strict).
Comment 14 arthur 2022-08-22 13:30:46 UTC
Perhaps fwupd can do something: https://github.com/fwupd/firmware-lenovo/issues/262.
I did not find any lenovo instance to report a bug. Its frustrating. I asked the community: https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile-Workstations/ACPI-BIOS-Error-Bug-after-Bios-Upgrade/m-p/5165148?page=1#5723090
Comment 15 Mark Pearson 2022-08-22 15:33:01 UTC
Flagged to FW team (Internal ticket # LO-1974)
Mark
Comment 16 Artem S. Tashkinov 2022-08-26 06:33:28 UTC
(In reply to Mario Limonciello (AMD) from comment #13)
> I don't think this is the correct attitude.  This very well may be the
> reason for bugs like https://bugzilla.kernel.org/show_bug.cgi?id=216347 for
> all you know.
> 
> Every time the ACPI interpreter reports a bug it should be fixed; either by
> the firmware or by the kernel (if the kernel is being too strict).

In a perfect world, yes, however you alone cannot do that and lots of systems continue to have ACPI errors/warnings and other kernel hackers couldn't care less.

For instance there's this bug which affects literally millions of systems, a patch was suggested five (!) ago, yet seemingly no one gives a f:

https://bugzilla.kernel.org/show_bug.cgi?id=201885

It's "cosmetic" per se, but considering how simple the patch was and the fact that no one has upstreamed it, it all looks quite sad.

And it affects my AMD X570 system as well.
Comment 17 Mario Limonciello (AMD) 2022-08-26 12:15:21 UTC
> For instance there's this bug which affects literally millions of systems, a
> patch was suggested five (!) ago, yet seemingly no one gives a f:

I think this is guaranteed cosmetic though due to the difference of how Windows and Linux handle the ACPI-WMI repository currently.  It's well contained and understood.
 
> It's "cosmetic" per se, but considering how simple the patch was and the fact
> that no one has upstreamed it, it all looks quite sad.

Please feel free to take over and finish the fixups and send it!  This is the remaining comment:

"
I think you also need to audit all the users of wmi_block_list for
duplicate handling.  For example, wmi_install_notify_handler()
probably needs a break statement inside the if (memcmp(...)).
"
Comment 18 Mark Pearson 2022-09-29 16:48:23 UTC
For the P14s this has been fixed in BIOS R1MET51W/R1NET53W.
Release is scheduled for mid-October (it goes thru internal testing etc and delays can happen if issues are found)

Pretty sure I'm next gonna be asked 'what about other platforms' - I'm asking on those but _usually_ fixes get propagated to other platforms and it just takes time.

Mark
Comment 20 Mark Pearson 2022-12-09 15:40:06 UTC
FW is on LVFS - let me know if you still see problems
Mark

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