Re: [PATCH V3 4/4] acpi, apei: use EFI memmap to map GHES memory

From: Borislav Petkov
Date: Sat Jun 13 2015 - 04:28:02 EST


On Fri, Jun 12, 2015 at 04:44:25PM -0700, Zhang, Jonathan Zhixiong wrote:
> Since such function is only needed for APEI functionality, at least as
> of today, I will name it arch_apei_get_mem_attribute().

Why?

It can be extended to be used generically too, no? Come to think of it,
the different arches should already have a way to tell you with what mem
attributes a physical address is mapped, no?

IOW, such functionality should be already present, you'd only have to
find it and use it.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/