Re: [PATCH 2/3] x86: Add UV memory protection bios call

From: Ingo Molnar
Date: Wed Oct 22 2008 - 02:23:04 EST



* Russ Anderson <rja@xxxxxxx> wrote:

> Add UV bios call to change memory protections.
>
> Signed-off-by: Russ Anderson <rja@xxxxxxx>
>
> ---
> arch/x86/kernel/bios_uv.c | 8 ++++++++
> include/asm-x86/uv/bios.h | 10 +++++++++-
> 2 files changed, 17 insertions(+), 1 deletion(-)

> - UV_BIOS_WATCHLIST_FREE
> + UV_BIOS_WATCHLIST_FREE,
> + UV_BIOS_MEMPROTECT

> +enum uv_memprotect {
> + UV_MEMPROT_RESTRICT_ACCESS,
> + UV_MEMPROT_ALLOW_AMO,
> + UV_MEMPROT_ALLOW_RW

hm, what does this do? Does it twiddle the southbridge to protect given
physical RAM rages from the CPU altogether?

Ingo
--
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/