linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pci=no_e820 required for Clevo laptop
@ 2022-10-04 18:35 linuxkernelml
  2022-10-05 13:33 ` Krzysztof Wilczyński
  0 siblings, 1 reply; 4+ messages in thread
From: linuxkernelml @ 2022-10-04 18:35 UTC (permalink / raw)
  To: linux-pci

Hi,

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

---------------------------------------------------------------------

Regards,

Florent DELAHAYE


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pci=no_e820 required for Clevo laptop
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Wilczyński @ 2022-10-05 13:33 UTC (permalink / raw)
  To: linuxkernelml; +Cc: linux-pci, Bjorn Helgaas, Hans de Goede

(+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.

Thank you!

	Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pci=no_e820 required for Clevo laptop
  2022-10-05 13:33 ` Krzysztof Wilczyński
@ 2022-10-05 13:43   ` Hans de Goede
  2022-10-09 14:32     ` linuxkernelml
  0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2022-10-05 13:43 UTC (permalink / raw)
  To: Krzysztof Wilczyński, linuxkernelml; +Cc: linux-pci, Bjorn Helgaas

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: pci=no_e820 required for Clevo laptop
  2022-10-05 13:43   ` Hans de Goede
@ 2022-10-09 14:32     ` linuxkernelml
  0 siblings, 0 replies; 4+ messages in thread
From: linuxkernelml @ 2022-10-09 14:32 UTC (permalink / raw)
  To: Hans de Goede, Krzysztof Wilczyński; +Cc: linux-pci, Bjorn Helgaas

Hi Hans/Krzysztof,

Thank you for your answers. Indeed you can forget about the SSD issue, 
it was due to other various kernel parameters so the issue is only 
related to the touchpad.

I have been following discussions about e820 PCI BAR reservation issue 
for months and it seems that my laptop is part of buggy ones that have 
been identified (Clevo, bought in 2020).

I have created https://bugzilla.kernel.org/show_bug.cgi?id=216565 so 
that you can add another quirk.

Regards,

Florent


Le 05/10/2022 à 15:43, Hans de Goede a écrit :
> 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
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-09 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-10-09 14:32     ` linuxkernelml

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).