[PATCH] powerpc/powernv: Add mmap to opal export sysfs nodes

2019-03-14 Thread Jordan Niethe
The sysfs nodes created under /opal/exports/ do not currently support mmap. Skiboot trace buffers are not yet added to this location but this is a suitable for them to be exported to. Adding mmap support makes using these trace buffers more convenient. The state in the header of the trace buffer is

[PATCH] powerpc/powernv: Add mmap to opal export sysfs nodes

2019-04-03 Thread Jordan Niethe
The sysfs nodes created under /opal/exports/ do not currently support mmap. Skiboot trace buffers are exported here with in the series https://patchwork.ozlabs.org/cover/1073501/. Adding mmap support makes it possible to use the functions for reading traces in external/trace. This improves on the c

Re: [PATCH] powerpc/powernv: Add mmap to opal export sysfs nodes

2019-04-01 Thread Oliver
On Fri, Mar 15, 2019 at 11:55 AM Jordan Niethe wrote: > > The sysfs nodes created under /opal/exports/ do not currently support > mmap. Skiboot trace buffers are not yet added to this location but > this is a suitable for them to be exported to. Adding mmap support makes > using these trace buffer