Re: [PATCH 3/3] platform/x86: Intel PMT Telemetry capability driver

2020-05-07 Thread David E. Box
On Tue, 2020-05-05 at 16:49 +0300, Andy Shevchenko wrote: > ... > > > + /* TODO: replace with device properties??? */ > > So, please, fulfill. swnode I guess is what you are looking for. I kept the platform data in v2 because swnode properties doesn't look like a good fit. We are only

Re: [PATCH 3/3] platform/x86: Intel PMT Telemetry capability driver

2020-05-05 Thread David E. Box
On Tue, 2020-05-05 at 16:49 +0300, Andy Shevchenko wrote: > On Tue, May 5, 2020 at 5:32 AM David E. Box < > david.e@linux.intel.com> wrote: > > ... > > > Register mappings are not provided by the driver. Instead, a GUID > > is read > > from a header for each endpoint. The GUID identifies the

Re: [PATCH 3/3] platform/x86: Intel PMT Telemetry capability driver

2020-05-05 Thread Andy Shevchenko
On Tue, May 5, 2020 at 5:32 AM David E. Box wrote: ... > Register mappings are not provided by the driver. Instead, a GUID is read > from a header for each endpoint. The GUID identifies the device and is to > be used with an XML, provided by the vendor, to discover the available set > of

[PATCH 3/3] platform/x86: Intel PMT Telemetry capability driver

2020-05-04 Thread David E. Box
PMT Telemetry is a capability of the Intel Platform Monitoring Technology. The Telemetry capability provides access to device telemetry metrics that provide hardware performance data to users from continuous, memory mapped, read-only register spaces. Register mappings are not provided by the