Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2020-01-02 Thread David Gibson
On Thu, Dec 12, 2019 at 02:22:56PM +0530, Shivaprasad G Bhat wrote: > > > On 12/11/2019 01:35 PM, Igor Mammedov wrote: > > On Wed, 11 Dec 2019 09:44:11 +0530 > > Shivaprasad G Bhat wrote: > > > > > On 12/06/2019 07:22 AM, David Gibson wrote: > > > > On Wed, Nov 27, 2019 at 09:50:54AM +0530, Bha

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-12-16 Thread Shivaprasad G Bhat
Hi David, On 11/22/2019 10:00 AM, David Gibson wrote: On Mon, Oct 14, 2019 at 01:37:50PM -0500, Shivaprasad G Bhat wrote: --- index 62f1a42592..815167e42f 100644 --- a/hw/ppc/spapr_drc.c +++ b/hw/ppc/spapr_drc.c @@ -708,6 +708,17 @@ static void spapr_drc_phb_class_init(ObjectClass *k, void *da

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-12-12 Thread Shivaprasad G Bhat
On 12/11/2019 01:35 PM, Igor Mammedov wrote: On Wed, 11 Dec 2019 09:44:11 +0530 Shivaprasad G Bhat wrote: On 12/06/2019 07:22 AM, David Gibson wrote: On Wed, Nov 27, 2019 at 09:50:54AM +0530, Bharata B Rao wrote: On Fri, Nov 22, 2019 at 10:42 AM David Gibson wrote: Ok. A number of quer

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-12-11 Thread Igor Mammedov
On Wed, 11 Dec 2019 09:44:11 +0530 Shivaprasad G Bhat wrote: > On 12/06/2019 07:22 AM, David Gibson wrote: > > On Wed, Nov 27, 2019 at 09:50:54AM +0530, Bharata B Rao wrote: > >> On Fri, Nov 22, 2019 at 10:42 AM David Gibson > >> wrote: > >>> Ok. A number of queries about this. > >>> > >>>

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-12-10 Thread Shivaprasad G Bhat
On 12/06/2019 07:22 AM, David Gibson wrote: On Wed, Nov 27, 2019 at 09:50:54AM +0530, Bharata B Rao wrote: On Fri, Nov 22, 2019 at 10:42 AM David Gibson wrote: Ok. A number of queries about this. 1) The PAPR spec for ibm,dynamic-memory-v2 says that the first word in each entry is the numbe

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-12-05 Thread David Gibson
On Wed, Nov 27, 2019 at 09:50:54AM +0530, Bharata B Rao wrote: > On Fri, Nov 22, 2019 at 10:42 AM David Gibson > wrote: > > > > Ok. A number of queries about this. > > > > 1) The PAPR spec for ibm,dynamic-memory-v2 says that the first word in > > each entry is the number of LMBs, but for NVDIMMs

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-11-26 Thread Bharata B Rao
On Fri, Nov 22, 2019 at 10:42 AM David Gibson wrote: > > Ok. A number of queries about this. > > 1) The PAPR spec for ibm,dynamic-memory-v2 says that the first word in > each entry is the number of LMBs, but for NVDIMMs you use the > not-necessarily-equal scm_block_size instead. Does the NVDIMM

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-11-21 Thread David Gibson
On Mon, Oct 14, 2019 at 01:37:50PM -0500, Shivaprasad G Bhat wrote: > Add support for NVDIMM devices for sPAPR. Piggyback on existing nvdimm > device interface in QEMU to support virtual NVDIMM devices for Power. > Create the required DT entries for the device (some entries have > dummy values righ

[PATCH v3 2/3] spapr: Add NVDIMM device support

2019-10-14 Thread Shivaprasad G Bhat
Add support for NVDIMM devices for sPAPR. Piggyback on existing nvdimm device interface in QEMU to support virtual NVDIMM devices for Power. Create the required DT entries for the device (some entries have dummy values right now). The patch creates the required DT node and sends a hotplug interrup