lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aKlqPoa6jeoNJEPc@wunner.de>
Date: Sat, 23 Aug 2025 09:14:06 +0200
From: Lukas Wunner <lukas@...ner.de>
To: liziyao@...ontech.com
Cc: Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
	linux-kernel@...r.kernel.org, loongarch@...ts.linux.dev,
	niecheng1@...ontech.com, zhanjun@...ontech.com,
	guanwentao@...ontech.com, Kexy Biscuit <kexybiscuit@...c.io>,
	Lain Fearyncess Yang <fsf@...e.com>, Mingcong Bai <jeffbai@...c.io>,
	Ayden Meng <aydenmeng@...h.net>
Subject: Re: [PATCH RESEND] PCI: Override PCIe bridge supported speeds for
 older Loongson 3C6000 series steppings

On Fri, Aug 22, 2025 at 05:15:58PM +0800, Ziyao via B4 Relay wrote:
> Older steppings of the Loongson 3C6000 series incorrectly report the
> supported link speeds on their PCIe bridges (device IDs 3c19, 3c29) as
> only 2.5 GT/s, despite the upstream bus supporting speeds from 2.5 GT/s
> up to 16 GT/s.

I assume these bridges (Root Ports?) are only found on LS3C6000 CPUs?

If so, please put the quirk in arch/loongarch/pci/pci.c or
drivers/pci/controller/pci-loongson.c alongside the existing fixups there.

drivers/pci/quirks.c is compiled on all arches and if these bridges
only exist on certain Loongson CPUs, the quirk isn't needed on other
arches and wastes memory.

Also, please consider adding entries for 3c19, 3c29 to the PCI IDs
database:

https://admin.pci-ids.ucw.cz/read/PC/0014

Thanks,

Lukas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ