qemu-patch-raspberry4/default-configs
Shivaprasad G Bhat ee3a71e366 spapr: Add NVDIMM device support
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
interrupt to the guest. Guest is expected to undertake the normal
DR resource add path in response and start issuing PAPR SCM hcalls.

The device support is verified based on the machine version unlike x86.

This is how it can be used ..
Ex :
For coldplug, the device to be added in qemu command line as shown below
-object memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
-device nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0

For hotplug, the device to be added from monitor as below
object_add memory-backend-file,id=memnvdimm0,prealloc=yes,mem-path=/tmp/nvdimm0,share=yes,size=1073872896
device_add nvdimm,label-size=128k,uuid=75a3cdd7-6a2f-4791-8d15-fe0a920e8e9e,memdev=memnvdimm0,id=nvdimm0,slot=0

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
               [Early implementation]
Message-Id: <158131058078.2897.12767731856697459923.stgit@lep8c.aus.stglabs.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-02-21 09:15:04 +11:00
..
aarch64-linux-user.mak
aarch64-softmmu.mak hw/arm: Add arm SBSA reference machine, skeleton part 2019-07-01 17:29:00 +01:00
aarch64_be-linux-user.mak
alpha-linux-user.mak
alpha-softmmu.mak alpha-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
arm-linux-user.mak
arm-softmmu.mak hw/misc: Add the STM32F4xx Sysconfig device 2020-01-17 14:09:29 +00:00
armeb-linux-user.mak
cris-linux-user.mak
cris-softmmu.mak cris-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
hppa-linux-user.mak
hppa-softmmu.mak hppa-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
i386-bsd-user.mak
i386-linux-user.mak
i386-softmmu.mak hw/i386: Introduce the microvm machine type 2019-10-22 09:39:54 +02:00
lm32-softmmu.mak semihosting: introduce CONFIG_SEMIHOSTING 2019-05-28 10:28:50 +01:00
m68k-linux-user.mak
m68k-softmmu.mak hw/m68k: add VIA support 2019-10-28 19:06:42 +01:00
microblaze-linux-user.mak
microblaze-softmmu.mak microblaze-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
microblazeel-linux-user.mak
microblazeel-softmmu.mak
mips-linux-user.mak
mips-softmmu-common.mak hw/mips: Express dependencies of the r4k platform with Kconfig 2019-07-02 14:18:13 +02:00
mips-softmmu.mak
mips64-linux-user.mak
mips64-softmmu.mak hw/mips: Express dependencies of the Jazz machine with Kconfig 2019-07-02 14:18:05 +02:00
mips64el-linux-user.mak
mips64el-softmmu.mak hw/mips: Express dependencies of the Jazz machine with Kconfig 2019-07-02 14:18:05 +02:00
mipsel-linux-user.mak
mipsel-softmmu.mak
mipsn32-linux-user.mak
mipsn32el-linux-user.mak
moxie-softmmu.mak moxie-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
nios2-linux-user.mak
nios2-softmmu.mak semihosting: introduce CONFIG_SEMIHOSTING 2019-05-28 10:28:50 +01:00
or1k-linux-user.mak
or1k-softmmu.mak or1k-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
ppc-linux-user.mak
ppc-softmmu.mak hw/ppc/Kconfig: Restrict the MPC I2C controller to e500-based platforms 2020-01-07 12:08:39 +01:00
ppc64-linux-user.mak
ppc64-softmmu.mak spapr: Add NVDIMM device support 2020-02-21 09:15:04 +11:00
ppc64abi32-linux-user.mak
ppc64le-linux-user.mak
riscv32-linux-user.mak
riscv32-softmmu.mak riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives 2019-03-07 21:46:19 +01:00
riscv64-linux-user.mak
riscv64-softmmu.mak riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives 2019-03-07 21:46:19 +01:00
s390x-linux-user.mak
s390x-softmmu.mak s390x: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
sh4-linux-user.mak
sh4-softmmu.mak sh4-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
sh4eb-linux-user.mak
sh4eb-softmmu.mak sh4-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
sparc-bsd-user.mak
sparc-linux-user.mak
sparc-softmmu.mak sparc-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
sparc32plus-linux-user.mak
sparc64-bsd-user.mak
sparc64-linux-user.mak
sparc64-softmmu.mak sparc64-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
tilegx-linux-user.mak
tricore-softmmu.mak hw/tricore/Makefile.objs: Create CONFIG_* for tricore 2019-02-05 16:50:21 +01:00
unicore32-softmmu.mak unicore32-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00
x86_64-bsd-user.mak
x86_64-linux-user.mak
x86_64-softmmu.mak
xtensa-linux-user.mak
xtensa-softmmu.mak hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtensaeb-linux-user.mak
xtensaeb-softmmu.mak xtensa-softmmu.mak: express dependencies with Kconfig 2019-03-07 21:46:19 +01:00