• Toshi Kani's avatar
    ia64: Set System RAM type and descriptor · 03cb525e
    Toshi Kani authored
    Change efi_initialize_iomem_resources() to set 'flags' and
    'desc' for EFI memory types. IORESOURCE_SYSRAM, a modifier bit,
    is set for System RAM as IORESOURCE_MEM is already set.
    IORESOURCE_SYSTEM_RAM is defined as
    (IORESOURCE_MEM|IORESOURCE_SYSRAM). I/O resource descriptor is
    set for "ACPI Non-volatile Storage" and "Persistent Memory".
    
    Also set IORESOURCE_SYSTEM_RAM for "Kernel code", "Kernel data",
    and "Kernel bss".
    Signed-off-by: default avatarToshi Kani <toshi.kani@hpe.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Acked-by: default avatarTony Luck <tony.luck@intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Luis R. Rodriguez <mcgrof@suse.com>
    Cc: Matt Fleming <matt@codeblueprint.co.uk>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Toshi Kani <toshi.kani@hp.com>
    Cc: linux-arch@vger.kernel.org
    Cc: linux-efi <linux-efi@vger.kernel.org>
    Cc: linux-ia64@vger.kernel.org
    Cc: linux-mm <linux-mm@kvack.org>
    Link: http://lkml.kernel.org/r/1453841853-11383-6-git-send-email-bp@alien8.deSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    03cb525e
setup.c 28.6 KB