mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: Matthew Bettencourt <matthew.bettencourt@gmail.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] SPD5118 Intermittent MR11 Corruption During Suspend/Resume
Date: Wed, 2 Sep 2026 21:31:07 +0200	[thread overview]
Message-ID: <474a37bb-0774-4710-8458-ea28d7c54c89@gmx.de> (raw)
In-Reply-To: <a5d32ab5-f545-4e11-bf0b-88d3eaa68890@gmail.com>

Am 02.09.26 um 21:25 schrieb Matthew Bettencourt:

> Hello Armin,
>
> Here is the output of /proc/iomem and /proc/ioports. I made sure to 
> grab each with root privileges.
>
>
> # cat /proc/iomem
> 00000000-00000fff : Reserved
> 00001000-0009ffff : System RAM
> 000a0000-000fffff : Reserved
>   000a0000-000dffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-099fefff : System RAM
> 099ff000-09ffffff : Reserved
> 0a000000-0a1fffff : System RAM
> 0a200000-0a21dfff : ACPI Non-volatile Storage
> 0a21e000-0affffff : System RAM
> 0b000000-0b020fff : Reserved
> 0b021000-7c638fff : System RAM
> 7c639000-7c679fff : Reserved
> 7c67a000-7e24bfff : System RAM
> 7e24c000-7e24cfff : Reserved
> 7e24d000-8307efff : System RAM
> 8307f000-911fefff : Reserved
>   911ce000-911d1fff : MSFT0101:00
>     911ce000-911d1fff : MSFT0101:00
>   911d2000-911d5fff : MSFT0101:00
>     911d2000-911d5fff : MSFT0101:00
> 911ff000-931fefff : ACPI Non-volatile Storage
> 931ff000-951fefff : ACPI Tables
> 951ff000-9b014fff : System RAM
> 9b015000-9b016fff : ACPI Non-volatile Storage
> 9b017000-9bff6fff : System RAM
> 9bff7000-9bffbfff : Reserved
> 9bffc000-9bffffff : System RAM
> 9c000000-9dffffff : Reserved
> 9e7f3000-9e7fffff : Reserved
> a0000000-dfffffff : PCI Bus 0000:00
>   ac000000-dc7fffff : PCI Bus 0000:11
>     ac000000-dc7fffff : PCI Bus 0000:12
>       ac000000-c3ffffff : PCI Bus 0000:43
>       c4000000-dbffffff : PCI Bus 0000:13
>       dc000000-dc3fffff : PCI Bus 0000:74
>         dc000000-dc03ffff : 0000:74:00.0
>           dc000000-dc03ffff : thunderbolt
>         dc040000-dc04ffff : 0000:74:00.0
>       dc400000-dc7fffff : PCI Bus 0000:73
>         dc400000-dc407fff : 0000:73:00.0
>           dc400000-dc407fff : xhci-hcd
>   dd000000-de0fffff : PCI Bus 0000:75
>     dd000000-dd7fffff : 0000:75:00.1
>       dd000000-dd7fffff : sfc
>     dd800000-ddffffff : 0000:75:00.0
>       dd800000-ddffffff : sfc
>     de000000-de03ffff : 0000:75:00.1
>     de040000-de07ffff : 0000:75:00.0
>     de080000-de083fff : 0000:75:00.1
>     de084000-de087fff : 0000:75:00.0
>   de200000-de6fffff : PCI Bus 0000:05
>     de200000-de6fffff : PCI Bus 0000:06
>       de200000-de2fffff : PCI Bus 0000:10
>         de200000-de27ffff : 0000:10:00.0
>         de280000-de2803ff : 0000:10:00.0
>           de280000-de2803ff : ahci
>       de300000-de3fffff : PCI Bus 0000:0f
>         de300000-de307fff : 0000:0f:00.0
>           de300000-de307fff : xhci-hcd
>       de400000-de4fffff : PCI Bus 0000:0e
>         de400000-de403fff : 0000:0e:00.0
>           de400000-de403fff : nvme
>       de500000-de5fffff : PCI Bus 0000:0a
>         de500000-de50ffff : 0000:0a:00.0
>           de500000-de50ffff : r8169
>         de510000-de513fff : 0000:0a:00.0
>       de600000-de6fffff : PCI Bus 0000:09
>         de600000-de6fffff : 0000:09:00.0
>           de600000-de6fffff : rtw89_pci
>   de700000-deafffff : PCI Bus 0000:76
>     de700000-de7fffff : 0000:76:00.4
>       de700000-de7fffff : xhci-hcd
>     de800000-de8fffff : 0000:76:00.3
>       de800000-de8fffff : xhci-hcd
>     de900000-de9fffff : 0000:76:00.2
>       de900000-de9fffff : ccp
>     dea00000-dea07fff : 0000:76:00.6
>       dea00000-dea07fff : ICH HD audio
>     dea08000-dea09fff : 0000:76:00.2
>       dea08000-dea09fff : ccp
>   deb00000-dedfffff : PCI Bus 0000:01
>     deb00000-decfffff : PCI Bus 0000:02
>       deb00000-decfffff : PCI Bus 0000:03
>         deb00000-debfffff : 0000:03:00.0
>         dec00000-dec1ffff : 0000:03:00.0
>         dec20000-dec23fff : 0000:03:00.1
>           dec20000-dec23fff : ICH HD audio
>     ded00000-ded03fff : 0000:01:00.0
>   dee00000-deefffff : PCI Bus 0000:77
>     dee00000-deefffff : 0000:77:00.0
>       dee00000-deefffff : xhci-hcd
>   def00000-deffffff : PCI Bus 0000:04
>     def00000-def03fff : 0000:04:00.0
>       def00000-def03fff : nvme
> e0000000-efffffff : PCI ECAM 0000 [bus 00-ff]
>   e0000000-efffffff : PNP0C01:00
> f0000000-f1ffffff : PCI Bus 0000:00
> f2000000-f6ffffff : PCI Bus 0000:00
> f7210510-f721053f : MSFT0101:00
> f7600000-f767ffff : amd_iommu
> feb00000-feb00007 : SB800 TCO
> fec00000-fec003ff : IOAPIC 0
> fec01000-fec013ff : IOAPIC 1
> fec10000-fec10fff : PNP0C02:03
> fec40000-fec40fff : AMDIF031:00
>   fec40000-fec40fff : AMDIF031:00 AMDIF031:00
> fed00000-fed003ff : HPET 0
>   fed00000-fed003ff : PNP0103:00
> fed81500-fed818ff : AMDI0030:00
>   fed81500-fed818ff : AMDI0030:00 AMDI0030:00
> fedc0000-fedc0fff : PNP0C02:03
> fedc2000-fedc2fff : AMDI0010:00
>   fedc2000-fedc2fff : AMDI0010:00 AMDI0010:00
> fedc3000-fedc3fff : AMDI0010:01
>   fedc3000-fedc3fff : AMDI0010:01 AMDI0010:01
> fee00000-fee00fff : Reserved
>   fee00000-fee00fff : PNP0C02:03
> ff000000-ffffffff : PNP0C02:03
> 100000000-105de7ffff : System RAM
>   6cc600000-6cd85356f : Kernel code
>   6cda00000-6ce95cfff : Kernel rodata
>   6cea00000-6ced3b23f : Kernel data
>   6cf660000-6cfbfffff : Kernel bss
> 105de80000-105eebffff : RAM buffer
> 105eec0000-105fffffff : Reserved
> 1060000000-fcffffffff : PCI Bus 0000:00
>   b000000000-efffffffff : PCI Bus 0000:11
>     b000000000-efffffffff : PCI Bus 0000:12
>       b000000000-cfffffffff : PCI Bus 0000:43
>       d000000000-efffffffff : PCI Bus 0000:13
>   f000000000-f80fffffff : PCI Bus 0000:01
>     f000000000-f80fffffff : PCI Bus 0000:02
>       f000000000-f80fffffff : PCI Bus 0000:03
>         f000000000-f7ffffffff : 0000:03:00.0
>         f800000000-f80fffffff : 0000:03:00.0
> fd00000000-ffffffffff : Reserved
> 3ffa00000000-3fffffffffff : 0000:03:00.0
> # cat /proc/ioports
> 0000-03af : PCI Bus 0000:00
>   0000-001f : dma1
>   0020-0021 : pic1
>   0040-0043 : timer0
>   0050-0053 : timer1
>   0060-0060 : keyboard
>   0061-0061 : PNP0800:00
>   0064-0064 : keyboard
>   0070-0071 : PNP0B00:00
>     0070-0071 : rtc0
>   0080-008f : dma page reg
>   00a0-00a1 : pic2
>   00b4-00b4 : ACPI PM2_CNT_BLK
>   00c0-00df : dma2
>   00f0-00ff : fpu
>   0280-028f : PNP0C02:02
>   0290-029f : PNP0C02:02
>   02a0-02af : PNP0C02:02
>   02b0-02bf : PNP0C02:02
> 03b0-03df : PCI Bus 0000:00
> 03e0-0cf7 : PCI Bus 0000:00
>   040b-040b : PNP0C02:03
>   04d0-04d1 : PNP0C02:03
>   04d6-04d6 : PNP0C02:03
>   0800-089f : PNP0C02:03
>     0800-0803 : ACPI PM1a_EVT_BLK
>     0804-0805 : ACPI PM1a_CNT_BLK
>     0808-080b : ACPI PM_TMR
>     0820-0827 : ACPI GPE0_BLK
>   0900-090f : PNP0C02:03
>   0910-091f : PNP0C02:03
>   0b00-0b0f : PNP0C02:03
>     0b00-0b08 : piix4_smbus
>   0b20-0b3f : PNP0C02:03
>     0b20-0b28 : piix4_smbus

Bingo, ACPI is telling the OS that those port ranges are reserved by the firmware.
For some reason the check inside the driver does not pick this up.

Does dmesg contain any lines similar to "Resource conflict; ACPI support missing from driver?"?

Thanks,
Armin Wolf

> 0c00-0c01 : PNP0C02:03
>   0c14-0c14 : PNP0C02:03
>   0c50-0c51 : PNP0C02:03
>   0c52-0c52 : PNP0C02:03
>   0c6c-0c6c : PNP0C02:03
>   0c6f-0c6f : PNP0C02:03
>   0cd8-0cdf : PNP0C02:03
> 0cf8-0cff : PCI conf1
> 0d00-ffff : PCI Bus 0000:00
>   6000-bfff : PCI Bus 0000:11
>     6000-bfff : PCI Bus 0000:12
>       6000-8fff : PCI Bus 0000:43
>       9000-bfff : PCI Bus 0000:13
>   c000-dfff : PCI Bus 0000:05
>     c000-dfff : PCI Bus 0000:06
>       c000-cfff : PCI Bus 0000:0a
>         c000-c0ff : 0000:0a:00.0
>       d000-dfff : PCI Bus 0000:09
>         d000-d0ff : 0000:09:00.0
>           d000-d0ff : rtw89_pci
>   e000-efff : PCI Bus 0000:75
>     e000-e0ff : 0000:75:00.1
>     e100-e1ff : 0000:75:00.0
>   f000-ffff : PCI Bus 0000:01
>     f000-ffff : PCI Bus 0000:02
>       f000-ffff : PCI Bus 0000:03
>         f000-f0ff : 0000:03:00.0
>
>
>
>
> On 9/2/26 2:19 PM, Armin Wolf wrote:
>> Am 02.09.26 um 19:28 schrieb Matthew Bettencourt:
>>
>>> Hello Armin,
>>>
>>> Here is the acpi.log file as requested.
>>>
>> Thanks,
>>
>> i suspect that the BIOS tries to use a PNP0C02 device to tell the 
>> kernel that
>> the SMBus controller is being driven by ACPI. Can you share the 
>> content of /proc/iomem
>> and /proc/ioports (with root privileges!)?
>>
>> Thanks,
>> Armin Wolf
>>
>>> Thanks,
>>> Matthew
>>>
>>> On 9/2/26 12:22 PM, Armin Wolf wrote:
>>>> Am 02.09.26 um 19:08 schrieb Matthew Bettencourt:
>>>>
>>>>> Hi Armin,
>>>>>
>>>>> Are you want the acpi.log file or are you asking me to print out 
>>>>> all the .dat files?
>>>>
>>>> Sharing the acpi.log file as an attachment should be fine.
>>>>
>>>> Thanks,
>>>> Armin Wolf
>>>>
>>>>>
>>>>> $ ls -1 | grep -iE ".dat|acpi.log"
>>>>> acpi.log
>>>>> dsdt.dat
>>>>> ssdt10.dat
>>>>> ssdt11.dat
>>>>> ssdt12.dat
>>>>> ssdt13.dat
>>>>> ssdt14.dat
>>>>> ssdt15.dat
>>>>> ssdt16.dat
>>>>> ssdt1.dat
>>>>> ssdt2.dat
>>>>> ssdt3.dat
>>>>> ssdt4.dat
>>>>> ssdt5.dat
>>>>> ssdt6.dat
>>>>> ssdt7.dat
>>>>> ssdt8.dat
>>>>> ssdt9.dat
>>>>>
>>>>> Thanks,
>>>>> Matthew
>

  reply	other threads:[~2026-09-02 19:31 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-30 23:21 Matthew Bettencourt
2026-08-31 15:12 ` Guenter Roeck
2026-08-31 17:28   ` Guenter Roeck
2026-08-31 23:36     ` Matthew Bettencourt
     [not found]     ` <37132c40-aa82-4df1-b5ce-337601f3c085@gmail.com>
     [not found]       ` <3c4e9f59-5272-48cf-a4a0-eeefcba955a9@roeck-us.net>
2026-09-01  0:16         ` Matthew Bettencourt
2026-09-01  3:10           ` Guenter Roeck
2026-09-01 16:31             ` Matthew Bettencourt
2026-09-01 17:04               ` Guenter Roeck
2026-09-01 20:53                 ` Matthew Bettencourt
2026-09-01 22:36                   ` Guenter Roeck
2026-09-02  0:57                     ` Matthew Bettencourt
2026-09-02  1:32                       ` Guenter Roeck
2026-09-02  2:14                         ` Matthew Bettencourt
2026-09-02  3:19                           ` Guenter Roeck
2026-09-02 14:00                             ` Matthew Bettencourt
2026-09-02 14:52                               ` Guenter Roeck
2026-09-02 15:26                                 ` Matthew Bettencourt
2026-09-02 17:21                                   ` Guenter Roeck
2026-09-02 17:37                                     ` Matthew Bettencourt
2026-09-02 16:57                               ` Armin Wolf
2026-09-02 17:08                                 ` Matthew Bettencourt
2026-09-02 17:22                                   ` Armin Wolf
2026-09-02 17:28                                     ` Matthew Bettencourt
2026-09-02 19:19                                       ` Armin Wolf
2026-09-02 19:25                                         ` Matthew Bettencourt
2026-09-02 19:31                                           ` Armin Wolf [this message]
2026-09-02 19:40                                             ` Matthew Bettencourt
2026-09-02 19:51                                               ` Armin Wolf
2026-09-03 18:01                                                 ` Matthew Bettencourt
2026-09-03 18:16                                                   ` Guenter Roeck
2026-09-03 18:25                                                     ` Matthew Bettencourt
2026-09-03 21:05                                                       ` Guenter Roeck
2026-09-03 22:47                                                         ` Armin Wolf
2026-09-04  0:24                                                           ` Matthew Bettencourt
2026-09-04 17:58                                                             ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474a37bb-0774-4710-8458-ea28d7c54c89@gmx.de \
    --to=w_armin@gmx.de \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=matthew.bettencourt@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®