kexec, x86: Need a new e820 type support for kexec

Toshi Kani toshi.kani at hp.com
Fri Jul 24 07:37:19 PDT 2015


On Fri, 2015-07-24 at 13:31 +0800, Baoquan He wrote:
> On 07/23/15 at 06:26pm, Toshi Kani wrote:
> > Hello,
> > 
> > ACPI 6.0 defines a new type in e820, AddressRangePersistentMemory (7), 
> > for
> > NVDIMM.  On a system with NVDIMM, kexec displays the following error
> > message and sets it to RANGE_RESERVED as the fallback type.
> > 
> > Unknown type (Persistent Memory) while parsing
> > /sys/firmware/memmap/34/type. Please report this as bug. Using
> > RANGE_RESERVED now.
> > 
> > This new type is defined in "arch/x86/include/uapi/asm/e820.h" in 4.2
> > -rc1
> > as follows. 
> > 
> >   #define E820_PMEM       7
> 
> It need be added in struct e820entry:include/x86/x86-linux.h and
> memory_range:kexec/kexec.h and their related handling. Could you give
> more details about this memory type? I downloaded a ACPI 6.0 spec but
> am not familiar with this.

Oh, I see.  It has a locally defined header.  The e820 types are defined in
Table 15-312, page 683, of ACPI 6.0.

Thanks,
-Toshi




More information about the kexec mailing list