Re: [PATCH v4 1/4] PCI: designware: Use common LTSSM_STATE_MASK definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 27, 2015 at 2:20 PM, Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:

> Well, maybe.  Are those states documented in the DesignWare spec?  I

Unfortunately I cannot find them in DesignWare spec that I have access to.

> don't want to put things in pcie-designware.h that are only common by
> accident or even by convention.  We should only put things there if
> they are documented things that users of that IP can rely on.
>
> LTSSM_MASK is documented in the TI Keystone spec, so its definition
> probably belongs in pci-keystone-dw.c.  The same TI spec also contains
> LTSSM state definitions, so I suspect they're in the same boat --
> things that might accidentally be the same across devices, but they
> don't *have* to be.
>
> So I'm going to drop the following patches from my tree for now:
>
>   1ad5fdbc8410 PCI: designware: Add LTSSM state definitions
>   b09464f77dd2 PCI: designware: Use common LTSSM_STATE_L0 definition
>   fa15c15fd95d PCI: designware: Use common LTSSM_STATE_RCVRY_LOCK definition
>   4788fe6ebf45 PCI: designware: Use common LTSSM_STATE_MASK definition
>
> We can add pieces back if they make sense.  If we add things to shared
> files like pcie-designware.h, I'd like a reference to the DW spec that
> justifies the sharing.

Fair enough, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux