Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-14 Thread Michael Ellerman
Dan Williams writes: > On Sat, Oct 13, 2018 at 5:08 AM Michael Ellerman wrote: >> >> Dan Williams writes: >> > On Tue, Oct 9, 2018 at 11:21 PM Oliver O'Halloran wrote: >> >> >> >> Adds a driver that implements support for enabling and accessing PAPR >> >> SCM regions. Unfortunately due to how t

Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-14 Thread Oliver
On Sat, Oct 13, 2018 at 9:37 AM Dan Williams wrote: > > On Tue, Oct 9, 2018 at 11:21 PM Oliver O'Halloran wrote: > > > > Adds a driver that implements support for enabling and accessing PAPR > > SCM regions. Unfortunately due to how the PAPR interface works we can't > > use the existing of_pmem d

Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-13 Thread Dan Williams
On Sat, Oct 13, 2018 at 5:08 AM Michael Ellerman wrote: > > Dan Williams writes: > > On Tue, Oct 9, 2018 at 11:21 PM Oliver O'Halloran wrote: > >> > >> Adds a driver that implements support for enabling and accessing PAPR > >> SCM regions. Unfortunately due to how the PAPR interface works we can

Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-13 Thread Michael Ellerman
Dan Williams writes: > On Tue, Oct 9, 2018 at 11:21 PM Oliver O'Halloran wrote: >> >> Adds a driver that implements support for enabling and accessing PAPR >> SCM regions. Unfortunately due to how the PAPR interface works we can't >> use the existing of_pmem driver (yet) because: >> ... >> + >> +

Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-12 Thread Dan Williams
On Tue, Oct 9, 2018 at 11:21 PM Oliver O'Halloran wrote: > > Adds a driver that implements support for enabling and accessing PAPR > SCM regions. Unfortunately due to how the PAPR interface works we can't > use the existing of_pmem driver (yet) because: > > a) The guest is required to use the H_S

Re: [PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-10 Thread Michael Ellerman
Oliver O'Halloran writes: > Adds a driver that implements support for enabling and accessing PAPR > SCM regions. Unfortunately due to how the PAPR interface works we can't > use the existing of_pmem driver (yet) because: > > a) The guest is required to use the H_SCM_BIND_MEM h-call to add >

[PATCH 2/2] powerpc/pseries: Add driver for PAPR SCM regions

2018-10-09 Thread Oliver O'Halloran
Adds a driver that implements support for enabling and accessing PAPR SCM regions. Unfortunately due to how the PAPR interface works we can't use the existing of_pmem driver (yet) because: a) The guest is required to use the H_SCM_BIND_MEM h-call to add add the SCM region to it's physical add