Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269085

Re: [PATCH 6/6] Documentation/x86: Update EFI memory region description

From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 6/6] Documentation/x86: Update EFI memory region description
Date 2015-11-13 17:50 +0100
Message-ID <qupHZ-qL-29@gated-at.bofh.it> (permalink)
References <qu2il-2in-3@gated-at.bofh.it> <qu2im-2in-7@gated-at.bofh.it> <quiQ9-4yT-1@gated-at.bofh.it> <quiQa-4yT-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Nov 13, 2015 at 1:29 AM, Matt Fleming <matt@codeblueprint.co.uk> wrote:
> On Fri, 13 Nov, at 10:22:10AM, Ingo Molnar wrote:
>
> You've snipped the patch hunk that gives the address range used,

I'm actually wondering if we should strive to make the UEFI stuff more
like a user process, and just map the UEFI mappings in low memory in
that magic UEFI address space.

We won't be able to run those things *as* user space, since I assume
the code will want to do a lot of kernely things, but shouldn't we aim
to make it look as much like that as possible? Maybe some day we could
even strive to run it in some controlled environment (ie user space
with fixups, virtual machine, whatever), but even if we never get
there it sounds like a potentially good idea to try to set up the
mappings to move in that direction..

No big hurry, and maybe there are good reasons not to go that way. The
first step is indeed just to get rid of the WX mappings in the normal
kernel page tables.

               Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 6/6] Documentation/x86: Update EFI memory region description Matt Fleming <matt@codeblueprint.co.uk> - 2015-11-12 16:50 +0100
  Re: [PATCH 6/6] Documentation/x86: Update EFI memory region  description Borislav Petkov <bp@alien8.de> - 2015-11-12 19:40 +0100
  Re: [PATCH 6/6] Documentation/x86: Update EFI memory region  description Ingo Molnar <mingo@kernel.org> - 2015-11-13 10:30 +0100
    Re: [PATCH 6/6] Documentation/x86: Update EFI memory region  description Matt Fleming <matt@codeblueprint.co.uk> - 2015-11-13 10:30 +0100
      Re: [PATCH 6/6] Documentation/x86: Update EFI memory region description Linus Torvalds <torvalds@linux-foundation.org> - 2015-11-13 17:50 +0100
        Re: [PATCH 6/6] Documentation/x86: Update EFI memory region  description Matt Fleming <matt@codeblueprint.co.uk> - 2015-11-13 23:30 +0100

csiph-web