linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Krzysztof Wilczyński" <kw@linux.com>, linuxkernelml@undead.fr
Cc: linux-pci@vger.kernel.org, Bjorn Helgaas <helgaas@kernel.org>
Subject: Re: pci=no_e820 required for Clevo laptop
Date: Wed, 5 Oct 2022 15:43:34 +0200	[thread overview]
Message-ID: <e779bcf1-f99d-6b3e-1e9b-42b046f0950f@redhat.com> (raw)
In-Reply-To: <Yz2Hm99xHaJmdN6g@rocinante>

Hi,

On 10/5/22 15:33, Krzysztof Wilczyński wrote:
> (+CC Bjorn and Hans directly for visibility)
> 
> Hi Florent,
> 
> I am sorry that you are having issues!
> 
>> As per
>> https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt,
>> I am sending you this email to inform you that I need to set "pci=no_e820"
>> parameter to get the SSD and touchpad working.
>>
>> ---------------------------------------------------------------------
>>
>> Dmidecode:
>>
>> BIOS Information
>>     Vendor: INSYDE Corp.
>>     Version: 1.07.02TPCS
>>     Release Date: 08/19/2020
>>
>>     BIOS Revision: 7.2
>>     Firmware Revision: 7.2
>> Handle 0x0001, DMI type 1, 27 bytes
>> System Information
>>     Manufacturer: PC Specialist LTD
>>     Product Name: NL4x_NL5xLU
>> Base Board Information
>>     Manufacturer: CLEVO
>>     Product Name: NL4XLU
>>
>> uname -a
>> Linux topik 5.19.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1
>> (2022-09-24) x86_64 GNU/Linux
> 
> We need a little bit more information, if you have the time, to collect
> that will be of great help to us with troubleshooting this.
> 
> Would you be able to collect output from the following:
> 
>   - lspci -vvv
>   - dmesg (preferably since the system started)
> 
> Then, either attach these here as text attachments, or better yet, open
> a bug report against the PCI driver on Kernel's Bugzilla at
> 
>   https://bugzilla.kernel.org/
> 
> and include as much information as possible about your system as you can,
> plus the details mentioned above.  That would help greatly.

Yes if you can file a bug in: https://bugzilla.kernel.org/
with the requested logs attached so that we have those for
future reference, that would be great.

Note we already have one no_e820 DMI quirk for Clevo models,
so these models may just need another quirk, but first we
would like to better understand the problem.

For the existing quirk see: arch/x86/pci/acpi.c around line 180:

        /*
         * Clevo X170KM-G barebones have the same E820 reservation covering
         * the entire _CRS 32-bit window issue as the Lenovo *IIL* models.
         * See https://bugzilla.kernel.org/show_bug.cgi?id=214259
         */
        {
                .callback = set_no_e820,
                .ident = "Clevo X170KM-G Barebone",
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "X170KM-G"),
                },
        },

I'm a bit surprised this is needed for the SSD too though. Usually it
is just the touchpad + hotplugged (Thunderbolt) PCI devices which need this.

BTW please also attach the dmidecode.txt file generated by:

sudo dmidecode > dmidecode.txt

to the bug, since we need those strings to add the quirk. Note this will
also include serial-numbers for your device (if your model uses unique per
model serial numbers) feel free to edit the file and remove those.

Regards,

Hans



  reply	other threads:[~2022-10-05 13:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 18:35 pci=no_e820 required for Clevo laptop linuxkernelml
2022-10-05 13:33 ` Krzysztof Wilczyński
2022-10-05 13:43   ` Hans de Goede [this message]
2022-10-09 14:32     ` linuxkernelml

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=e779bcf1-f99d-6b3e-1e9b-42b046f0950f@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=helgaas@kernel.org \
    --cc=kw@linux.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxkernelml@undead.fr \
    /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;
as well as URLs for NNTP newsgroup(s).