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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 2 Apr 2019 14:21:50 -0500
From:   Bjorn Helgaas <helgaas@...nel.org>
To:     Thierry Reding <thierry.reding@...il.com>
Cc:     Vidya Sagar <vidyas@...dia.com>, mark.rutland@....com,
        heiko@...ech.de, hayashi.kunihiko@...ionext.com,
        maxime.ripard@...tlin.com, catalin.marinas@....com,
        spujar@...dia.com, will.deacon@....com, kthota@...dia.com,
        mperttunen@...dia.com, linux-tegra@...r.kernel.org,
        jonathanh@...dia.com, stefan.wahren@...e.com,
        lorenzo.pieralisi@....com, krzk@...nel.org, kishon@...com,
        tiwai@...e.de, jagan@...rulasolutions.com,
        linux-pci@...r.kernel.org, andy.gross@...aro.org,
        shawn.lin@...k-chips.com, devicetree@...r.kernel.org,
        mmaddireddy@...dia.com, marc.w.gonzalez@...e.fr,
        liviu.dudau@....com, yue.wang@...ogic.com,
        enric.balletbo@...labora.com, robh+dt@...nel.org,
        horms+renesas@...ge.net.au, bjorn.andersson@...aro.org,
        ezequiel@...labora.com, linux-arm-kernel@...ts.infradead.org,
        xiaowei.bao@....com, gustavo.pimentel@...opsys.com,
        linux-kernel@...r.kernel.org, skomatineni@...dia.com,
        jingoohan1@...il.com, olof@...om.net, tpiepho@...inj.com,
        l.stach@...gutronix.de
Subject: Re: [PATCH 05/10] dt-bindings: PCI: tegra: Add device tree support
 for T194

On Mon, Apr 01, 2019 at 05:07:40PM +0200, Thierry Reding wrote:
> On Mon, Apr 01, 2019 at 03:31:54PM +0530, Vidya Sagar wrote:
> > On 3/28/2019 6:45 PM, Thierry Reding wrote:
> > > On Tue, Mar 26, 2019 at 08:43:22PM +0530, Vidya Sagar wrote:
> > > > Add support for Tegra194 PCIe controllers. These controllers are based
> > > > on Synopsys DesignWare core IP.

> > > > +- nvidia,disable-aspm-states : controls advertisement of ASPM states
> > > > +    bit-0 to '1' : disables advertisement of ASPM-L0s
> > > > +    bit-1 to '1' : disables advertisement of ASPM-L1. This also disables
> > > > +                 advertisement of ASPM-L1.1 and ASPM-L1.2
> > > > +    bit-2 to '1' : disables advertisement of ASPM-L1.1
> > > > +    bit-3 to '1' : disables advertisement of ASPM-L1.2
> > > 
> > > These seem more like configuration options rather than hardware
> > > description.
> > Yes. Since the platforms like Jetson-Xavier based on T194 are going to go in
> > open market, we are providing these configuration options and hence they are
> > optional
> 
> Under what circumstances would we want to disable certain ASPM states?
> My understanding is that PCI device drivers can already disable
> individual ASPM states if they don't support them, so why would we ever
> want to disable advertisement of certain ASPM states?

The PCI core (not individual device drivers) configures ASPM, and if both
ends of the link implement the spec correctly, there is nothing the device
driver needs to do.

There *are* a few drivers that fiddle with ASPM-related things.  I think
this is because either the core isn't doing things correctly and we haven't
bothered to fix the root cause, or the device itself is broken and we need
to disable something the hardware claims to support.

Bjorn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ