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>] [day] [month] [year] [list]
Message-Id: <201202151248.34578.roman.fietze@telemotive.de>
Date:	Wed, 15 Feb 2012 12:48:34 +0100
From:	Roman Fietze <roman.fietze@...emotive.de>
To:	Shaohua Li <shaohua.li@...el.com>
Cc:	linux-kernel@...r.kernel.org
Subject: ASPM, devices with mixed PCIe/PCI functions

Hello,

I'm referring to commit ddc9753fcddfe5f.

On our system we use a PCIe-Local-Bridge, the PEX8311, which
internally is a quick and dirty design glued together using a PEX8111
and a PEX9056. I'm now just talking about the PEX8111, which is a PCIe
to PCI-X bridge.

The function pcie_aspm_sanity_check() in drivers/pci/pcie/aspm.c
disables ASPM for this bridge, because the child (PEX9056) is not
PCIe, hereby disabling power savings on the upstream PCIe link.

Is this a flaw? What is the reason for this? Could please someone with
more PCI(e) knowledge enlighten me?

I'm of course willing to deliver a patch to fix this (IMHO) problem,
but this only makes sense if I'm not totally wrong in my assumption,
that ASPM should be enabled on such devices (besides the fact, that
the PEX8111 does not have PCI_EXP_DEVCAP_RBER set).


Roman

-- 
Roman Fietze              Telemotive AG Buero Muehlhausen
Breitwiesen                             73347 Muehlhausen
Tel.: +49(0)7335/18493-45        http://www.telemotive.de
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ