Thread (43 messages) 43 messages, 7 authors, 2024-09-19

Re: [PATCH V4 02/12] PCI: Add TPH related register definition

From: Wei Huang <hidden>
Date: 2024-09-16 21:08:37
Also in: linux-doc, linux-pci, lkml


On 9/5/24 11:41 AM, Bjorn Helgaas wrote:
On Thu, Sep 05, 2024 at 10:08:33AM -0500, Wei Huang wrote:
quoted
On 9/4/24 14:52, Bjorn Helgaas wrote:
quoted
I think these modes should all include "ST" to clearly delineate
Steering Tags from the Processing Hints.  E.g.,

   PCI_TPH_CAP_ST_NO_ST       or maybe PCI_TPH_CAP_ST_NONE
Can I keep "NO_ST" instead of switching over to "ST_NONE"? First, it
matches with PCIe spec. Secondly, IMO "ST_NONE" implies no ST support at
all.
Sure.  Does PCI_TPH_CAP_ST_NO_ST work for you?  That follows the same
PCI_TPH_CAP_ST_* pattern as below.
So I tweaked a bit in V5 to make them look cleaner: instead of ST_NO_ST, 
V5 has ST_NS. Similar pattern applies to other modes:

PCI_TPH_CAP_NO_ST =>    PCI_TPH_CAP_ST_NS
PCI_TPH_CAP_INT_VEC =>  PCI_TPH_CAP_ST_IV
PCI_TPH_CAP_DEV_SPEC => PCI_TPH_CAP_ST_DS

Ctrl register has similar changes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help