Re: [RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-28 Thread Jiang Liu
On 07/25/2012 05:09 AM, Don Dutile wrote: > On 07/24/2012 12:31 PM, Jiang Liu wrote: >> From: Jiang Liu >> >> As suggested by Bjorn Helgaas and Don Dutile in threads >> http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access >> to PCIe capabilities register in to way: >> 1)

Re: [RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-28 Thread Jiang Liu
On 07/25/2012 05:09 AM, Don Dutile wrote: On 07/24/2012 12:31 PM, Jiang Liu wrote: From: Jiang Liuliu...@gmail.com As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way:

Re: [RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-24 Thread Don Dutile
On 07/24/2012 12:31 PM, Jiang Liu wrote: From: Jiang Liu As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way: 1) cache content of PCIe Capabilities Register into struct

[RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-24 Thread Jiang Liu
From: Jiang Liu As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way: 1) cache content of PCIe Capabilities Register into struct pce_dev to avoid repeatedly reading this

[RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-24 Thread Jiang Liu
From: Jiang Liu liu...@gmail.com As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way: 1) cache content of PCIe Capabilities Register into struct pce_dev to avoid repeatedly

Re: [RFC PATCH v2 00/32] provide interfaces to access PCIe capabilities registers

2012-07-24 Thread Don Dutile
On 07/24/2012 12:31 PM, Jiang Liu wrote: From: Jiang Liuliu...@gmail.com As suggested by Bjorn Helgaas and Don Dutile in threads http://www.spinics.net/lists/linux-pci/msg15663.html, we could improve access to PCIe capabilities register in to way: 1) cache content of PCIe Capabilities Register