RE: [PATCH v2] Export PBEC Data register into sysfs

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

 



> Hello,
> 
> > This proposal aims to add a feature that outputs PCIe device power
> > consumption information to sysfs.
> >
> > Add support for PBEC (Power Budgeting Extended Capability) output to
> > the PCIe driver. PBEC is defined in the PCIe specification(PCIe r6.0,
> > sec 7.8.1) and is a standard method for obtaining device power
> > consumption information.
> >
> > PCIe devices can significantly impact the overall power consumption of
> > a system. However, obtaining PCIe device power consumption information
> > has traditionally been difficult.
> >
> > The PBEC Data register changes depending on the value of the PBEC Data
> > Select register. To obtain all PBEC Data register values defined in
> > the device, obtain the value of the PBEC Data register while changing
> > the value of the PBEC Data Select register.
> 
> Kobayashi-san, we are missing the ABI documentation, which is all that's left
> to get this series merged.  Perhaps even this cycle if you post a v3 somewhat
> soon ish. お願いします。
> 
> An example of a series which shows how to do it:
> 
>   -
> https://lore.kernel.org/linux-pci/166336088796.3597940.149734999366925585
> 56.stgit@omen
> 
> The sysfs documentation (see section at the bottom):
> 
>   - https://www.kernel.org/doc/html/latest/filesystems/sysfs.html
> 
> 	Krzysztof

I understand your point and thank you for providing the example.
I'll be able to post v3 early next week.
I appreciate it. Thank you.




[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