Re: [RFC] PCI: PTM Driver

From: Yong, Jonathan
Date: Fri Mar 11 2016 - 01:26:08 EST


On 02/29/2016 15:29, Yong, Jonathan wrote:
Hello LKML,

This is a preliminary implementation of the PTM[1] support driver, the code
is obviously hacked together and in need of refactoring. This driver has
only been tested against a virtual PCI bus.

The drivers job is to get to every PTM capable device, set some PCI config
space bits, then go back to sleep [2].

PTM capable PCIe devices will get a new sysfs entry to allow PTM to be
enabled if automatic PTM activation is disabled, or disabled if so desired.

Comments? Should I explain the PTM registers in more details?
Please CC me, thanks.

Ping?