On 27/02/17 21:56, Michael Ellerman wrote:
+/* HDAT attribute for sysfs */
+static struct bin_attribute hdat_attr = {
+ .attr = {.name = "hdat", .mode = 0444},
ajd and oohal report to my office.
...ACK... :/
--
Andrew Donnellan
Oliver O'Halloran writes:
> On Mon, Feb 27, 2017 at 9:56 PM, Michael Ellerman wrote:
>> Matt Brown writes:
>>> diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c
>>> b/arch/powerpc/platforms/powernv/opal-hdat.c
>>> new file mode 100644
>>> index 000..3315dd3
>>> --- /dev/null
>>> +++
On Mon, Feb 27, 2017 at 9:56 PM, Michael Ellerman wrote:
> Matt Brown writes:
>> diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c
>> b/arch/powerpc/platforms/powernv/opal-hdat.c
>> new file mode 100644
>> index 000..3315dd3
>> --- /dev/null
>> +++ b/arch/powerpc/platforms/powernv/opal
Matt Brown writes:
> diff --git a/arch/powerpc/platforms/powernv/opal-hdat.c
> b/arch/powerpc/platforms/powernv/opal-hdat.c
> new file mode 100644
> index 000..3315dd3
> --- /dev/null
> +++ b/arch/powerpc/platforms/powernv/opal-hdat.c
> @@ -0,0 +1,65 @@
...
> +
> +
> +/* HDAT attribute for sy
Andrew Donnellan writes:
> On 24/02/17 17:20, 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
>> /d
On Mon, Feb 27, 2017 at 12:59 PM, Andrew Donnellan
wrote:
> On 24/02/17 17:20, 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.
On 24/02/17 17:20, 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 i
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.
Sign