qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v8 0/5] implement vNVDIMM


From: Xiao Guangrong
Subject: Re: [Qemu-devel] [PATCH v8 0/5] implement vNVDIMM
Date: Sat, 5 Dec 2015 12:29:52 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0



On 12/05/2015 12:38 AM, Vladimir Sementsov-Ogievskiy wrote:
On 16.11.2015 13:50, Xiao Guangrong wrote:
NVDIMM (A Non-Volatile Dual In-line Memory Module) is going to be supported
on Intel's platform.

Hi.

One question: do this mean, that your qemu emulated nvidimm - pmem solution 
will work only on Intel
host?

Currently, it is only enabled in x86 emulator, however, it can be easily 
enabled on
other platform which supports acpi.

BTW, you also need to check the linux kernel driver, nfit.ko, which is 
currently only
working on x86 IIUC:
config ACPI_NFIT
        tristate "ACPI NVDIMM Firmware Interface Table (NFIT)"
        depends on PHYS_ADDR_T_64BIT
        depends on BLK_DEV
        depends on ARCH_HAS_MMIO_FLUSH
        select LIBNVDIMM
        help
          Infrastructure to probe ACPI 6 compliant platforms for
          NVDIMMs (NFIT) and register a libnvdimm device tree.  In
          addition to storage devices this also enables libnvdimm to pass
          ACPI._DSM messages for platform/dimm configuration.

          To compile this driver as a module, choose M here:
          the module will be called nfit.

$ git grep ARCH_HAS_MMIO_FLUSH
arch/x86/Kconfig:       select ARCH_HAS_MMIO_FLUSH
drivers/acpi/Kconfig:   depends on ARCH_HAS_MMIO_FLUSH
lib/Kconfig:config ARCH_HAS_MMIO_FLUSH

You should check  ARCH_HAS_MMIO_FLUSH on your platform.

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]