Building a kernel with the storage-class memory device driver
![]()
Control the build options for the storage-class memory device driver through the kernel configuration menu.
Kernel builders: This information is intended for those who want to
build their own kernel. Be aware that both compiling your own kernel or recompiling an existing
distribution usually means that you have to maintain your kernel yourself.
Figure 1 summarizes the kernel configuration menu options that are relevant to the storage-class memory device driver:
I/O subsystem --->
...
SCM bus driver (CONFIG_SCM_BUS)
└─ Support for EADM subchannels (CONFIG_EADM_SCH)
...
Device Drivers --->
...
Block devices ---> (common code option CONFIG_BLK_DEV)
...
Support for Storage Class Memory (CONFIG_SCM_BLOCK)
- CONFIG_SCM_BUS
- is required to enable the storage-class memory bus device driver.
- CONFIG_EADM_SCH
- is required to enable support for EADM subchannels. Can be compiled into the kernel or as a separate module, eadm_sch.
- CONFIG_SCM_BLOCK
- is required to enable support for storage-class memory block devices. Can be compiled into the kernel or as a separate module, scm_block.