Re: [PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-24 Thread Tom Hromatka
On 04/23/2018 11:52 AM, Greg KH wrote: On Mon, Apr 23, 2018 at 11:33:31AM -0600, Tom Hromatka wrote: SPARC M7 and newer processors utilize ADI to version and protect memory. This driver is capable of reading/writing ADI/MCD versions from privileged user space processes. Addresses in the adi

Re: [PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-24 Thread Tom Hromatka
On 04/23/2018 11:52 AM, Greg KH wrote: On Mon, Apr 23, 2018 at 11:33:31AM -0600, Tom Hromatka wrote: SPARC M7 and newer processors utilize ADI to version and protect memory. This driver is capable of reading/writing ADI/MCD versions from privileged user space processes. Addresses in the adi

Re: [PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-23 Thread Greg KH
On Mon, Apr 23, 2018 at 11:33:31AM -0600, Tom Hromatka wrote: > SPARC M7 and newer processors utilize ADI to version and > protect memory. This driver is capable of reading/writing > ADI/MCD versions from privileged user space processes. > Addresses in the adi file are mapped linearly to physical

Re: [PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-23 Thread Greg KH
On Mon, Apr 23, 2018 at 11:33:31AM -0600, Tom Hromatka wrote: > SPARC M7 and newer processors utilize ADI to version and > protect memory. This driver is capable of reading/writing > ADI/MCD versions from privileged user space processes. > Addresses in the adi file are mapped linearly to physical

[PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-23 Thread Tom Hromatka
SPARC M7 and newer processors utilize ADI to version and protect memory. This driver is capable of reading/writing ADI/MCD versions from privileged user space processes. Addresses in the adi file are mapped linearly to physical memory at a ratio of 1:adi_blksz. Thus, a read (or write) of offset

[PATCH v5 1/2] char: sparc64: Add privileged ADI driver

2018-04-23 Thread Tom Hromatka
SPARC M7 and newer processors utilize ADI to version and protect memory. This driver is capable of reading/writing ADI/MCD versions from privileged user space processes. Addresses in the adi file are mapped linearly to physical memory at a ratio of 1:adi_blksz. Thus, a read (or write) of offset