Re: [v6] powerpc/powernv: add hdat attribute to sysfs

2017-03-21 Thread Andrew Donnellan
On 22/03/17 10:53, Matt Brown wrote: The HDAT data area is consumed by skiboot and turned into a device-tree. In some cases we would like to look directly at the HDAT, so this patch adds a sysfs node to allow it to be viewed. This is not possible through /dev/mem as it is reserved memory which

[v6] powerpc/powernv: add hdat attribute to sysfs

2017-03-21 Thread Matt Brown
The HDAT data area is consumed by skiboot and turned into a device-tree. In some cases we would like to look directly at the HDAT, so this patch adds a sysfs node to allow it to be viewed. This is not possible through /dev/mem as it is reserved memory which is stopped by the /dev/mem filter.