Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323892
| From | Laszlo Ersek <lersek@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 13/14] efi: Add Persistent Memory type name |
| Date | 2016-02-02 10:00 +0100 |
| Message-ID | <qXEYy-8na-7@gated-at.bofh.it> (permalink) |
| References | <qXuPx-WW-3@gated-at.bofh.it> <qXuPx-WW-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 02/01/16 23:07, Matt Fleming wrote:
> From: Robert Elliott <elliott@hpe.com>
>
> Add the "Persistent Memory" string for type 14 introduced in
> UEFI 2.5. This is used when printing the UEFI memory map.
>
> old:
> efi: mem61: [type=14 | | | | | | | |WB|WT|WC|UC] range=[0x0000000880000000-0x0000000c7fffffff) (16384MB)
>
> new:
> efi: mem61: [Persistent Memory | | | | | | | |WB|WT|WC|UC] range=[0x0000000880000000-0x0000000c7fffffff) (16384MB)
>
> Signed-off-by: Robert Elliott <elliott@hpe.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Taku Izumi <izumi.taku@jp.fujitsu.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
> ---
> drivers/firmware/efi/efi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
> index 9c8c0747c8cd..05a3d69250d4 100644
> --- a/drivers/firmware/efi/efi.c
> +++ b/drivers/firmware/efi/efi.c
> @@ -553,7 +553,8 @@ static __initdata char memory_type_name[][20] = {
> "ACPI Memory NVS",
> "Memory Mapped I/O",
> "MMIO Port Space",
> - "PAL Code"
> + "PAL Code",
> + "Persistent Memory"
> };
>
> char * __init efi_md_typeattr_format(char *buf, size_t size,
>
To minimize future churn, I suggest to add a trailing comma character:
"Persistent Memory",
With or without that changed:
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 13/14] efi: Add Persistent Memory type name Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-01 23:10 +0100 Re: [PATCH 13/14] efi: Add Persistent Memory type name Laszlo Ersek <lersek@redhat.com> - 2016-02-02 10:00 +0100 [tip:efi/core] efi: Add Persistent Memory type name tip-bot for Robert Elliott <tipbot@zytor.com> - 2016-02-03 12:40 +0100
csiph-web